Back to list
Views:   3.6K
Replies:  0
Archived

Model in MVP - who will call service

Hello,
I am new to MVP and trying to build it for my customer who wants a windows application for his sales agents/employees. I am going to create a set of model classes that represent the objects. I am planning to use same objects for my service as well. this service will set these objects/classes and send it back to front end for use. I am unsure about two things:
1. Are these classes like car (has engine class, array of tyre class, color etc.) Model? I am guessing I dont need model for each view. because view can use what it wants from the model class.
2. How to I call my service on backend? somewhere service call needs to be made. Is it made by presenter or Model?

thanking you.
tirath
Tirath G, Feb 02, 2015


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2