Server-Side JavaScript with jQuery and AOLserver jQueryCamp07 October 27, 2007 Dossy Shiobara jQueryCamp07 October 27, 2007 Dossy Shiobara.

Slides:



Advertisements
Similar presentations
12 October 2011 Andrew Brown IMu Technology EMu Global Users Group 12 October 2011 IMu Technology.
Advertisements

Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
By Mark Qian (QUI)(QUI). QUI is a solution to ease RIA development instead of another Javascript framework. QUI is built in Javascript at top of popular.
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.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
Concrete Architecture of Firefox 2 Team One July 6, 2007 Team One July 6, 2007.
Administrative  Philosophy  Class survey  Grading  Proposal (5 points max)  Small projects (10 points each max)  Project (40 points max)  Presentation.
IS 360 Course Introduction. Slide 2 What you will Learn (1) The role of Web servers and clients How to create HTML, XHTML, and HTML 5 pages suitable for.
Multiple Tiers in Action
Apache Tomcat Server Typical html Request/Response cycle
1 ParaView Current Architecture and History Current Architecture and History Issues with the Current Design Issues with the Current Design.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
JavaScript Demo Presented by … Jaisingh Sumit jain Sudhindra Taran Deep arora.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
RIA Introduce Comparison among several technology.
ITM352 PHP and Dynamic Web Pages: Server Side Processing.
+ 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.
For rich web client applications Jeff Hemminger Object Partners, Inc.
Title slide to be used at the start of a module. Developing Mobile Apps Roland Guijt
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
Selenium automated testing in Openbravo ERP Quality Assurance Webinar April 8th, 2010.
Developing Web Services Oracle SOA Suite 11g (JDeveloper)
AOLserver America Online’s open source webserver Dossy Shiobara February 2005.
Fundamentals of Database Chapter 7 Database Technologies.
1 In the good old days... Years ago… the WWW was made up of (mostly) static documents. –Each URL corresponded to a single file stored on some hard disk.
Introduction to Applets CS 3505 Client Side Scripting with applets.
Google Web Toolkit An Overview By Shauvik Roy Choudhary.
Asterisk based real-time social chat Advisor : Lian-Jou Tsai Student : Jhe-Yu Wu.
Cross Site Integration “mashups” cross site scripting.
© 2006 IBM Corporation Agile Planning Web UI. © 2006 IBM Corporation Agenda  Overview of APT Web UI  Current Issues  Required Infrastructure  API.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Selenium and Selenium on Rails. Agenda  Overview of Selenium Simple Selenium Tests Selenium IDE  Overview of Selenium on Rails  Problems with Selenium.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
SE-2840 Dr. Mark L. Hornick1 NodeJS Server-side JavaScript.
NA-MIC National Alliance for Medical Image Computing ParaView Server Manager Berk Geveci Andy Cedilnik.
SSI “Server Side Includes” SSI defined Server Side Includes (SSI) are HTML comment tags which contain commands directed at the Web server. The server.
JavaScript Syntax, how to use it in a HTML document
Server-side Programming The combination of –HTML –JavaScript –DOM is sometimes referred to as Dynamic HTML (DHTML) Web pages that include scripting are.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
Ajax for Dynamic Web Development Gregory McChesney.
1 ParaView Future, vision, …. 2 ParaView Architecture.
Ahmed Hassan and Richard Holt Software Architecture Group University of Waterloo CANADA A Reference Architecture for Web Servers.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
AJAX and REST. Slide 2 What is AJAX? It’s an acronym for Asynchronous JavaScript and XML Although requests need not be asynchronous It’s not really a.
Java Script. What is JavaScript ? It is an scripting language, developed by Netscape Navigator. It can be used to replace CGI scripts for client-side.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
AJAX CS456 Fall Examples Where is AJAX used? Why do we care?
COMPARING CROSS-PLATFORM DEVELOPMENT APPROACHES FOR MOBILE APPLICATIONS Henning Heitkötter, Sebastian Hanschke and Tim A. Majchrzak Department of Information.
Real time automatic decisions Graphical designer for the automation of decisions to be made during the process. Powerful tool intended to increase.
#SummitNow Alfresco Mobile SDKs in Action 06 November, 2013 Mike Hatfield Lead Engineer Mobile Apps, Alfresco.
Quick look under the hood Technologies used Get familiar with them! By Michał Kostecki IITc.
WebODF Jos van den Oever WebODF online and offline office.
ODFKit and WebODF Getting up to speed ● ODF ● ODFKit ● WebODF Discussion and brainstorming ● How would you use it? ● Office use-cases in 2010 and beyond.
Selenium and Selenium on Rails
ITM352 PHP and Dynamic Web Pages: Server Side Processing 1.
WEB SERVICES.
Unit – 5 JAVA Web Services
Testing The JCOP Framework
Pentaho JavaScript API
Not Your Grandparent’s PowerOn
04 | Web Applications Gerry O’Brien | Technical Content Development Manager Paul Pardi | Senior Content Publishing Manager.
Unit 6 part 3 Test Javascript Test.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
MIS Professor Sandvig MIS 324 Professor Sandvig
Building Serverless Enterprise Applications
ხელმძღვანელი: დიმიტრი ქარაული
Presentation transcript:

Server-Side JavaScript with jQuery and AOLserver jQueryCamp07 October 27, 2007 Dossy Shiobara jQueryCamp07 October 27, 2007 Dossy Shiobara

Why Use JavaScript on the Server Leverage web developer’s mandatory skill-set –HTML, JavaScript Increase code reuse on client and server Lots of good documentation and examples Stable and mature implementations available Leverage web developer’s mandatory skill-set –HTML, JavaScript Increase code reuse on client and server Lots of good documentation and examples Stable and mature implementations available

How to Use jQuery on the Server JavaScript interpreter –SpiderMonkey (in C), Rhino (in Java) John Resig’s env.js – Integrate into web server request processor JavaScript interpreter –SpiderMonkey (in C), Rhino (in Java) John Resig’s env.js – Integrate into web server request processor

Our Example jQuery & env.js SpiderMonkey AOLserver –Tcl –nsjsapi module –tDOM jQuery & env.js SpiderMonkey AOLserver –Tcl –nsjsapi module –tDOM

How AOLserver integrates SpiderMonkey nsjsapi module –Wraps SpiderMonkey with a “js” Tcl command –Exposes Tcl interp. as “tcl” JS function nsjsapi module –Wraps SpiderMonkey with a “js” Tcl command –Exposes Tcl interp. as “tcl” JS function nscp 1> set js [js create] js0xad19ad8 nscp 2> js eval $js "new Date(0)" Wed Dec :00:00 GMT-0500 (EST) nscp 3> js eval $js "tcl('info patchlevel')" nscp 4> js destroy $js

How nsjsapi Loads env.js and jQuery nsjsapi.js provides JavaScript implementation of java.*, javax.* and org.w3c.dom.* APIs Uses Tcl’s tDOM module for XML parsing Calls back into AOLserver/Tcl using the JS “tcl” function nsjsapi.js provides JavaScript implementation of java.*, javax.* and org.w3c.dom.* APIs Uses Tcl’s tDOM module for XML parsing Calls back into AOLserver/Tcl using the JS “tcl” function

nsjsapi.js Code Snippet

Example

Challenges nsjsapi module still very incomplete No clear vision for or good examples of a server-side JavaScript web framework Hard to debug – lots of moving parts –AOLserver, nsjsapi, SpiderMonkey, nsjsapi.js, env.js, jQuery nsjsapi module still very incomplete No clear vision for or good examples of a server-side JavaScript web framework Hard to debug – lots of moving parts –AOLserver, nsjsapi, SpiderMonkey, nsjsapi.js, env.js, jQuery

TODO Automated test suite Simple web development framework Better documentation, with examples More evangelism Automated test suite Simple web development framework Better documentation, with examples More evangelism

Questions?