JavaScript By: Louis Roselli & Michael Reynolds. Problem Domain JavaScript is programming code that can be inserted into HTML pages. JavaScript inserted.

Slides:



Advertisements
Similar presentations
JavaScript and AJAX Jonathan Foss University of Warwick
Advertisements

Java Script Session1 INTRODUCTION.
Introduction to JavaScript
HTTP Request/Response Process 1.Enter URL ( in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com.
got ? Research Project – April 1998 Hang Xia, Mark Wang, Richard S. Chang Updated: R Norman, August 1999.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
Lecture Bells and Whistles. Ways to Enhance Websites Java Script and Java Sound and Video Flash XML (Extended Markup Language Database Connectivity Ecommerce.
1 Owais Mohammad Haq Department of Computer Science Eastern Michigan University April, 2005 Java Script.
Kevin Reuter & Brian Guthrie.  Multi-paradigm  Prototype based objects  Dynamic, weak typing.
Multiple Tiers in Action
2012 •••••••••••••••••••••••••••••••••• Summer WorkShop Mostafa Badr
Introduction to JavaScript. Aim To enable you to write you first JavaScript.
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
JavaScript Demo Presented by … Jaisingh Sumit jain Sudhindra Taran Deep arora.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
JavaScript CMPT 281. Outline Introduction to JavaScript Resources What is JavaScript? JavaScript in web pages.
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
4.1 JavaScript Introduction
JavaScript Teppo Räisänen LIIKE/OAMK HTML, CSS, JavaScript HTML defines the structure CSS defines the layout JavaScript is used for scripting It.
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Build a Free Website1 Build A Website For Free 2 ND Edition By Mark Bell.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
JavaScript Tabriz university Its September 1995.
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
Client-Side Scripting JavaScript.  produced by Netscape for use within HTML Web pages.  built into all the major modern browsers. properties  lightweight,
WEB SCIENCE. What is the difference between the Internet and the World Wide Web? Internet is the entire network of connected computers and routers used.
Modern JavaScript Develop And Design Instructor’s Notes Chapter 1 - (Re) Introducing JavaScript Modern JavaScript Design And Develop Copyright © 2012 by.
Introduction.  The scripting language most often used for client-side web development.  Influenced by many programming languages, easier for nonprogrammers.
JavaScript - A Web Script Language Fred Durao
1 JavaScript
JavaScript Syntax, how to use it in a HTML document
Overview of Form and Javascript fundamentals. Brief matching exercise 1. This is the software that allows a user to access and view HTML documents 2.
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
Sahar Mosleh California State University San MarcosPage 1 JavaScript Basic.
© 2000 – All Rights Reserved - Page 1 Introduction to JavaScript Programming Part One.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
“The world’s most misunderstood language has become the world’s most popular programming language” Akshay Arora
1 Javascript CS , Spring What is Javascript ? Browser scripting language  Dynamic page creation  Interactive  Embedded into HTML pages.
JavaScript Dynamic Active Web Pages Client Side Scripting.
Chapter 15 Introducing jQuery Part 1. What is JavaScript? A programming language to add dynamic features to a web page. Client side.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Lesson 30: JavaScript and DHTML Fundamentals. Objectives Define and contrast client-side and server-side technologies used to create dynamic content for.
Beginning JavaScript 4 th Edition. Chapter 1 Introduction to JavaScript and the Web.
Chapter 4 Murach's JavaScript and jQuery, C4© 2012, Mike Murach & Associates, Inc.Slide 1.
JavaScript Katie Fowle November 15, History Brendan Eich at Netscape, 1995 Need for interactivity in web pages Mocha, LiveWire, LiveScript, then.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Web Programming Java Script-Introduction. What is Javascript? JavaScript is a scripting language using for the Web. JavaScript is a programming language.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Introduction to.
JavaScripts.
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
CIS 388 Internet Programming
Week 5 JavaScript Overview JavaScript Examples
Lecture 11. Web Standards Continued
Introduction to JavaScript
JavaScript an introduction.
DWR: Direct Web Remoting
Introduction to JavaScript
JAVASCRIPT Pam Kahl | COM 585 | Spring 2010.
CS105 Introduction to Computer Concepts
Unit 6 part 3 Test Javascript Test.
Secure Web Programming
Information Retrieval and Web Design
Introduction to JavaScript
Presentation transcript:

JavaScript By: Louis Roselli & Michael Reynolds

Problem Domain JavaScript is programming code that can be inserted into HTML pages. JavaScript inserted into HTML pages, can be executed by all modern web browsers. JavaScript support is built right into all the major web browsers, including Internet Explorer, Firefox and Safari.

Historical Context Created in 1994 by Brandon Eich in Netscape. Was implemented in September Named Mocha during development, Livescript during it’s first shipment, and then later renamed JavaScript once it shipped with Netscape.

Language Evolution JavaScript started off in the development stage called Mocha. Mocha was renamed to LiveScript when it first shipped in its beta state with Netscape Navigator 2.0. LiveScript was renamed JavaScript when Netscape added support for Java.

Language Concepts Used mainly for client-side scripting and webpage design. JavaScript is mostly used in conjunction with HTML to write functions embedded within the HTML. JavaScript is a dynamic language with syntax that was heavily influenced by C.

Example of Changing HTML Elements <body> My First Web Page My First Web Page My First Paragraph. My First Paragraph. <script> document.getElementById("demo").innerHTML="My First JavaScript"; </script></body></html>

Example of Alert Box <head><script> function myFunction(){ alert("Hello! I am an alert box!"); } </script></head><body> </body></html>

Comparison to Python JavaScript is very clear, readable syntax JavaScript is embeddable within HTML as a scripting interface Python is a high-level language with a huge standard library. Python is server side. Slower. To make Python Client Side, pyjamas Python -> JS

JavaScript VS. Java JavaScript is lightweight JavaScript is a hybrid – OOP & Scripting JavaScript runs in Browser Java runs in applet or through a JVM.

Other Examples 81% of Websites in 2006 use some form of JavaScript. 92% of Websites today use JavaScript. Frameworks: Prototype, jQuery, Dojo, and more. Apple, CNN, Facebook, Twitter, and more. Future?

Sources / /Java-vs-JavaScript.htm javascript/all/all javascript-framework/