{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

JavaScript - Part 1 - CIS 4004 Web Based Information...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS 4004: JavaScript – Part 1 Page 1 © Dr. Mark Llewellyn CIS 4004: Web Based Information Technology Spring 2011 Introduction To JavaScript – Part 1 Department of Electrical Engineering and Computer Science University of Central Florida Instructor : Dr. Mark Llewellyn [email protected] HEC 236, 407-823-2790 http://www.cs.ucf.edu/courses/cis4004/spr2011
Image of page 1

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

View Full Document Right Arrow Icon
CIS 4004: JavaScript – Part 1 Page 2 © Dr. Mark Llewellyn Before we go any further let’s get one thing very clear: JavaScript is not Java! JavaScript is a scripting language. (XHTML is a mark-up language.) JavaScript was originally developed by Brendan Eich of Netscape under the name Mocha , later renamed to LiveScript . The change of name from LiveScript to JavaScript occurred in a co-marketing deal between Netscape and Sun in exchange for Netscape bundling Sun’s Java runtime environment with their browser, which was the dominate browser at the time. The key design principles in JavaScript are inherited from the Self programming language, although JavaScript copies many of the names and naming conventions of Java and shares a common C-like syntax with Java. To avoid trademark issues, Microsoft named its dialect of the language Jscript. Netscape submitted JavaScript to ECMA International (European Computer Manufacturer’s Association) for standardization resulting in the standardized version named ECMAScript. Using JavaScript, you can incorporate techniques and effects that will make your Web pages come alive for the visitor allowing them a great deal of interaction with your site. We’ll examine many aspects of JavaScript as we go along, but first some background material. Introduction to JavaScript
Image of page 2
CIS 4004: JavaScript – Part 1 Page 3 © Dr. Mark Llewellyn Server-side scripts are programs that reside on a Web server and are executed on behalf of a client (in response to their requests typically from elements in Web pages). For example, in a future assignment you will be utilizing a server-side script (written in PHP which is also a server-side scripting language) to process the contents of your XHTML form. Server-side and Client-side Programming BROWSER Client Webserver 1. Form data sent to program on server for processing. 1. Results sent back to the client for display.
Image of page 3

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

View Full Document Right Arrow Icon
CIS 4004: JavaScript – Part 1 Page 4 © Dr. Mark Llewellyn Client-side scripts are programs that reside on the client’s machine (they are downloaded to your machine as part of the Web browser’s cache memory) and are executed on behalf of the client’s request.
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern