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,

Slides:



Advertisements
Similar presentations
JavaScript I. JavaScript is an object oriented programming language used to add interactivity to web pages. Different from Java, even though bears some.
Advertisements

Enhancing a Grid Portlet Using JavaScript Phil Chung Komla Etse John Nipp.
Client Side Programming Using Java Applet Outcomes: You will be expected to know: – Java Applets and HTML file; –bytecode and platform independent programs;
12-Jun-15 JavaScript Language Fundamentals I. 2 About JavaScript JavaScript is not Java, or even related to Java The original name for JavaScript was.
18-Jun-15 JSP Java Server Pages Reference: Tutorial/Servlet-Tutorial-JSP.html.
JSP Java Server Pages Reference:
Tutorial 10 Programming with JavaScript
XP Tutorial 1 New Perspectives on JavaScript, Comprehensive1 Introducing JavaScript Hiding Addresses from Spammers.
The Information School of the University of Washington Oct 20fit programming1 Programming Basics INFO/CSE 100, Fall 2006 Fluency in Information Technology.
Server & Client  Client: Your computer  Server: Powerful & Expensive computer. Requires network access.
© 2008 Zend Technologies; made available under the EPL v March 2008 PDT – The PHP Development Toolkit Assaf Almaz, PDT co-Project Leader Zend Technologies.
Introduction to scripting
Chapter 6 DOJO TOOLKITS. Objectives Discuss XML DOM Discuss JSON Discuss Ajax Response in XML, HTML, JSON, and Other Data Type.
Java Server Pages (JSP) Presented by: Ananth Prasad & Alex Ivanov May 10, 2001.
+ 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
Demo: File->New Project Demo: Bundling & Minification.
Programming with JavaScript (Chapter 10). XP Various things Midterm grades: Friday Winter Career Fair – Thursday, April 28, 2011 (11 am to 3 pm). – MAC.
JSP Java Server Pages Softsmith Infotech.
© 2006 IBM Corporation Jazz Foundation Deep Dive Agile Planning’s Scripting Tools.
IAdaptable Interface and Its Usage Te-Hsin Shih 03/26/2013.
DUE Hello World on the Android Platform.
Lesson 27: Introduction to the Java GUI. // helloworldbutton.java import java.awt.*; import javax.swing.*; class HelloButton{ public static void main.
Server & Client  Client: Your computer  Server: Powerful & Expensive computer. Requires network access.
Ontology Engineering and Plugin Development with the NeOn Toolkit Plug-in Development for the NeOn Toolkit June 1st, 2008 Michael Erdmann, Peter Haase,
1 JavaScript in Context. Server-Side Programming.
Tutorial 10 Programming with JavaScript. XP Objectives Learn the history of JavaScript Create a script element Understand basic JavaScript syntax Write.
Python – Part 1 Python Programming Language 1. What is Python? High-level language Interpreted – easy to test and use interactively Object-oriented Open-source.
© 2006 IBM Corporation JDojo & ScriptEngine Agile Planning’s Scripting Tools.
Applied Computing Technology Laboratory QuickStart C# Learning to Program in C# Amy Roberge & John Linehan November 7, 2005.
Java Applets. 2 Introduction to Java Applet Programs Applications are ___________________ programs –executed with Java interpreter Applet is a small program.
JavaScript Justin Skinner Programming Languages. JavaScript JavaScript is not Java nor a subset But JavaScript does share the C-family syntax with Java.
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.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
Slide Advanced Programming 2004, based on LY Stefanus's slides Native Methods.
Copyright © Curt Hill Applets A different type of program.
Java FilesOops - Mistake Java lingoSyntax
1 Development of Java tools using SWT and WALA Infinit Højniveausprog, 10 February 2010 Hans Søndergaard Builder example SWT, - The Standard Widget Toolkit.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
JavaScript Dynamic Active Web Pages Client Side Scripting.
Rich Internet Applications 2. Core JavaScript. The importance of JavaScript Many choices open to the developer for server-side Can choose server technology.
Support standard JavaScript code with static typing Encapsulation through classes and modules Support for constructors, properties and.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
Orion 'Code Edit': A Really Sweet Stand-Alone Code Editor Eric Moffatt Orion Committer IDS Web IDE (Tooling)
CGS 3066: Web Programming and Design Spring 2016 Introduction to JavaScript.
JavaScript and Ajax (JavaScript Environment) Week 6 Web site:
#SummitNow Alfresco 4.2 Share Development Workshop November 6, 2013 Kevin Dorr, Sr. Solutions Engineer, Alfresco US.
JavaScript and AJAX 2nd Edition Tutorial 1 Programming with JavaScript.
Google Web Toolkit for Mobile Applications Development INGENUITY AT ITS BEST……………….
World Wide Web has been created to share the text document across the world. In static web pages the requesting user has no ability to interact with the.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Eclipse.
The eclipse IDE IDE = “Integrated Development Environment”
Programming Languages Dan Grossman 2013
Tutorial 10 Programming with JavaScript
Michael Robertson Yuta Takayama Google Closure Tools.
Server-Side Application and Data Management IT IS 3105 (Spring 2010)
JavaScript an introduction.
null, true, and false are also reserved.
Java Applets.
Using the Java Library API
Unit 6 part 3 Test Javascript Test.
Tutorial 10 Programming with JavaScript
Constructors, GUI’s(Using Swing) and ActionListner
Tutorial 10: Programming with javascript
Introduction to JavaScript
Plug-In Architecture Pattern
Presentation transcript:

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/Ajax-based applications and web sites. DoJo example // Load Dojo's code relating to the Button widget dojo.require("dijit.form.Button"); Hello World!

JDojo JDojo is a toolkit that allows the developer to use Java language to control Dojo widgets. JDojo toolkit translates the Java code into Java scripts. JDojo group has been quite since Don’t know what is its future.

JDojo Example WebEditor.java public class WebEditor extends _Widget implements _Templated { public void postCreate() { CreateEclipseEditorParms parms = new CreateEclipseEditorParms(); parms.parent = this; editor = utilNative.createEclipseEditor(parms); editor.setContents("Hellow World!!"); } WebEditor.js dojo.declare("com.ibm.team.scm.web.ui.internal.widgets.dojoWebEditor.WebEditor", [ _Widget, _Templated], { postCreate: function() { var parms= {}; parms.parent= this; this.editor= utilNative.createEclipseEditor(parms); this.editor.setContents("Hellow World!!"); } }); })();

JDojo Special Syntaxes The “native” keyword – the native keyword in JDojo means the implementation of the method is in the JavaScript file. public class Editor extends DojoObject { public Editor(Object params) { } public void onInputChange(String title, String message, String contents, boolean contentsSaved) {... } public native void setContents(String contents); }

JDojo Special annotation – it means do not generate JavaScript file from this public class utilNative { public static Editor createEclipseEditor (CreateEclipseEditorParms parms) { return null; }

References Install JDojo toolkits to eclipse client – on/tools/devtools-updatesite on/tools/devtools-updatesite

Discussions Limitations on Java features that can be used in JDoJo classes.