Enhancing a Grid Portlet Using JavaScript Phil Chung Komla Etse John Nipp.

Slides:



Advertisements
Similar presentations
1 G54PRG Programming Lecture 1 Amadeo Ascó Adam Moore G54PRG Programming Lecture 1 Amadeo Ascó 3 Java Programming Language.
Advertisements

Developing Grid User Interface Components Portlets, gadgets, etc.
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Introduction to JavaScript
Web Server Programming
Languages for Dynamic Web Documents
Kyung Hee University 1 1 Application Layer. 2 Kyung Hee University Position of Application Layer.
Google Web Toolkit - Gufran Mohammed. Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications.
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.
1 Owais Mohammad Haq Department of Computer Science Eastern Michigan University April, 2005 Java Script.
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
1 Web Wizards Guide To PHP David Lash Chapter 1 Introduction to PHP.
HTML Recall that HTML is static in that it describes how a page is to be displayed, but it doesn’t provide for interaction or animation. A page created.
XP 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial 10.
Active X Microsoft’s Answer to Dynamic Content Reference: Using Active X by Brian Farrar QUE
Multiple Tiers in Action
Apache Tomcat Server Typical html Request/Response cycle
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Web 2.0 with AJAX Students : LASC Ioana KELEMEN Csilla POP Dan Adrian CIOBANU Dumitru Daniel Project leader : Ahmed RHIAT.
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.
+ 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.
Java Server Pages CS-422. What are JSPs A logical evolution of java servlets –most servlets dynamically create HTML and integrate it with some computational.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
4.1 JavaScript Introduction
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
Accessible DHTML Simon Bates David Bolter ATRC
JavaScript By: Louis Roselli & Michael Reynolds. Problem Domain JavaScript is programming code that can be inserted into HTML pages. JavaScript inserted.
XP Tutorial 10New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with JavaScript Creating a Programmable Web Page for North Pole.
Tutorial 10 Programming with JavaScript
Dynamic Web Pages & JavaScript. Dynamic Web Pages Dynamic = Change Dynamic Web Pages are web pages that change. More than just moving graphics around.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
JavaScript - A Web Script Language Fred Durao
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Client-side processing in JavaScript.... JavaScript history Motivations –lack of “dynamic content” on web pages animations etc user-customised displays.
XP Tutorial 10New Perspectives on HTML and XHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial.
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.
JDojo and Its Usage Te-Hsin Shih 04/30/2013. Dojo Dojo Toolkit is an open source JavaScript library designed to ease the rapid development of cross-platform,
JavaScript Defined JavaScript Basics Definitions JavaScript is an object-oriented programming language designed for the world wide web. JavaScript code.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
By Tharith Sriv. To write a web page you use: HHTML (HyperText Markup Language), AASP (Active Server Page), PPHP (HyperText Preprocessor), JJavaScript,
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.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
 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 ( )
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
JavaScript 101 Introduction to Programming. Topics What is programming? The common elements found in most programming languages Introduction to JavaScript.
JavaScript Dynamic Active Web Pages Client Side Scripting.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
Lesson 30: JavaScript and DHTML Fundamentals. Objectives Define and contrast client-side and server-side technologies used to create dynamic content for.
Introduction to the World Wide Web & Internet CIS 101.
XP Tutorial 10New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties.
Google Web Toolkit for Mobile Applications Development INGENUITY AT ITS BEST……………….
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Technologies For Creating Rich Internet Applications Presenter's name
Applications Active Web Documents Active Web Documents.
Google Web Toolkit - Gufran Mohammed
Michael Robertson Yuta Takayama Google Closure Tools.
JavaScript an introduction.
Chapter 27 WWW and HTTP.
Unit 6 part 3 Test Javascript Test.
Information Retrieval and Web Design
Presentation transcript:

Enhancing a Grid Portlet Using JavaScript Phil Chung Komla Etse John Nipp

Assignment Overview Explore another way to create the portlet. 6a uses separate.java file for portlet’s logic. Use JavaScript to embed the Portlet’s logic directly in the code for the Portlet’s java server page (.jsp).

Quick Overview of Java Created by Netscape in 1995 Purpose was to make web pages more interesting An interpreted language –Scripts are not compiled prior to runtime –Statements processed at execution time An object-based scripting language

Implementing JavaScript in the Porlet Design Still use the MainPage.jsp file Include JavaScript within the HTML to create dynamic effects –Overcomes static nature of HTML.

Installing JavaScript Libraries Dojo Toolkit –Open source Dynamic-HTML (DHTML) toolkit written in JavaScript. –

Simple JavaScript Script Example of JavaScript instructions embedded within the HTML code Document.write(“This is file from inline HTML code.”)

dojo.require("dojo.widget.TitlePane"); dojo.hostenv.writeIncludes(); dojo.require("dojo.widget.TabContainer"); dojo.require("dojo.widget.LinkPane"); dojo.require("dojo.widget.ContentPane"); dojo.require("dojo.widget.LayoutContainer"); dojo.require("dojo.widget.Checkbox"); dojo.require("dojo.widget.AccordionContainer"); dojo.require("dojo.widget.SplitContainer"); dojo.require("dojo.widget.*");

<div dojoType="AccordionContainer" labelNodeClass="label" containerNodeClass="accBody" style="border: 1px solid #F9966B;HEIGHT:410px" id="mainaccordi"> Location:

Inserting JavaScript Code for Creation of Google Maps Interface <script src=" AAAs91yCKatVZLSfyAUX3XJoxTwM0brOpm-All5BF6PoaKBxRWWERS2dI3 8LDyFef5VuB_jxekyAh-yXg" type="text/javascript">

End