Nick Sims Scripting Languages.

Slides:



Advertisements
Similar presentations
17 HTML, Scripting, and Interactivity Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and.
Advertisements

Chapter 08: Adding Adding Interactivity Interactivity With With Behaviors Behaviors By Bill Bennett Associate Professor MSJC CIS MVC.
The Web Warrior Guide to Web Design Technologies
Languages for Dynamic Web Documents
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
Lecture 3B: Client-Side Scripting IT 202—Internet Applications Based on notes developed by Morgan Benton.
Introduction to scripting
JAVASCRIPT HOW TO PROGRAM -2 DR. JOHN P. ABRAHAM UTPA.
Mr C Johnston ICT Teacher BTEC IT Unit 06 - Lesson 02 Types of Programming Language.
Web Design Scripting and the Web. Books on Scripting.
4.1 JavaScript Introduction
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Advanced Web Design Scripting Tutorial Chapters. Scripting Intro The scripting part of the forthcoming Advanced Web Design textbook introduces you to.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
JSP Java Server Pages Softsmith Infotech.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Patroklos Patroklou George Antoniou Constantinos Kyprianou.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
What is Java Script? An extension to HTML. An extension to HTML. Allows authors to incorporate some functionality in their web pages. (without using CGI.
Computing Theory: HTML Year 11. Lesson Objective You will: o Be able to define what HTML is - ALL o Be able to write HTML code to create your own web.
Lesson13. JavaScript JavaScript is an interpreted language, designed to function within a web browser. It can also be used on the server.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Introduction.  The scripting language most often used for client-side web development.  Influenced by many programming languages, easier for nonprogrammers.
Principles of Software Development 1 Principles Of Software Design and Development Types of language / Choosing a language.
JavaScript Tutorial 1 - Introduction to JavaScript1 Tutorial 1 Introduction to JavaScript Section A – Programming, HTML, and JavaScript.
JavaScript Syntax, how to use it in a HTML document
44238: Dynamic Web-site Development Client Side Programming Ian Perry Room:C48 Extension:7287
1 A Balanced Introduction to Computer Science David Reed, Creighton University ©2005 Pearson Prentice Hall ISBN X Chapter 4 JavaScript and.
Sahar Mosleh California State University San MarcosPage 1 JavaScript Basic.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
1 Chapter 3 – JavaScript Outline Introduction Flowcharts Control Structures if Selection Structure if/else Selection Structure while Repetition Structure.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
Javascript JavaScript is what is called a client-side scripting language:  a programming language that runs inside an Internet browser (a browser is also.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
STRUCTURE OF JSP PRESENTED BY: SIDDHARTHA SINGH ( ) SOMYA SHRIVASTAV ( ) SONAM JINDAL ( )
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
Understanding JavaScript and Coding Essentials Lesson 8.
CSC 121 Computers and Scientific Thinking Fall Event-Driven Programming.
Web Programming Java Script-Introduction. What is Javascript? JavaScript is a scripting language using for the Web. JavaScript is a programming language.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
Web Basics: HTML/CSS/JavaScript What are they?
Unit 20 - Client Side Customisation of Web Pages
Javascript and Dynamic Web Pages: Client Side Processing
Introduction to Dynamic Web Programming
WWW and HTTP King Fahd University of Petroleum & Minerals
Active Server Pages Computer Science 40S.
Web Design II Flat Rock Community Schools
The Internet and HTML Code
Section 17.1 Section 17.2 Add an audio file using HTML
Exploring JavaScript Ch 14
PHP / MySQL Introduction
DHTML Javascript Internet Technology.
Chapter 27 WWW and HTTP.
Event Driven Programming & User Defined Functions
WEB PROGRAMMING JavaScript.
DHTML Javascript Internet Technology.
Unit 20 - Client Side Customisation of Web Pages
JavaScript.
Teaching slides Chapter 6.
Recognizing JavaScript Features
Visual Basic CSC
The language of the internet
An Introduction to JavaScript
The language of the internet
Introduction to JavaScript
Web Programming and Design
Week 5: Recap and Portfolio Site
Web Programming and Design
Web Programming and Design
Presentation transcript:

Nick Sims Scripting Languages

Dynamic Web Sites Static websites are old fashioned Dynamic websites are preferred and they are easier to maintain once they “go live” on the Internet

Types of scripting languages HTML (what does it stand for?) (Hyper Text Markup Language) JavaScript VBScript

Nature of Language Object-oriented languages: the code is broken into objects Each object knows what it can do (how what and how it can interact) and is a self-contained module Event driven language – the code is broken into handling events i.e. An action – mouse click, key pressed or transmission of data

Objects and methods Each object has properties and these properties have values. A method is how an object can carry a task out <script> hw=“Hello World” document.write(hw.toUpperCase()) </script> The output is HELLO WORLD on screen

Security As code is being executed this is a possible entry route for hackers making the client’s computer system and the web site vulnerable Also unscrupulous website owners could read the contents of a client’s computer Such as data mining, opening applications and reading other browser windows

Including scripts inside HTML HTML is interpreted by the browser and executed line by line Functions such as script functions can be placed anywhere as they are not run until they are called Script needs to be placed between <script> and </script> tags for the browser to know it is not interpreting HTML

Scripting Language Constructs Variables and operators Variables hold data Operators can be used to perform calculations and assign values to variables Loops – piece of code executed repetitively Decision making (known as selection) Functions – written separately, which can be called and executed whenever required Parameter – where a value in a bracket of passed to the function to use