• Bài giảng Web Technologies and e-Services - Bài 7, Phần 1: Web development with JavaBài giảng Web Technologies and e-Services - Bài 7, Phần 1: Web development with Java

    Java Persistence Query Language (JPQL) v A query language that looks like SQL, but for accessing objects v Automatically translated to DB-specific SQL statements v select e from Employee e where e.id = :id § From all the Employee objects, find the one whose id matches the given value v Make RDBMS look like ODBMS v Data are accessed as obj...

    pdf94 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 653 | Lượt tải: 0

  • Bài giảng Web Technologies and e-Services - Bài 6: Web development modelsBài giảng Web Technologies and e-Services - Bài 6: Web development models

    3 Tier Layers vs. MVC •Presentation: •View is the user interface (e.g. button) •Controller is the code (e.g. callback for button) •Data: •Model is the database PresentationSummary § Client-Server Model § 3-Tier Architecture § Dynamic Web Programming Languages § MVC Model

    pdf25 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 642 | Lượt tải: 0

  • Bài giảng Web Technologies and e-Services - Bài 5, Phần 2: Advanced PHPBài giảng Web Technologies and e-Services - Bài 5, Phần 2: Advanced PHP

    More on session variables • You need to include a call to the session_start() function for each page on which you want to access the session variables. • A session will end once you quit the browser (unless you’ve set appropriate cookies that will persist), or you can call the session_destroy() function. • The function session_unset() removes...

    pdf31 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 614 | Lượt tải: 0

  • Bài giảng Web Technologies and e-Services - Bài 5, Phần 1: PHPBài giảng Web Technologies and e-Services - Bài 5, Phần 1: PHP

    Learning Outcomes In the lecture you have learned ▪ What is PHP and what are some of its workings. ▪ Basic PHP syntax • variables, operators, if.else.and switch, while, do while, and for. ▪ Some useful PHP functions ▪ How to work with • HTML forms, cookies, files, time and date. ▪ How to create a basic checker for user-entered data

    pdf28 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 592 | Lượt tải: 0

  • Bài giảng Web Technologies and e-Services - Bài 4: JavascriptBài giảng Web Technologies and e-Services - Bài 4: Javascript

    Global and local variables v A variable is local to a function if § It is a formal parameter of the function § It is declared with var inside the function (e.g. var x = 5) v Otherwise, variables are global v Specifically, a variable is global if § It is declared outside any function (with or without var) § It is declared by assignment inside...

    pdf45 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 793 | Lượt tải: 0

  • Bài giảng Web Technologies and e-Services - Bài 3: CSSBài giảng Web Technologies and e-Services - Bài 3: CSS

    Advanced Colors • We already know that colors can be defined by name, RGB, or hex values • CSS 3 also allows you to paint away with HSL — hue, saturation, and lightness • An HSL color value is specified with: hsl(hue, saturation, lightness). Ø Hue is a degree on the color wheel (from 0 to 360): • 0 (or 360) is red • 120 is green • 240 is blu...

    pdf34 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 721 | Lượt tải: 0

  • Bài giảng Web Technologies and e-Services - Bài 2: HTMLBài giảng Web Technologies and e-Services - Bài 2: HTML

    vHTML 5 specify DOCTYPE as follows: vNew tags introduced in HTML5 for better structure § header − This tag represents the header of a section. § footer − This tag represents a footer for a section and can contain information about the author, copyright information, etc. § nav − This tag represents a section of the document intended for ...

    pdf45 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 686 | Lượt tải: 0

  • Bài giảng Web Technologies and e-Services - Bài 1: IntroductionBài giảng Web Technologies and e-Services - Bài 1: Introduction

    Web Servers • Basic functionality: • Receive HTTP request via TCP • Map host header (domain name) to specific virtual host (one of many host names sharing an IP address) • Map Request-URI to specific resource associated with the virtual host • File: Return file in HTTP response • Program: Run program and return output in HTTP response • Map...

    pdf48 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 592 | Lượt tải: 0

  • Bài giảng Web Technologies and e-ServicesBài giảng Web Technologies and e-Services

    Brief history of Web Applications ● Initially: static HTML files only with HTML forms for input ● Common Gateway Interface (CGI) ○ Certain URLs map to executable programs that generate web page ○ Program exits after Web page complete ○ Introduced the notion of stateless servers: each request independent, no state carried over from previous re...

    pdf323 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 593 | Lượt tải: 0

  • Trắc nghiệm WebTrắc nghiệm Web

    Câu 6: Trạng thái nào của HTTP Response thể hiện có lỗi từ phía Client? A. 2xx B. 3xx C. 4xx D. 5xx Đáp án: C Câu 7: Đâu không phải nút con của nút window trong cây Document? A. plugins B. event C. frames D. navigator Đáp án: A Câu 8: Mã HTML nào duới đây thực hiện căn lề trái cho nội dung 1 ô trong bảng? A. B.

    docx59 trang | Chia sẻ: hachi492 | Ngày: 06/01/2022 | Lượt xem: 844 | Lượt tải: 0