View - Single Page Application

1

When I discovered the SPA style I was very excited, but I was researching on some frameworks that do this, I saw that they are mvc's, but totally customer oriented (front) and this did not really please me, because my focus is to deepen on the server side.

I understood that the back would serve only to serve data and persistence (basic) as a Rest and the rest on the client.

I want to know if you can use one of these frameworks only the "view" part (single pages application)? To be able to create Spa interfaces and still be able to keep part of the responsibility in the back, halfway through.

I do not know about these frameworks like angularjs and etc, someone more experienced could guide me.

Thank you.

    
asked by anonymous 14.09.2016 / 16:47

1 answer

2

By definition, any SPA framework only deals with the V aspect of the solution (because they are frontend-based ). Some implement internally MVC / MVVM / MV * to coordinate internal processes - for example AngularJS is MVC, in the sense that HTML represents View, Controllers are just that, and Services / Factories (when used as data channels) are the template. / p>

It is up to the developer backend implement persistence (C / VM). The development and functional localization model will necessarily depend on the distribution of responsibilities, and this has more to do with the process model than the choice of platform itself.

  

[...] how to use one of these frameworks only the "view" part?

Yes . Incidentally, this would be the only way.

(Your question is a little too broad. It might be interesting to set some specific questions to help you visualize the model.)

    
15.09.2016 / 21:10