Friday, January 25, 2013

Re: Slotted - A Slot/Nesting Extension to Activities and Places

Very cool and extremely useful indeed. So far I have only read the documentation, haven't actually used the framework yet but the way this is architected/implemented at least at first glance seems to be right on. Would not mind it at all if this made its way into GWT core.

Great work, thank you for sharing it.

Sent from my iPhone

On Jan 24, 2013, at 4:52 PM, Jeffrey Kleiss <jeffg.npc@gmail.com> wrote:

We have just released the open source project Slotted version 0.1, and we would love to hear your feedback and suggestions on the project.  Slotted can be found here: http://code.google.com/p/slotted/.

Here is a brief description:

Slotted

The Slotted framework is an extension of GWT Activities and Places (A&P), which adds the ability to nest Activities inside other Activities. Slotted has retained much of the A&P API, and has only changed where needed to support nesting. This allows for easy migration of existing A&P projects.

Just like Activities and Places, Slotted is a history management framework that allows you to create bookmarkable URLs within your application, thus allowing the browser's back button and bookmarks to work as users expect. It maybe used in conjunction with MVP development, but is not strictly speaking an MVP framework.

If you haven't seen GWT's Activities and Places, you can read GWT's documentation here: https://developers.google.com/web-toolkit/doc/latest/DevGuideMvpActivitiesAndPlaces

Why Nesting?

GWT's Activities are great, and provide a great flow for page initialization and page navigation. Now imagine a page with a TabPanel. Wouldn't it be great if each Tab was setup like an Activity? Wouldn't it be great to have delayed initialization and navigation checks?

This is why Slotted was created. Slotted allows you to organize your entire site into hierarchy of Activities. You no longer need to manage complex Views/Activities yourself. You can divide these complex pages into many Activities, and allow Slotted to manage the nesting structure and provide nice bookmarkable URLs for these complex views.

Getting Started

Want to get started using Slotted? Take a look at the Overview and MigrateGWTActivitiesPlaces. You can also find code samples here.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment