AJAX & By – Anupama Sharma. Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together.

Slides:



Advertisements
Similar presentations
Master Pages, User Controls, Site Maps, Localization Svetlin Nakov Telerik Corporation
Advertisements

JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
1 XSLT – eXtensible Stylesheet Language Transformations Modified Slides from Dr. Sagiv.
HTML 5 and CSS 3, Illustrated Complete Unit L: Programming Web Pages with JavaScript.
Lesson 12- Unit L Programming Web Pages with JavaScript.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
Inline, Internal, and External FIle
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
ITM352 Javascript and Dynamic Web Pages: Client Side Processing.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
INTRODUCTION TO WEB DATABASE PROGRAMMING
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
JavaScript Teppo Räisänen LIIKE/OAMK HTML, CSS, JavaScript HTML defines the structure CSS defines the layout JavaScript is used for scripting It.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Build Great Web Application 'Fast and Easy'
CS346 - Javascript 1, 21 Module 1 Introduction to JavaScript CS346.
Ruth Betcher Ruth Christie
XForms: A case study Rajiv Shivane & Pavitar Singh.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
INTERNET APPLICATION DEVELOPMENT For More visit:
XSLT for Data Manipulation By: April Fleming. What We Will Cover The What, Why, When, and How of XSLT What tools you will need to get started A sample.
XP New Perspectives on XML Tutorial 6 1 TUTORIAL 6 XSLT Tutorial – Carey ISBN
WORKING WITH XSLT AND XPATH
XP New Perspectives on XML, 2 nd Edition Tutorial 10 1 WORKING WITH THE DOCUMENT OBJECT MODEL TUTORIAL 10.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
The Document Object Model. The Web B.D, A.D. They aren’t web pages, they’re document objects A web browser interprets structured information. A server.
Client side web programming Introduction Jaana Holvikivi, DSc. School of ICT.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Scripting with the DOM Ellen Pearlman Eileen Mullin Programming the Web.
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Tuukka Haapaniemi XForms – What’s the need? HTML forms Very outdated Hard to develop and to maintain Requires lot of work To create basic.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
REAL WORLD AJAX MARCH TIBCO USER CONFERENCE / 2004 Enterprise Rich Internet Applications with AJAX Real World Case Studies with TIBCO General Interface™
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
JQUERY AND AJAX
Javascript Basic Concepts Presentation By: Er. Sunny Chanday Lecturer CSE/IT RBIENT.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
//liveVirtualacademy2011/ What’s New for ASP.NET 4.5 and Web Development in Visual Studio 11 Developer Preview Γιώργος Καπνιάς MVP, MCT, MCDP, MCDBA, MCTS,
1 Introducing Web Developer Tools Rapid application development tools ASP.NET-compatible web editors –Visual Studio.NET Professional Edition –Visual Studio.
Module 1 Introduction to JavaScript
Javascript and Dynamic Web Pages: Client Side Processing
Unit 4 Representing Web Data: XML
Unit M Programming Web Pages with
W3C Web standards and Recommendations
Section 10.1 YOU WILL LEARN TO… Define scripting
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Introduction to Internet Programming
DHTML Javascript Internet Technology.
DHTML Javascript Internet Technology.
COP 3813 Intro to Internet Computing
Javascript and JQuery SRM DSC.
Tutorial 10: Programming with javascript
Web Client Side Technologies Raneem Qaddoura
Presentation transcript:

AJAX & By – Anupama Sharma

Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together in powerful new ways. Ajax incorporates: standards-based presentation using XHTML and CSS; dynamic display and interaction using the Document Object Model; data interchange and manipulation using XML and XSLT; asynchronous data retrieval using XMLHttpRequest;XMLHttpRequest and JavaScript binding everything together.

Objectives of Backbase Rich Internet Applications –Rich and Real-time Interfaces –Single Page Interface (SPI) –Client-side Intelligence Embrace and Extend Web Standards (AJAX) –Zero Install, Small Footprint –Cross-Browser Compatibility –Works with (X)HTML, JS, CSS, XML, XSLT Easy Integration with.NET, J2EE, and PHP –Data-driven Integration –Align RIA with SOA Developer Productivity –Declarative Language –Easy to Learn for HTML Developers

Backbase XML (BXML) BXML stands for Backbase eXtensible Markup Language, a declarative, XML-based language for developing Rich Internet Applications (RIA). –BXML interfaces are valid XML. The BXML vocabulary is an extension of XHTML that provides tags (in namespaces) for declaring rich and highly interactive web sites. –xmlns:b= for visual tags. –xmlns:s= for systems tags.

Backbase Presentation Client (BPC) The Backbase Presentation Client (BPC) is a JavaScript based GUI management system that runs within standard web browsers. –BPC enables client-side processing of presentation logic. Once activated, the BPC receives BXML and translates the BXML at runtime into a standard DOM-tree that is rendered by the browser. Existing DHTML technologies (XHTML, JS, CSS) remain fully functional within BXML pages.

Booting and Initialization The BPC is a JavaScript library included in the BXML start-up page. –script type="text/javascript" src="/backbase/3_0/bpc/boot.js" Initially only the core library of about 30K, that contains the most frequently used features, is loaded Additional features are loaded automatically in separate modules on demand (to limit download size) The tag is used to indicate to the BPC where the BXML area of a web page starts and ends –Use the tag to separate BXML from (potentially) non valid HTML code.

Example 01 - My First BXML Page Click to open. Hello World! Example 01 - My First BXML Page Click to open. Hello World! Example XHTML and namespace definition Include and initialize the BPC engine BXML and XHTML tags

Managing the BXML- and DOM- Tree The BPC translates BXML client-side at runtime into a standard DOM-tree that is rendered by the browser The first step in the translation process is to parse the BXML and create the BXML-Tree. The second step in the translation process is to build the corresponding DOM-Tree that can be rendered by the browser.

Tree Manipulation The objective of tree manipulation is to dynamically add-, move or remove elements within the BXML-tree. Tree Manipulation is done by BXML-tags such as: – for copying, moving, and transforming – for loading additional nodes – for removing nodes Tree manipulation happens client-side without page re-loading.

Get, post, submit, send Standard HTTP is used for communication between the BPC and the web server Actions: load, submit, send – is used to retrieve new dynamic data – is used to submit a form, the standard html form attributes define the actions to do (default is get) – is used to send any part of the tree to the server as an xml document, this is always done with ‘post’ instead of ‘get’ Server can respond either with data or with an instruction set –The distinction is made using the root node of the response file (use for instructions)

Adding Look & Feel The look & feel of the Rich User Interface can be defined with CSS –W3C standard: The CSS skinning can be applied to both XHMTL and BXML is used to dynamically assign styles to UI elements in response to events: –

Behaviors: Custom Events & Commands The objective of a Behavior is to combine multiple events (including their related commands) into a single Behavior that can be re-used across multiple GUI elements. A new Behavior has its own name (e.g. “mybutton”) which is used to assign it to GUI elements that require this behavior. – Behaviors can inherit from other behaviors allowing the BXML programmer to create a hierarchy of frequently used events and commands. –

Custom Client Controls The objective of a Custom Client Control is the creation of a new UI element that can be re-used across multiple Rich Internet Applications. A Custom Client Control is a combination of XHTML, CSS and Behaviors. Custom Client Controls are defined using the tag and are assigned a name which becomes a new tag in BXML: –

XPath Functions You can also use various functions within XPath expressions. Standard functions (arithmetic and string processing) = 'a'])} –{100 mod (4 * 4 - 3) - 9} 'e')} BPC functions and variables –{concat($bpc.path,'tools/skin/tools.css')} –$bpc.version –bpc(‘drag’), bpc(‘mouse’) Setting and getting variables –

Stylesheets Formalize frequently used transformations as stylesheets The syntax is XSL-like within the Backbase s namespace: – (Image is here)

Script Functions And you can easily interface with JavaScript for executing more complex client-side logic and calculation. Call JavaScript functions from BXML –b:action="js" b:value="alert('Hello world!')“ Call JavaScript through standard JS events – Call BXML from JavaScript –bpc.move(' text ','replacechildren',"id('myID')"); –bpc.execute(' '); –bpc.setXpathVar('myvar',‘myvalue');

Loading Data Load XML data from the server and bind it to UI elements Include, buffer, and load: – inserts data when executed – is used to defer loading until parent element is selected (e.g. tabs in a deck) – is used to load data within events, tasks, etc. The “load” command provides complete control over what and when to load.

IDE Integration Develop BXML pages using standard editing tools: –Visual Studio –Eclipse –Dreamweaver Syntax Highlighting Code Completion

Reference Backbase documents,

Thanks!