... 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 requests ... the same. ○ Add bits of code that generate the parts that are computed for each page. ○ The template is expanded by executing code snippets, substituting the results into the document. ● Benefits ... model is a table row ● Web application's model data needs are specified by the view designers But need to be persisted by the database ● Conflict: Database Schemas don't like changing frequently...
Ngày tải lên: 29/10/2022, 06:53
... Trang 1The Web and E-mailChapter 7 Trang 27 Chapter Contents Section A: Web Technology Section B: Search Engines Section C: E-commerce Section D: E-mail Section E: Web and E-mail Security ... HTML-compliant e-mail software Additional e-mail features Trang 347 E-Mail OverviewTrang 357 Netiquette Internet etiquette – Meaningful subject– Use uppercase and lowercase letters– Check spelling – Be ... handles links between pages Every Web page has a unique address called a URL Trang 77 HTMLTrang 87 HTTPHTTP messages flow between a browser and a Web server. Trang 97 Web Browsers Help you...
Ngày tải lên: 06/03/2014, 09:21
Web technologies and e-services: Lecture 1 - Dr. Thanh Chung Dao
... modified on the server § Expires : date and time after which the client’s copy of the resource will be out-of-date § ETag : a unique identifier for this version of the requested resource (changes ... clickable interface helped make hypertext accessible to the masses § made the integration of multimedia (images, video, sound, …) much easier § Andreessen left NCSA to found Netscape in 1994 cheap/free ... Content-Length § Date : date and time at which response was generated (required) § Location : alternate URI if status is redirection § Last-Modified : date and time the requested resource was...
Ngày tải lên: 29/10/2022, 06:33
Web technologies and e-services: Lecture 2.1 - Dr. Thanh Chung Dao
... where URL is the Web address of the page to be displayed when the user clicks on the link if the page is accessed over the Web, must start with http:// if not there, the browser will assume ... are rendered as you intend them to look and operate as you desire • why are we learning low-level HTML using a basic text editor? 5 Tags and Elements • HTML specifies a set of tags that identify ... browser) o Other embedded objects <head> and <body> elements Trang 5Text Layoutfor the most part, layout of the text is left to the browser § (almost) every sequence of whitespace ...
Ngày tải lên: 29/10/2022, 06:34
Web technologies and e-services: Lecture 2.2 - Dr. Thanh Chung Dao
... time • For example, a companies finances over time could be represented as a table and a graph. • These are just two different views of the same data § When the model is updated, all Views are ... informed and given a chance to update themselves Trang 13MVC – The Controller§ It interprets mouse movement, clicks, keystrokes, etc § Communicates those activities to the model – eg: delete row, ... Client Tier (Presentation Layer) • Provides interface and processing Presentation Layer Business Logic Layer Data Access Layer 7 3-Tier Architecture Advantages § Centralized Database can be accessed...
Ngày tải lên: 29/10/2022, 06:36
Web technologies and e-services: Lecture 2.3 - Dr. Thanh Chung Dao
... to be executed if expression = label1; break; case label2: code to be executed if expression = label2; break; default: code to be executed if expression is different from both label1 and label2; ... made between HTML pages and code. • Other server-side alternatives try to avoid the drawbacks § Server-Side Includes (SSI): Code is embedded in HTML pages, and evaluated on the server while ... a server-side language § PHP code is embedded in HTML using tags § when a page request arrives, the server recognizes PHP content via the file extension ( php or phtml ) § the server executes...
Ngày tải lên: 29/10/2022, 06:37
Web technologies and e-services: Lecture 3.1 - Dr. Thanh Chung Dao
... </html> recall the dynamic dice page could define a function for generating random numbers in a range, then use whenever needed easier to remember, promotes reuse view page 13 JavaScript Libraries ... model: don't need compiler or development environment § saves bandwidth: source code is downloaded, not compiled executable § platform-independence: code interpreted by any script-enabled browser ... names are case-sensitive you don't have to declare variables, will be created the first time used, but it’s better if you use var statements var message, pi=3.14159; variables are loosely typed,...
Ngày tải lên: 29/10/2022, 06:38
Web technologies and e-services: Lecture 3.2 - Dr. Thanh Chung Dao
... and write data whenever requested Trang 9PHP sessions• By default, HTML and web servers don’t keep track of information entered on a page when the client’s browser opens another page Thus, doing ... track of users’ sessions by using a session identifier, which is generated by the server when a session starts and is then used by the browser when it requests a page from the server This session ... names In the future (in new versions of PHP), it’s possible that further methods might be defined that begin with a double underscore • Other reserved method names include sleep() and wakeup()...
Ngày tải lên: 29/10/2022, 06:40
Web technologies and e-services: Lecture 4.1 - Dr. Thanh Chung Dao
... be created or deleted: • CREATE TABLE - creates a new database table • ALTER TABLE - alters (changes) a database table • DROP TABLE - deletes a database table • CREATE INDEX - creates an index ... students ; deletes the entire “students” table, and its definition (use the DROP command with extreme care!!) • DELETE FROM students ; removes all rows from the “students” table (so once again, ... rows in set (0.00 sec) Note that the default date format is “YYYY-MM-DD” and I don’t believe this default setting can be changed. 15 Deleting Some Data The DELETE statement is used to delete rows...
Ngày tải lên: 29/10/2022, 06:41
Web technologies and e-services: Lecture 4.2 - Dr. Thanh Chung Dao
... tables in the back-send database u Views: These are responsible for rendering of the web pages, i.e., how is the data presented in user’s browser u Controllers: Controllers are basically event handlers ... event handlers that process incoming user requests Based on a user request, they can update the data model, and create a new view to be presented to the user 15 Why use an MVC framework? uMaintainability ... between them – whenever model changes it notifies the views that depend on it – in response each view gets an opportunity to update itself u This architecture allows you to attach multiple...
Ngày tải lên: 29/10/2022, 06:43
Web technologies and e-services: Lecture 5 - Dr. Thanh Chung Dao
... produced by TreeOutline(): Trang 19</message> Node is created for message element: – message element has child element: body. – body element has Text “Hello!" – Attributes: from and to ... type (e.g., element, attribute, text, etc.) getNodeValue Returns the node’s value getParentNode Returns the node’s parent hasChildNodes Returns true if the node has child nodes removeChild ... mouseover, etc.) § target: Node corresponding to document element that generated the event (e.g., button element for click, img for mouseover) This is the event target 61 61 DOM Event Handling...
Ngày tải lên: 29/10/2022, 06:44
Web technologies and e-services: Lecture 6 - Dr. Thanh Chung Dao
... Costs uOne style sheet called and cached uCSS require less code – Higher Search Engine Rankings uCleaner code is easier for search engines to index uGreater density of indexable content 7 1.2 ... document-wide style sheet for the document by using the style element u External style – Link an external style sheet to the document using the link element or – Import a style sheet using the ... affect any document they are attached to – embedded in the head of the document – embedded styles affect only the tags on the page they are embedded in – written directly in the tag on the document...
Ngày tải lên: 29/10/2022, 06:47
Web technologies and e-services: Lecture 7.1 - Dr. Thanh Chung Dao
... Request/Response As REST Trang 8REST style15 A web page is a resource? somewhere representation of the concept from the representations the server makes available Trang 9from client to server ... over Internet – Uses XML documents called messages – SOAP message contains an envelope – Describes message’s content and intended recipient – Ability to make a Remote Procedure Call (RPC) – Request ... PUT, DELETE – Interacting with stateful resources, rather than messages or operations Trang 2RPC Web Servicescoupled 3 SOAP Web Services major vendors, loose coupling Envelope Body Message Payload...
Ngày tải lên: 29/10/2022, 06:49
Web technologies and e-services: Lecture 7.2 - Dr. Thanh Chung Dao
... returned by the server • statusText HTTP status phrase returned by the server We use the readyStateto determine when the request has been completed, and then check the statusto see if it executed ... handle the response received from the server Some properties will be updated to hold status information about whether the request finished successfully • The methods are used to send the request ... the “catch” section is used to intervene before the error crashes the JavaScript (either to indicate an error has happened, or to attempt something else) • To create one of these objects we...
Ngày tải lên: 29/10/2022, 06:50
Web technologies and e-services: Lecture 8 - Dr. Thanh Chung Dao
... Dao Thanh ChungDepartment of Information SystemsSchool of Information and Communication TechnologyHanoi University of Science and Technology IT4409: Web Technologies and e-Services 2020-2 XML, ... Cú pháp : <!ELEMENT Ten_the (Ten_the_1, Ten_the_2, ….) > Ý nghĩa : The_1, The_2, , The_k phải xuất hiện một lần duy nhất theo đúng thứ tự trên Ví dụ: <!ELEMENT DON_THUC(He_so, So_mu) ... < /p:table > < s:table width=”100%” height=”80%”> <s:tr> Trang 23Cú pháp khai báo namespace và thuộc tính xmlns: <nameSpacePrefix:elementName xmlns:nameSpacePrefix = “URI”>...
Ngày tải lên: 29/10/2022, 06:52
Đề tài: CÁCH MẠNG KHOA HỌC - CÔNG NGHỆ - VẤN ĐỀ CÓ TÍNH CHẤT THỜI ĐẠI pptx
... đề quan trọng Đề tài em chia làm ba phần: I Lời mở đầu II Phần nội dung III Phần kết luận Do phạm vi đề tài rộng mà tầm hiểu biết em hạn chế nên không tránh khỏi thiếu sót Em mong đóng góp chân ... sống KHKT đại Công nghệ sinh học nghiên cứu phát triển chủ yếu gen, dung học tế bào, môi tế bào, phản ứng sinh vật công nghệ gây men Công nghệ sinh học giai đoạn đầu có bước tiến, bắt đầu có tác ... cách mạng văn hoá tư tưởng Các mặt nói phải đồng thời tiến hành, xem nhẹ mặt nào, song phải tập trung sức đẩy mạng cách mạng KHKT then chốt, nhằm bước trang bị khí nửa khí cho ngành kinh tế quốc...
Ngày tải lên: 14/08/2014, 20:21
Những thành tựa chủ yếu và ý nghĩa của cuộc cách mạng khoa học công nghệ
... Polyamide 1947: T Alfrey C Gia đề xuất lý thuyết về chuỗi 1953: K Ziegler polymer hóa ethylene dưới áp suất thấp Ethylene Polyurethan 1954: G Natta phát hiện polypropene isotactic 1956: ... monocrystals polymer Copolymer khối 1970-1980: Phát triển về quy mô khái niệm của chuỗi polymer trạng thái nóng chảy bởi PG de Gennes, Maine et-Loire Các polyamit thermal được 1974: ... nitrat, của bakelit phenolfomanđehit Bakelit - Chất hoá dẻo: để tăng tính dẻo cho polime, hạ nhiệt độ chảy độ nhớt của polime Ví dụ đibutylphtalate,… Chất hoá dẻo Phthalate - Chất độn:...
Ngày tải lên: 05/06/2015, 16:36
Bài 1: Sự tương phản về trình độ phát triển kinh tế - xã hội của các nhóm nước. Cuộc cách mạng khoa học, công nghệ hiện đại
... triển Thấp (=1/57 mức TB TG) Bảng 1.2 Cơ cấu GDP phân theo khu vực kinh tế nhóm nước – năm 2004 (Đơn vị: %) Nhóm nước Cơ cấu GDP phân theo khu vực kinh tế Khu vực I Khu vực II Khu vực III Phát ... chênh lệch GDP/người nước phát triển phát triển Nhóm 2: Dựa vào bảng 1.2, nhận xét cấu GDP phân theo khu vực kinh tế nhóm nước năm 2004 Nhóm 3: Dựa vào hộp thông tin bảng 1.3, nhận xét khác biệt ... trung bình nhóm nước phát triển nhóm nước phát triển Bảng 1.1 GDP/người số nước giới – năm 2004, theo giá thực tế (Đơn vị: USD) Các nước phát triển Tên nước Đan Mạch Thụy Điển Anh Ca-na-đa Niu Di-lân...
Ngày tải lên: 27/06/2015, 21:00
Bài 2: Cuộc cách mạng khoa học công nghệ: Nền kinh tế tri thức
... giữ thông tin Bảng 2.1 Số người sử dụng Internet giới (đơn vị: triệu người) Năm Số người 1993 2000 2006 540 1100 Nhận xét: Số người sử dụng Internet năm 2006 so với năm 1993,2000 so với số dân ... 6500 triệu người) Nhận xét : -Số người dử dụng Internet năm 2006 1,1 tỉ người gấp lần năm 2000 ,gấp 1100 lần năm 1993 -Tỷ lệ số người sử dụng Internet so với dân số toàn giới : +Năm 2000 :540/6077 ... nhiều kiến thức c) Làm thay đổi cấu lao động d) Làm phát triển nhanh chóng mậu dịch quốc tế e) Tất Đáp án : e Câu 4: Các dịch vụ cần nhiều kiến thức: a) Bảo hiểm, viễn thông, ngân hàng tài b) Kế toán,...
Ngày tải lên: 05/07/2013, 01:26
Bai 10 - cuoc cach mang khoa hoc - cong nghe sau chien tranh the gioi thu hai
... đời phương pháp sinh sản vơ tính -Tháng 6/2000 Tiến sĩ Cơlin (người Mĩ) cơng bố đồ gen người -Tháng 4/2003 đồ gen người Được hồn chỉnh 2/CƠNG CỤ SẢN XUẤT MỚI: -Máy tính điện tử -Máy tự động hệ ... còng t¹o nh÷ng tiỊn ®Ị vµ thóc ®Èy sù bïng nỉ cđa c¸ch m¹ng khoa häc – c«ng nghƯ lÇn nµy §Ỉc ®iĨm Em h·y cho biÕt dỈc ®iĨm cđa cc c¸ch - §Ỉc ®iĨm lín nhÊt lµm¹ng khoakü tht c«ng khoa häc häc – trë ... 2/CƠNG CỤ SẢN XUẤT MỚI: 3/NGUỒN NĂNG LƯỢNG MỚI 4/NHỮNG VẬT LIỆU MỚI Nhằm đáp ứng u cầu - Chất pơ-li-me (chất dẻo) Khoa học-kĩ thuật phát triển sản xuất số vật liệu khơng ngừng gia tăng : từ 250 000...
Ngày tải lên: 30/09/2013, 01:10