Your SlideShare is downloading. ×
Data Loading for Ext GWT
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Data Loading for Ext GWT

2,837
views

Published on

The Ext GWT Data Loading API provides a powerful and flexible mechanism for retrieving remote or local data and binding the data to user interface components. During this session, you will learn will …

The Ext GWT Data Loading API provides a powerful and flexible mechanism for retrieving remote or local data and binding the data to user interface components. During this session, you will learn will learn the difference between Data Loaders, Proxies and Readers and how they work together.

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,837
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
45
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Ext GWT Data Loading DARRELL MEYER, SENCHA SVEN BRUNKEN, SENCHAMonday, November 29, 2010
  • 2. Overview Conference App Models Loaders Loading Examples QuestionsMonday, November 29, 2010
  • 3. Conference AppMonday, November 29, 2010
  • 4. Technology Stack Ext GWT 2.2.1 GWT 2.1 Java Persistence API (JPA) Google App Engine (GAE) RequestFactory GWT MVP Dependency Injection with Gin Download at http://dev.sencha.com/playpen/gxt/conference-app.zipMonday, November 29, 2010
  • 5. IDE & Plugins Eclipse IDE for Java EE Developers (Helios 3.6.1) http://www.eclipse.org/downloads/ Plugins Maven Integration for Eclipse http://m2eclipse.sonatype.org/sites/m2e Maven Integration for Eclipse WTP Integration http://m2eclipse.sonatype.org/sites/m2e-extras Google Eclipse http://code.google.com/eclipse/Monday, November 29, 2010
  • 6. ModelsMonday, November 29, 2010
  • 7. Models & ModelData Generic data type used throughout Ext GWT Allows form of introspection Interface based with default implementationMonday, November 29, 2010
  • 8. Change Events & Listeners Implement ChangeEventSource Model implements ChangeEventSource ChangeListeners added to Models Models Events Update Add, Remove, Update TreeModelMonday, November 29, 2010
  • 9. BeanModel Create Model instances from POJOs Use GWT RPC with non-models POJOs need to be marked BeanModelMarker (indirect) BeanModelTag (direct) BeanModelLookup & BeanModelFactory BeanModelReaderMonday, November 29, 2010
  • 10. LoadersMonday, November 29, 2010
  • 11. Loader DataProxy DataReader Responsible for loading remote data Delegates work to DataProxy & DataReader Interface based with default impls Loader Supports 3 events BeforeLoad Load LoadException Loader ListLoader TreeLoader RemoteSort PagingLoader TreeLoaderMonday, November 29, 2010
  • 12. DataProxy Retrieve remote content Any data type supported DataProxy HttpProxy MemoryProxy RpcProxy ScriptTagProxy PagingModel MemoryProxyMonday, November 29, 2010
  • 13. DataReader Coverts raw data to ModelData instances DataReader BeanModel TreeBean TreeModel JsonReader ModelReader XmlReader Reader ModelReader Reader JsonLoad XmlLoad ResultReader ResultReaderMonday, November 29, 2010
  • 14. Loading ExamplesMonday, November 29, 2010
  • 15. DataProxy Example Example uses ScriptTagProxy, HttpProxy, & RpcProxyMonday, November 29, 2010
  • 16. DataProxy Example Define the data with ModelType Create DataProxy Create DataReader Create LoaderMonday, November 29, 2010
  • 17. Paging Loader Example Server implementation using FilterPagingLoadConfig PagingLoadResultMonday, November 29, 2010
  • 18. Questions?Monday, November 29, 2010
  • 19. Thanks! Twitter @darrellmeyer Portions of this presentation from the GWT documentation licensed under the Creative Commons Attribution 3.0 LicenseMonday, November 29, 2010