1 / 6

JAVASCRIPT

JAVASCRIPT. Pam Kahl | COM 585 | Spring 2010. What It Is. JavaScript is: Considered the scripting language for the web Client-side scripting language for web pages Is to the browser what ASP and PHP are to servers Relatively easy to use Underlying functionality for HTML-based programs

clarke
Télécharger la présentation

JAVASCRIPT

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JAVASCRIPT Pam Kahl | COM 585 | Spring 2010

  2. What It Is • JavaScript is: • Considered the scripting language for the web • Client-side scripting language for web pages • Is to the browser what ASP and PHP are to servers • Relatively easy to use • Underlying functionality for HTML-based programs • Adobe Reader • Adobe Dreamweaver CS3 • Dialect of ECMAScript • JavaScript, Jscript, ActionScript • Not Java

  3. History • Developed by Brendan Eich @ Netscape • Mocha! • no wait . . . LiveScript! • no really . . . JavaScript! • Launched Dec 1995, NS v2.0 • Marketing partnership with Sun • Renaissance thanks to Ajax

  4. What It Does • Basic functionality • Text, pop up boxes, contextual content • Enhances dynamics and interactive features • Calculations • Interactive games • Security passwords • Cookies

  5. Examples <html> <body> <script type="text/javascript"> document.write("Hello World!"); </script> </body> </html> Hello World! = http://www.w3schools.com/js/tryit.asp?filename=tryjs_alert http://www.w3schools.com/js/tryit.asp?filename=tryjs_imagemap http://www.w3schools.com/js/tryit.asp?filename=try_dom_window_resizeto

  6. Why Important • For non-programmers • Enables engaging site functionality • Cookies allow for customized experiences • Easy to update

More Related