Presentation is loading. Please wait.

Presentation is loading. Please wait.

JavaScripts.

Similar presentations


Presentation on theme: "JavaScripts."— Presentation transcript:

1 JavaScripts

2 Web design history HTML code taken in and interpreted by the user’s machine on initial load Static in nature Not “static/dynamic” but singular scan static

3 Immediate Problems No “checking” functionality
Database writing Many pages for multiple menus Example (FGCU Alico Arena) No User OS/Browser Detection

4 Additional HTML Limitations
No access to browser interface No real date/time handling Cannot create or access “Pseudo registry” files (ie: cookies) Cannot verify field input

5 Overall Interactivity
At this point HTML pages are basically electronic Newspapers. Display only.

6 JavaScripts - Basic Definition
Created by Brendan Eich. First implemented by Netscape Navigator 2 Beta in 1995 to make newly added support for Java applets more accessible to non-Java programmers and web designers. Originally known as “LiveScript” called JavaScript for marketing.

7 Basic Info JavaScript programs, or Scripts, are often directly embedded in HTML pages and executed by the browser. Usually accessed as a listed “.js” file.

8 Basic Info Because JavaScript is an interpreted language, it requires no preliminary compilation by the host machine. Thus it runs independent of the code.

9 Basic JavaScript Functions
Control over the browser Background, scrollbars, navigation, status bar User Detection Browser, Operation System Client-side Calculation

10 Basic JavaScript Functions
Verify User input Text fields Handling dates and times Clocks, Calendars, “time of day” handling HTML generation JavaScript menus generated by the host machine.

11 Limitations Direct access to server or client side files
Exception (cookies) Multithreading May be disabled by browser

12 Common Practical Uses JavaScript menus Selection/Search Fields
Cookie generation and access Form validation


Download ppt "JavaScripts."

Similar presentations


Ads by Google