I am starting new project using GWT but in this project view will be dynamic. I will read all metadata from XML configuration files and create view according to this metadata. I want to use MVP architecture with GWT but I need to know how I can use MVP for dynamic view, because all samples I see have static contents. Do you have any suggestions?
Creating dynamic view in GWT using MVP Arch
1k Views Asked by firstthumb At
1
There are 1 best solutions below
Related Questions in GWT
- Set log4j.properties for GWT
- Grid with rows in anchor not visible in GWT (UIBinder)
- PlayN and Firefox issues
- Simulate Key Combinations by scanning bar code
- Server Side Implementation in GWT
- gwt 2.0.0 in Eclipse Luna & gwt plugin version 3.8.0
- Disabiling 'X mark' in IE11 compatibility mode
- GWT: Site layout with frames
- GWT Datagrid slow scroll due to css rendering
- GWT Eclipse: using classes from other projects cause "Server class ... could not be found in the web app, but was found on the system classpath
- Cannot read property removeChild of null in jsni
- Debugging GWT app in production by loading SourceMaps from local environment
- GWT DataGrid column width issue after removing columns
- How run several instances of GWT application in IntelliJIDEA
- How to deal with large multi-module applications on GWT
Related Questions in MVP
- How to apply MVP pattern to android project
- Searching for an example of class-binding by a interface
- MVP in WinForms ( presenter & program.cs)
- Maintaining different build flavors across modules in Android Studio
- Can I create View and Presenter in different Project in MVP Pattern
- Android MVP communications
- Android: MVP. Right way to communicaticate between components
- MVP, set the view of the presenter to null on destroy?
- MVP for android. Is it worth the effort?
- Dagger 2 multiple Retrofit instances built with different URLs for hitting different APIs using constructor injection
- Android : best case for communicating adapter with Activity/Fragment
- How to data-bind my View's button to the Model, via its interface in the Presenter
- How to test second activity started in instrumentation test in MVP?
- Android. Interact with menu from Presenter
- Android MVP architecture - communication between repository and view
Related Questions in GWT-MVP
- Understanding GWT AbstractActivity's start method
- GWT Activities and places: Reusing modal dialogs?
- GWT 2.1 MVP (Activities/Places) and Tabbed Displays
- What is the advantage of the MVP pattern (GWT)
- Remove date from DatePickerCell in gwt
- Best practice to creating View layer in MVP GWT
- GWT Places & Activities - passing around collections
- Activity handlers don't get removed
- Getting rid of GWT MVP boilerplate
- How to handle Datagrid column's events from Presenter?
- Many MVP's for the same page?
- How To: UiBinder + GWT MVP + multiple independent display areas
- Creating dynamic view in GWT using MVP Arch
- Why two approaches of implementing interface (view and presenter) used GWT-MVP tutorial?
- GWT ListBox with HasValue and @UiTemplate
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The whole point of MVP is to have a very thin View and all application logic inside Presenters, so that Presenters can be unit tested locally without a View (which needs a browser).
Usually there is one View for one Presenter. In your case Views are going to be generated dynamically, which means there would be one DynamicView (loading different XML) and various Presenters each corresponding to one XML. It would make sense that Presenters are starting the DynamicView with the correct XML.
Google just released GWT 2.1 which introduces new MVP functionality: http://code.google.com/webtoolkit/doc/trunk/DevGuideMvpActivitiesAndPlaces.html