Hi folks,
I just opensourced a project I was using in several GWT projects to handle page navigation. It is something between Activities and Places and the full featured GWTP:
GWT Views - https://github.com/gilberto-torrezan/gwt-views
It's a framework to define Views using simple annotations. A View is a page with a unique URL token. Something like this:
Typing "youapp#home" at the address bar will render the HomeView Widget. As simple as that. All the code-splitting, presenter layer, Google Analytics tracking is done automatically for you.
The framework supports user roles based authorization for Views as well. You can define the allowed roles by using:
And there's a lot more. The project is published at Maven Central, so it is simple to download and try it out. Please access the project page for more information.
And of course, feedback and pull requests are always welcome!
Thanks.
--
Gilberto
-- I just opensourced a project I was using in several GWT projects to handle page navigation. It is something between Activities and Places and the full featured GWTP:
GWT Views - https://github.com/gilberto-torrezan/gwt-views
It's a framework to define Views using simple annotations. A View is a page with a unique URL token. Something like this:
@View("home")
public class HomeView extends Composite {
//...
}
Typing "youapp#home" at the address bar will render the HomeView Widget. As simple as that. All the code-splitting, presenter layer, Google Analytics tracking is done automatically for you.
The framework supports user roles based authorization for Views as well. You can define the allowed roles by using:
@View(value = "admin", rolesAllowed = "ADMIN")
public class AdminView extends Composite {
//...
}
And there's a lot more. The project is published at Maven Central, so it is simple to download and try it out. Please access the project page for more information.
And of course, feedback and pull requests are always welcome!
Thanks.
--
Gilberto
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment