Re: DTO as a place constructor parameter in MVP with Activities and Places

2013-02-26 Thread Craig Hawkins
Thanks for your perspective. Passing an object ID around certainly seems better than serializing the whole data object in the tokenizer, especially considering that the data object can be cached. I read somewhere on a blog yesterday where someone chose to implement the presenter in a separate

DTO as a place constructor parameter in MVP with Activities and Places

2013-02-25 Thread Craig Hawkins
I have looked at the MVP with Activities and Places examples in the Google GWT development docs and tutorials and started creating a simple app. I am now looking at editing an object from a datastore and have a DTO representation of the object. It seems natural to pass this DTO to a place con

Re: How to implement admin features/sections in app

2011-11-28 Thread Craig Hawkins
If the difference between the download size of your UI for admins versus regular users is large than you may want to consider splitting the UI as suggested elsewhere in this thread. You will have to decide if this is worth the effort in your case. My understanding of the client side of GAE applic

Re: How to implement admin features/sections in app

2011-11-27 Thread Craig Hawkins
Hi Drew Secure your server/servlets first and UI second. Make sure all incoming calls to the server tier deny unauthorized users access to execute administrative operations. When you do this you don't have to worry if the user attempts an admin activity in the UI because they will be denied in t