Monday, February 25, 2013

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

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 constructor as a means to get the data to the activity which also serves as the presenter, but I am not confident that this is the intent of the MVP with Activities and Places architecture.  I feel like I am missing something because the place tokenizer would then be responsible for serializing the DTO and any UI state - is this the implied intent of the architecture?

How are others implementing this?

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment