What steps will reproduce the problem?
1.I already did the Activities and Places that come with GWT and I liked it
except I felt like the Places, and mappers were involving more code and more
coupling than necessary.
2.I started using GWTP and I liked the way it reduced the size of my code, put
best practices in my architecture and added features.
3.I wanted to create a page with the presenter and view combined because the
page is so simple that a view and a presenter would be overkill. Unfortunately,
I found that it's very difficult because the Presenter class which I extend
couples everything! It expects a separate view so the only way to combine them
is to not extend the Presenter. The problem with that is that I the Presenter
is responsible for revealing. The only way to still reveal is to do it myself.
Is there a better solution than doing this myself? If not I think that there
should be a Presenter(or Activity) interface that is able to be displayed but
is in know way coupled to the concept of Presenters and views. That way it'd be
easy to fit a page in to this system of page navigation and still organize the
code inside that page however I want without rewriting code. Activities and
Places in GWT is already like this.
Original issue reported on code.google.com by JGleo...@gmail.com on 5 Jan 2015 at 10:18
Original issue reported on code.google.com by
JGleo...@gmail.com
on 5 Jan 2015 at 10:18