Title: INNOV-16:%20Rich%20User%20Interface%20for%20the%20Web????%20AJAX%20to%20the%20Rescue
1INNOV-16 Rich User Interface for the Web????
AJAX to the Rescue
Ken Wilner
VP of Technology Progress Software
2UI Choice Today?
3Rich Internet Applications Today
- Zimbra
- http//demo2.zimbra.com/zimbra/mail
- Google Maps
- http//maps.google.com
- OpenEdge
- http//localhost/.....
4Desktop App vs. Browser App.
Rich
AJAXClient
Traditional DesktopClient
Traditional BrowserClient
Gartner, Rich Internet Applications Are the Next
Evolution of the Web, May 4, 2005
Reach
5Traditional Browser-based Application
Server-based Processing
Browser
Server
Time
6AJAX Application Model
N-tier-based Processing
user activity
user activity
user activity
user activity
Browser
event
event
event
event
AJAX Engine
request2
data
request
data
data
request1
Server
processdata request
Time
7Agenda
- Concepts and Technologies
- Data Models
- Frameworks and Libraries
- For the Enterprise
- Conclusion
8AJAX in a Nutshell
- Architectural design pattern for building Rich
Internet Applications (RIA) - Coined by Jesse James Garrett of Adaptive Path in
2005 - Asynchronous JavaScript and XML
- Not necessarily asynchronous
- Not necessarily XML
- Absolutely JavaScript
- Browser behaves like a desktop client
- Works with most browsers some differences
9AJAX Technologies
- JavaScript
- General purpose programming language that runs in
a browser - Aka JScript aka ECMAScript
- Cascading Style Sheets (CSS)
- Reusable styles for defining look of a Web page
- Script based or JavaScript settable
- Document Object Model (DOM)
- XML parser
- Built-in document object allows widget-tree
walker - XMLHttpRequest
- Communicate with a Web Server without a refresh
- Synchronous and asynchronous
10Traditional Browser-based vs. AJAX
11AJAX Request Processing and OpenEdge
Browser
Web Server
CustNum
Submit
AJAX Engine
XMLHttpRequest
Web Services Adapter\WebSpeed
AppServer/WebSpeed
function callback()
12Simple AJAX Code Demo
13Agenda
- Concepts and Technologies
- Data Models
- Frameworks
- For the Enterprise
- Conclusion
14AJAX Data Binding Models
- HTML Snippet
- JavaScript
- Encoded String
- JSON JavaScript Object Notation
- XML
- Web Services
15AJAX Data Binding Demo
16AJAX Data Binding Models
17Agenda
- Concepts and Technologies
- Data Models
- Frameworks
- For the Enterprise
- Conclusion
18AJAX Frameworks and Libraries
UI Widgets Dojo, Prototype, Backbase, Zimbra,
ActiveWidgets, TurboWidgets, Yahoo
DevelopmentEnvironmentand Tools Ajax Toolkit
Framework Backbase Community Edition JackBE Gener
al Interface MS Atlas
JavaScript Utilities Prototype Dojo
UI Low Level Effects Dojo, Rico, Scriptaculous
Remoting Toolkits Dojo,JSON-RPC,Prototype, Zimbra
XMLHttpRequest
19Dojo
Comprehensive JavaScript Toolkit largely
undocumented
- UI Low Level Affects
- Animation affects
- Drag and drop
- Fade in/out
- UI Widgets
- Tabs
- Trees
- Menu
- Combo box
20Dojo
Comprehensive JavaScript Toolkit largely
undocumented
- JavaScript Utilities
- Object inheritance and manipulation
- Strings
- Request timeouts
- Type checking
- Dom manipulation
- Data Structures
- Crypto
- JSON serialization/deserialization
- Remoting
- Cross-browser XMLHttpRequest handling
21Prototype Demo
22Prototype
- Cross-browser XMLHttpRequest handling
- Utility Routines
- Object creation and inheritance
- Array manipulation
- String manipulation
- Simplified DOM API
23Prototype Demo
24Scriptaculous
- Effects Library
- Size
- Position
- Transparency
- Drag and Drop Library
25Prototype Demo
26Agenda
- Concepts and Technologies
- Data Models
- Frameworks
- For the Enterprise
- Conclusion
27AJAX For the Enterprise
ActiveWidgets
- Object-oriented library
- Standard widgets
- Datagrid
- Tabs
- Tree
- Combo
- Etc.
- Simple XML binding or record sets make ideal for
Web services and Prodatasets
28AJAX for the Enterprise Demo
29Agenda
- Concepts and Technologies
- Data Models
- Frameworks
- For the Enterprise
- Conclusion
30AJAX Tools That You Want to Know!!!!
- Firefox Dom Inspector
- Firefox Firebug
- https//addons.mozilla.org/addon.php?id1843
- Eclipse Ajax Toolkit Framework
- http//www.alphaworks.ibm.com/tech/ajaxtk
- Eclipse Web
- http//www.eclipse.org/webtools
31Resources
- Web Sites
- http//www.ajaxian.com/
- http//www.ajaxinfo.com/
- http//www.ajaxpatterns.org/
- http//www.ajaxfreaks.com
- http//developer.yahoo.com/yui/index.html
- Books
- Pragmatic Ajax
- Ajax in Action
- Ajax for Hackers
- Just Google for AJAX
- AJAX Javascript XMLHttpRequest -gt 1.8M hits
32In Summary
- AJAX rich UI for the Web
- Start small technology still immature
- Moving your application to OpenEdge Reference
Architecture and SOA will get you ready for AJAX - You can use with OpenEdge today
- Looks to tools and frameworks to help you out
still evolving - Start learning now!!!
33Questions?
34Thank you foryour time
35(No Transcript)