Back to list
Views:   5.9K
Replies:  1
Archived

REST API calls from the main application

While reviewing “PRO SPARK 4.5” project, I understand that MVC controllers are directly accessing the Repository layers. We have REST (Web API) in application, can we utilize API layer instead of directly accessing repositories?
Vivek Sandam, Mar 05, 2014
Reply 1
Yes, if you have a rich API that supports the entire application functionality you can use the Web API. 
The only thing to remember is that the performance will not be as good as with direct Repository calls. 

Hope this helps. 
Jack Poorte, Mar 08, 2014


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.3.0