2) Lecture 2 - WXGE6320: Web Development Introduction to...

Info iconThis preview shows pages 1–16. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: WXGE6320: Web Development Introduction to Web Development & Scripting XHTML Simple View of Web Development Simple View of Client Side Web Development Simple View of Server-Side Web Development The Inherent Trade-offs Client-side No control end user environments vary greatly and then can do what they want to your markup and code Security! Security! Security! Speed Responsive interface since no network round-trip Off load server from duties it shouldnt need to perform Server-side Control is yours you choose the technology and approach The secrets hopefully should be safe Speed and scalability could be a problem as you round-trip all the time and you find your systems are hung in network wait states all the time Not a versus Isssue You need both CS AND SS, it is just a question of what makes sense where Client-side tends to be good for interface concerns Validation, UI, etc. Server-side tends to be good for data concerns Submission and storage of sensitive data in particular encouraged to balance CS and SS differently depending on user needs, internal conditions, developer familiarity or simply time. Web Programming in Context Web Programming Toolbox XHTML eXtensible HTML HTML (Hypertext Markup Language) Please refer to html.pdf for an overview on HTML 4.1 Introduction Extensible HyperText Markup Language XHTML A markup language Separation of the presentation of a document from the structure of the documents information Based on HTML Technology of the World Wide Web Consortium (W3C) Question to think? (Q1, Tutorial 1 What is a markup language? Where it is from, how it evolves, and what are the benefits it can offer? 4.2 Editing XHTML XHTML documents Source-code form Text editor (e.g. Notepad, Wordpad, emacs, etc.) .html or .htm file-name extension Web server Stores XHTML documents Web browser Requests XHTML documents 4.3 First XHTML Example XHTML comments Start with <!-- and end with --> html element head element Head section Title of the document Style sheets and scripts body element Body section Pages content the browser displays Start tag attributes (provide additional information about an element) name and value (separated by an equal sign) End tag E.g. <?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <!-- Fig. 5.11: index2.html --> <!-- XHTML Frames II --> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>Internet and WWW How to Program - Main</title> </head> <frameset cols = "110,*"> <frame name = "leftframe" src = "nav.html" /> <!-- nested framesets are used to change the --> <!-- formatting and layout of the frameset --> <frameset rows = "175,*"> <frame name = "picture" src = "picture.html" /> <frame name = "main" src = "main.html" /> </frameset>...
View Full Document

This note was uploaded on 02/06/2012 for the course FACULTY OF WXGE6320 taught by Professor Noraini during the Winter '09 term at University of Malaya.

Page1 / 86

2) Lecture 2 - WXGE6320: Web Development Introduction to...

This preview shows document pages 1 - 16. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online