Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
MVP and MVC are mostly used patterns in Java and other languages. Is there any other list of patterns working like MVC and MVP?
Well I cant speak for Java but with big iOS projects (often using Core Data) you normally expand the MVC pattern to MVCS (Model-View-Controller-Store). The Store is responsible for fetching data provided by external sources and providing data to controllers. You do this to not mess up your controllers in such projects.
But for normal projects MVC is your way to go.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I come from Java, vanilla Java desktop software programming, recently switching to
Python
In Java, the basic routine of starting a MVC project, is making the model classes, setting up attributes, getter setters, then creating the views and coding up the logic with the controllers and constructors
Is all this relevant in Python? Creating a file for each class, heritage, method hierarchy, controllers, low coupling
I have a really hard time pre visualizing the structure and routine of a Python application , while utilizing the best from the language efficiency wise
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a Vaadin Project that I didn't wrote. I didn't do anything with Vaadin before. Now I have to implement an API and Web Services for further communication.
So my question is: Is it possible to create web services and a further URL structure to the project besides the Vaadin stuff?
Thank you for your answers.
Vaadin is just a User Interface framework - for the presentation layer.You can write your service layer separately from the presentation layer as usual. So you can use whatever framework or mechanism you are familliar with in java or better yet just add more web services in a same way the old ones are published to preserve consistency.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
is there any general development patterns for android/java such as model-view-controller (MVC) ?
i saw this question :
MVC pattern on Android
There are various pattern used in android frameworks like
Broadcast receiver uses (observer pattern) remoter service invocation uses Proxy pattern) view and view group uses (Composite pattern) Media framework uses (Fascade pattern)
A disucssion is already there here Which design patterns are used on Android?
http://www.androiddesignpatterns.com/
Have a look at those links. It may help you.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I know to create Restful web service but I don't know how to implement restful facade in java.
I would appreciate if you share some links or examples of implementation.
Your question isn't that specific, so hard to provide a targeted suggestion, but I've been using spring mvc to create restful webservices in java with a fair amount of success. Spring have an examples project, which it claims "demonstrates the capabilities of the Spring MVC web framework through small, simple examples":
https://github.com/spring-projects/spring-mvc-showcase
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
For web applications internal navigation, you usually use URLs, with an URL router/dispatcher.
Is there some equivalent pattern/analogy within a desktop app being really navigation intensive/with multiple views?
Let's say I'm in myapp://view1/subview1?state=someState and I then switch in myapp://view2/subview2/, by deconstructing it in the main controller, which decodes the first part, switches the view to view2, then calls the view2 controller with "/subview2", which itself loads "subview2", etc.
I find it to be a really KISS (keep it simple stupid) abstraction for handling "navigation" state.
Would this "pattern" be practical or an awful idea?
What would be the general plan to implement it in Java? (use URIs? URLs? Strings?)
Application Controller pattern might be a good place to start.