locked
Convert MVP architecture to SOA RRS feed

  • Question

  • Currently we are following MVP pattern in our project. We need to convert it into a SOA by our client.

    And we are developing a mobile app and that is the cause for the shift to SOA.

    What all the changes needs to be done for this conversion?


    Krishna kumar

    Thursday, December 20, 2012 5:46 AM

All replies

  • MVP is a UI side design pattern that is used to decouple presentation logic from the view and this decoupling can still be applicable for various application. SOA on the other hand is a whole different thing. To me, even if you follow Service Oriented Architecture, you may in the end consume those services in some sort of UI. If that UI should be done using technology such as MVC framework,  following this frameworks design approach will basically provide you the same functionality of decoupling your presentation logic from the view (same as what you were already doing:)). If the app has to be done using silver light on the other hand, you may prefer using MVVM instead to get advantage of the data binding functionality the technology offers. What i am trying to say is, the logic of separating presentation logic from the view will still be needed. Even if you can still use MVP, it will be better to use the respective UI side design pattern mentioned above depending on the technology to be used. If you are designing only the service part and won't do any UI as at all since the service will be consumed by others clients, well, in this case you don't even need the MVP here.

    Please mark as answered if this answers your question.

    Thanks,

    BSharper

    Friday, December 28, 2012 12:44 AM