Current trends: Scripting (I) A bid part of interface design centers around dialogs

Similar documents
Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p.

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.

PHP CURRICULUM 6 WEEKS

Lotus Using JavaScript in IBM Lotus Domino 7 Applications.

CS312: Programming Languages. Lecture 21: JavaScript

Context-sensitive Help

Why Discuss JavaScript? CS312: Programming Languages. Lecture 21: JavaScript. JavaScript Target. What s a Scripting Language?

Software. Programming Languages. Types of Software. Types of Languages. Types of Programming. Software does something

Exercise 1: Basic HTML and JavaScript

(p t y) lt d. 1995/04149/07. Course List 2018

You can make certain sections of the text clickable by creating hyperlinks. Once clicked, these links navigate users to different

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

Design of a Social Networking Analysis and Information Logger Tool

PHP + ANGULAR4 CURRICULUM 6 WEEKS

TEST AUTOMATION. Excel Global Solutions Inc. All Rights Reserved.

JavaScript CS 4640 Programming Languages for Web Applications

Client vs Server Scripting

CERTIFICATE IN WEB PROGRAMMING

HTML 5 Form Processing

A Scripting Language for Multimodal Presentation on Mobile Phones

Web Site Development with HTML/JavaScrip

CIW 1D CIW JavaScript Specialist.

XML Document Object Model. - English version -

13. Databases on the Web

ALL PLATFORM DIGITAL COLLECTIONS PRESENTATION: A SIMPLE SOLUTION. 1. Introduction

Lesson 7: If Statement and Comparison Operators

CIW EXAM - 1D CIW JavaScript Specialist. Buy Full Product.

FINALTERM EXAMINATION Spring 2009 CS506- Web Design and Development Solved by Tahseen Anwar

Programming II. Modularity 2017/18

PHP 1. Introduction Temasek Polytechnic

1D CIW JavaScript Fundamentals exam

CISC 1600 Lecture 2.4 Introduction to JavaScript

CHAPTER 6 JAVASCRIPT PART 1

Review. Fundamentals of Website Development. Web Extensions Server side & Where is your JOB? The Department of Computer Science 11/30/2015

SETTING UP AND RUNNING A WEB SITE ON YOUR LENOVO STORAGE DEVICE WORKING WITH WEB SERVER TOOLS

JavaScript Functions, Objects and Array

AJAX: Asynchronous Event Handling Sunnie Chung

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies

IN Development in Platform Ecosystems Lecture 2: HTML, CSS, JavaScript

Connecting with Computer Science Chapter 5 Review: Chapter Summary:

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Dynamism and Detection

File services. Domains, DNS DHCP. Server Scripts. Intranet and Extranets. Web services. HNC COMPUTING - Network Concepts

FOR MORE PAPERS LOGON TO

JavaScript is described in detail in many books on the subject, and there is excellent tutorial material at

HTML Exercise 29 Adding JavaScript To Your Web Pages

Programming language components

INTERNET AND ITS APPLICATIONS Question Bank

Technology in Action. Chapter Topics. Scope creep occurs when: 3/20/2013. Information Systems include all EXCEPT the following:

5. Special Purpose Languages

This paper is not to be removed from the Examination Halls UNIVERSITY OF LONDON

JavaScript CS 4640 Programming Languages for Web Applications

Software Development & Education Center PHP 5

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

Lesson 1 using Dreamweaver CS3. To get started on your web page select the link below and copy (Save Picture As) the images to your image folder.

Using Java to Front SAS Software: A Detailed Design for Internet Information Delivery

Introduction to JavaScript Programming Test Bank Chapter 1 with XML and PHP

PECULIARITIES OF LINKED DATA PROCESSING IN SEMANTIC APPLICATIONS. Sergey Shcherbak, Ilona Galushka, Sergey Soloshich, Valeriy Zavgorodniy

JavaScript. What s wrong with JavaScript?

Windows Script Host Fundamentals

New Cycle Manager operation


Quick.JS Documentation

Working with JavaScript

Software Development Life Cycle (SDLC) Policy ( ) Checklists November 5, 2013

Grading Rubric Homework 1

IT6503 WEB PROGRAMMING. Unit-I

BlueGene/L (No. 4 in the Latest Top500 List)

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript

Systems Analysis and Design in a Changing World, Fourth Edition


Modern Web Application Development. Sam Hogarth

Enterprise Web based Software Architecture & Design

jquery Tutorial for Beginners: Nothing But the Goods

OOP with PHP. Roman Bednarik

Introduction to Programming

Moving WebSphere Portal Themes into Watson Content Hub. WebSphere Portal Lab Services (SEAL) Team IBM


HTML5 MOCK TEST HTML5 MOCK TEST I

webforms Browser Configuration Guide

Tilak Maharashtra University

(Frequently Asked Questions)

WWW Document Technologies

a Very Short Introduction to AngularJS

JAVASCRIPT - CREATING A TOC

COMS 469: Interactive Media II

Basics of JavaScript. Last Week. Needs for Programming Capability. Browser as Development Platform. Using Client-side JavaScript. Origin of JavaScript

Course title: WEB DESIGN AND PROGRAMMING

Programming the World Wide Web by Robert W. Sebesta

WIRIS quizzes 2. Integration guide

Command-driven, event-driven, and web-based software

What s New in Enterprise Jeff Simpson Sr. Systems Engineer

Introduction to Dreamweaver CS4:

A340 Laboratory Session #5

Introduction to PHP. Handling Html Form With Php. Decisions and loop. Function. String. Array

Problem 1: Textbook Questions [4 marks]

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

JavaScript By: A. Mousavi & P. Broomhead SERG, School of Engineering Design, Brunel University, UK

PHP Online Training. PHP Online TrainingCourse Duration - 45 Days. Call us: HTML

Finding Vulnerabilities in Web Applications

Transcription:

Current trends: Scripting (I) A bid part of interface design centers around dialogs that a system has with a user of the system These dialogs follow what is usually called a "script", i.e. a sequence of requests and answers Starting with the use of data bases and operating systems, it became clear that there was a need for easily putting together scripts to achieve complex, repetitive interactions without having users to go through the dialogs all of the time

Current trends: Scripting (II) More recently, the Internet provides an additional source for scenarios in which a dialog between a system (usually related to a web page or set of web pages on a server) and a user (usually using a browser) is needed To ease developing scripts (and allow users that have to enact the same scripts very often to automate their part of the dialog) scripting languages have become a whole group of special purpose languages

Current trends: Scripting (III) Scripting languages usually provide l a full set of control structures l Basic numerical data structures and operations on them l A very good treatment of characters and especially strings l Arrays and record-like structures to build complex data structures l Special features to handle the interaction with particular systems (like forms, events, IO)

Current trends: Scripting (IV) Due to facilitating a dialog, the control flow within scripting languages is sequential (although it can branch quite a lot) Typical programs in scripting languages should not be too long (else using a general purpose language becomes the better option) and we usually do not see a very modular approach in these programs Examples of scripting languages are awk (in fact, all kinds of shell-script languages in operating systems), Pearl (clearly on its way to becoming general purpose), JavaScript, VBScript, PHP

A short look at JavaScript (I) Most commonly used within HTML-documents to provide client-side scripting (Pearl and PHP are server side) F dynamically creating and modifying documents But can also be used for other applications Syntax very similar to Java Object-concept totally different (in fact, according to our classification of object-oriented programming, it is very questionable to call JavaScript object-oriented) F yet another name screw-up

A short look at JavaScript (II) In JavaScript, objects are used to describe the data that is needed by the dialog For example, JavaScript has objects "describing" HTML-documents or Windows Users can also define objects by providing a constructor function for the object Note: there are no explicit classes and consequently nothing of object-oriented programming related to classes exists in JavaScript

Example for eval <HTML> <HEAD> <TITLE> JavaScript Example 1 </TITLE> </HEAD> <BODY> <SCRIPT language="javascript"> var convertme = "2+2"; convertme = eval(convertme); document.write(convertme); </SCRIPT> </BODY> </HTML>

The Dynamic HTML Object Model Window location frames history event screen navigator document document links anchors forms frames scripts body filters

Example for events in JavaScript <HTML> <HEAD> <TITLE> JavaScript Example 2 </TITLE> </HEAD> <BODY> <H1 onclick="hclicked()">some Header Text</H1> <SCRIPT language="javascript"> function hclicked() { } </SCRIPT> </BODY> </HTML> alert("header Text element clicked");

The future? Distributed systems are not handled very well by programming languages, so far They are usually realized by the operating system and the languages make system calls to use them Even threads are only a weak approach to this We can expect in the future the development first of special purpose languages dealing with distributed processes And I would even predict that this will also find its way into general purpose languages