Tuesday, July 12, 2011

Review: Using GWT and Eclipse to Build Great Mobile Web Apps



Summaries:

  • Design different view for different devices (Mobile, Tablet, Desktop)
  • Specify each ViewFactory with its corresponding Form Factor in the config file
  • Orientation Change: Use addResizeHandle, check for Potrait (Height > Width) or not, and adjust accordingly
  • Use MVP Pattern: Business Logic consist of Presenter (driving the View/Factory) and Model (DTO, RPC, cache, validation)
  • Make it Snappy: use ClientBundle, use Code Splitting/runAsync
  • GWT helps dead code elimination, duplicate function removal, obfuscation
  • Use Application Cache to load resources (works with iPhone and Anroid, Chrome, Safari, Firefox). Use AppCache linker (GWT 2.4).Use LocalStorage (GWT 2.3). Application Cache might still have some defects.

No comments:

Post a Comment