Slotted - A Slot/Nesting Extension to Activities and Places

230 views
Skip to first unread message

Jeffrey Kleiss

unread,
Jan 24, 2013, 4:52:42 PM1/24/13
to google-we...@googlegroups.com
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.


Alfredo Quiroga

unread,
Jan 25, 2013, 8:31:54 AM1/25/13
to google-we...@googlegroups.com, google-we...@googlegroups.com
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
--
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-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@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.
 
 

V.B.

unread,
May 13, 2013, 8:46:15 AM5/13/13
to google-we...@googlegroups.com
Hello,
   Slotted looks very promising. I have a question regarding bookmarking and URLs. Does Slotted have a built-in way of representing nested activities/places? Specifically, I would like to be able to include in the bookmark the current state of all nested activities. I was going to implement this myself, but if Slotted can help here I'll just use that instead. Also, how well does Slotted lend itself to code-splitting?
Thanks.

Jeffrey Kleiss

unread,
May 13, 2013, 12:55:50 PM5/13/13
to google-we...@googlegroups.com
Slotted v1 has support for URLs for nested Activities with global parameters.  Meaning the URL will have the list of Activities with slashes and then have '?' followed by a parameter list (key=value).  I have been working on another version that allows for parameters to be attached to specific Activities similar to how the GWT A&P does it.  v2 is currently being used in a new development project.  It feels stable, but I wanted to give it a little more testing before release.

Currently Slotted doesn't provide support for CodeSplitting, but we are looking to add that over the next year.  We don't currently have a design for this, but any code splitting technique for Activities and Place can be used in Slotted.




--
You received this message because you are subscribed to a topic in the Google Groups "Google Web Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/gP_iZrIZn-o/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.

To post to this group, send email to google-we...@googlegroups.com.

V.B.

unread,
May 14, 2013, 9:56:15 AM5/14/13
to google-we...@googlegroups.com
Great, thank you! v2 sounds like exactly what we need. Do you have any estimate about when you might release v2?

Jeffrey Kleiss

unread,
May 14, 2013, 12:28:59 PM5/14/13
to google-we...@googlegroups.com
I will create a release candidate this weekend, which contains all the features that will be in the final release.  I will then be working on the documentation over the next couple months, and then make the final release once all the documentation is done.


On Tue, May 14, 2013 at 6:56 AM, V.B. <vidalb...@gmail.com> wrote:
Great, thank you! v2 sounds like exactly what we need. Do you have any estimate about when you might release v2?

V.B.

unread,
May 16, 2013, 11:29:08 AM5/16/13
to google-we...@googlegroups.com
Fantastic. Thank you!
Reply all
Reply to author
Forward
0 new messages