Dynamic Web Pages Jin Wu INF 385E Information Architecture School of Information 11/2/2006 Jin Wu INF 385E Information Architecture School of Information 11/2/2006
Overview Background Java Script (definition, usage, application, pros & cons) Flash (definition, usage, application, pros & cons) Conclusion Resources & References Questions Background Java Script (definition, usage, application, pros & cons) Flash (definition, usage, application, pros & cons) Conclusion Resources & References Questions
Background Definition (custom content based) Invented and patented in 1994 Client-side dynamic content (user’s computer) Server-side dynamic content (server) Definition (custom content based) Invented and patented in 1994 Client-side dynamic content (user’s computer) Server-side dynamic content (server)
JavaScript
Background Developed by Brendan Eich of Netscape Corporation in 1995 Java and JavaScript Created for non-programmer Simple to comprehend, easy to use for non-programmer Developed by Brendan Eich of Netscape Corporation in 1995 Java and JavaScript Created for non-programmer Simple to comprehend, easy to use for non-programmer
What is JavaScript? Scripting language Consists of executable computer code Embedded directly into HTML code Adds interactivity to HTML pages Everyone can use Scripting language Consists of executable computer code Embedded directly into HTML code Adds interactivity to HTML pages Everyone can use
JavaScript Usage Gives designers a programming tool Puts dynamic text into an HTML page Reacts to events Reads and writes HTML elements Validates data Detects the visitor’s browser Creates cookies Gives designers a programming tool Puts dynamic text into an HTML page Reacts to events Reads and writes HTML elements Validates data Detects the visitor’s browser Creates cookies
JavaScript Application JavaScript Alert JavaScript MouseOver Effect JavaScript Cookie JavaScript Pull Down Menu JavaScript Automatic Pop-up window … … JavaScript Alert JavaScript MouseOver Effect JavaScript Cookie JavaScript Pull Down Menu JavaScript Automatic Pop-up window … …
Sample Script
Pros Speed Simplicity Versatility Server load Speed Simplicity Versatility Server load Cons Security Reliance on end user.
Flash
Background Created by Macromedia in 1996, current Flash Version 8.0 Combines text, pictures, audio and video.swf and.fla format Software: Adobe Flash, Swift 3D, Koolmoves, Flash Optimizer … Created by Macromedia in 1996, current Flash Version 8.0 Combines text, pictures, audio and video.swf and.fla format Software: Adobe Flash, Swift 3D, Koolmoves, Flash Optimizer …
What is Flash? Multimedia graphic program Create interactive animation on the Web Use vector graphics Easy to learn Multimedia graphic program Create interactive animation on the Web Use vector graphics Easy to learn
Flash Application Flash Website Flash Navigation Photo Gallery Flash Game Flash Advertisement … Flash Website Flash Navigation Photo Gallery Flash Game Flash Advertisement …
Embedded with HTM
Pros Catchy Widely used. Supports audio, animation and advanced interactivity Integrates well with other Web technologies No programming skill required Catchy Widely used. Supports audio, animation and advanced interactivity Integrates well with other Web technologies No programming skill required
Cons Increases file size Usability Constrains Search engine constrains Encourages design abuse Distracts from a site’s core values Increases file size Usability Constrains Search engine constrains Encourages design abuse Distracts from a site’s core values
Conclusion Content is important Make the website usable and useful Not the be-all end-all of the internet Just because you can do it, doesn’t mean you should do it. Content is important Make the website usable and useful Not the be-all end-all of the internet Just because you can do it, doesn’t mean you should do it.
Resources JavaScript Tutorial JavaScript Example Flash Tutorial Flash Example JavaScript Tutorial JavaScript Example Flash Tutorial Flash Example
References
cons.html cons.html n/wpn FlashWebDesignProsandCons.html n/wpn FlashWebDesignProsandCons.html features/flashproscons.htm features/flashproscons.htm cons.html cons.html n/wpn FlashWebDesignProsandCons.html n/wpn FlashWebDesignProsandCons.html features/flashproscons.htm features/flashproscons.htm
Questions?
Thank you!