SlideShare una empresa de Scribd logo
1 de 63
Descargar para leer sin conexión
WebObjects &
Mootools
Introduction to Direct-Action based AJAX with
WebObjects and Mootools

Jake MacMullin, BBC
Jake MacMullin
Direct
Action
WebObjects
Why?
javascript
javascript?
Douglas Crockford,
"The JavaScript Programming Language"
http://video.yahoo.com/watch/111593
What is ‘Direct Action AJAX’?
AJAX
AJAX
Asynchronous
AJAX
 Javascript
AJAX
  And
AJAXml
   X
Component-based AJAX




                The current count is X



                       Hello.wo


                                  Hello.java
Component-based AJAX




                The current count is X



                       Hello.wo


                                  Hello.java
Component-based AJAX




                The current count is X



                       Hello.wo


                                  Hello.java
                                  Hello.java
Component-based AJAX




                The current count is X



                              count
                       Hello.wo          = 0;

                                  Hello.java
                                  Hello.java
Component-based AJAX




The current count is 0
                                         The current count is X



                                                       count
                                                Hello.wo          = 0;

       HTML
                                                           Hello.java
Component-based AJAX




The current count is 0
                                         The current count is X



                                                       count
                                                Hello.wo          = 0;

       HTML
                                                           Hello.java
Component-based AJAX




The current count is 0
                                         The current count is X



                                                Hello.wo count == 0;
                                                       count       1;

       HTML
                                                           Hello.java
                                                           Hello.java
Component-based AJAX




The current count is 0                    The current count is 1
                                         The current count is X



                                                Hello.wo count == 0;
                                                       count       1;

       HTML
                                                           Hello.java
                                                           Hello.java
Component-based AJAX




The current count is 0
The current count is 1
                                         The current count is X



                                                Hello.wo count == 0;
                                                       count       1;

       HTML
                                                           Hello.java
                                                           Hello.java
Direct Action-based AJAX




The current count is 0




                                        DirectAction.java


       HTML
Direct Action-based AJAX




The current count is 0




                                        DirectAction.java


       HTML
Direct Action-based AJAX




The current count is 0




                                        DirectAction.java


       HTML
Direct Action-based AJAX




The current count is 0




                                                 DirectAction.java


       HTML




                                 count = 1;
                                  Session.java
Direct Action-based AJAX




The current count is 0




                                         DirectAction.java


       HTML




                                 count = 1;

                                            Hello.wo

                                                Hello.java
Direct Action-based AJAX




The current count is 0                The current count is 1



                                            DirectAction.java


       HTML




                                 count = 1;

                                              Hello.wo

                                                   Hello.java
Direct Action-based AJAX




The current count is 0
The current count is 1



                                         DirectAction.java


       HTML




                                 count = 1;

                                            Hello.wo

                                                Hello.java
Why use Direct Actions?
Why use Direct Actions?

•   Most of the time, you won’t
Why use Direct Actions?

•   Most of the time, you won’t
•   ‘Single Page’ applications
Why use Direct Actions?

•   Most of the time, you won’t
•   ‘Single Page’ applications
•   Separation of concerns
Why use Direct Actions?

•   Most of the time, you won’t
•   ‘Single Page’ applications
•   Separation of concerns
•   ‘Disconnected’ client (eg. Adobe Air)
MooTools is a compact, modular,
Object-Oriented JavaScript framework
   designed for the intermediate to
   advanced JavaScript developer. It
allows you to write powerful, flexible,
   and cross-browser code with its
    elegant, well documented, and
             coherent API.
MooTools is a compact, modular,
Object-Oriented JavaScript framework
   designed for the intermediate to
   advanced JavaScript developer. It
allows you to write powerful, flexible,
   and cross-browser code with its
    elegant, well documented, and
             coherent API.
Mootools
Mootools


•   Light-weight (68k minified)
Mootools


•   Light-weight (68k minified)
•   Modular (take the bits you need)
Mootools


•   Light-weight (68k minified)
•   Modular (take the bits you need)
•   Makes javascript a bit more like Java
Mootools
Mootools




Core   Class   Native
Mootools



Element   Effects   Remote




 Core     Class     Native
Mootools
Scroller   Sortable    Tips




Element    Effects    Remote




 Core       Class     Native
Notes demo
Component editor demo
Q&A
For more information:
jake.macmullin@bbc.co.uk

Mootools:
http://mootools.net

Más contenido relacionado

Más de WO Community

Más de WO Community (20)

Build and deployment
Build and deploymentBuild and deployment
Build and deployment
 
High availability
High availabilityHigh availability
High availability
 
Reenabling SOAP using ERJaxWS
Reenabling SOAP using ERJaxWSReenabling SOAP using ERJaxWS
Reenabling SOAP using ERJaxWS
 
Chaining the Beast - Testing Wonder Applications in the Real World
Chaining the Beast - Testing Wonder Applications in the Real WorldChaining the Beast - Testing Wonder Applications in the Real World
Chaining the Beast - Testing Wonder Applications in the Real World
 
D2W Stateful Controllers
D2W Stateful ControllersD2W Stateful Controllers
D2W Stateful Controllers
 
Deploying WO on Windows
Deploying WO on WindowsDeploying WO on Windows
Deploying WO on Windows
 
Unit Testing with WOUnit
Unit Testing with WOUnitUnit Testing with WOUnit
Unit Testing with WOUnit
 
Life outside WO
Life outside WOLife outside WO
Life outside WO
 
Apache Cayenne for WO Devs
Apache Cayenne for WO DevsApache Cayenne for WO Devs
Apache Cayenne for WO Devs
 
Advanced Apache Cayenne
Advanced Apache CayenneAdvanced Apache Cayenne
Advanced Apache Cayenne
 
Migrating existing Projects to Wonder
Migrating existing Projects to WonderMigrating existing Projects to Wonder
Migrating existing Projects to Wonder
 
iOS for ERREST - alternative version
iOS for ERREST - alternative versioniOS for ERREST - alternative version
iOS for ERREST - alternative version
 
iOS for ERREST
iOS for ERRESTiOS for ERREST
iOS for ERREST
 
"Framework Principal" pattern
"Framework Principal" pattern"Framework Principal" pattern
"Framework Principal" pattern
 
Filtering data with D2W
Filtering data with D2W Filtering data with D2W
Filtering data with D2W
 
WOver
WOverWOver
WOver
 
Localizing your apps for multibyte languages
Localizing your apps for multibyte languagesLocalizing your apps for multibyte languages
Localizing your apps for multibyte languages
 
WOdka
WOdkaWOdka
WOdka
 
ERGroupware
ERGroupwareERGroupware
ERGroupware
 
D2W Branding Using jQuery ThemeRoller
D2W Branding Using jQuery ThemeRollerD2W Branding Using jQuery ThemeRoller
D2W Branding Using jQuery ThemeRoller
 

Último

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Último (20)

ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 

WebObjects & Mootools