4 ms·
The main con in the article is that you are basically creating 2 applications in the same time (web API and JS Client). But, this is also a pro in the same tim
by markokocic 15y ago
The main con in the article is that you are basically creating 2 applications in the same time (web API and JS Client).
But, this is also a pro in the same time. That way, you are forced to layer your application(s) appropriately, it is much easier to test and faster to develop (browser F5 instead of redeploy), and, as a bonus, you get nice rest API that you can expose to your clients or third-party developers.