mardi 12 avril 2016

Difference between server (play framework) MVC and client (AngularJS) MVC?

I am totally new to web development (expect I have been using pure php in past ,but no frameworks..) I was working mainly on Java desktop applications, so therefore I was looking for MVC framework and according to tips here on stackoverflow . I gave a try to play framework. I now understand basic of MVC in this framework and I managed to create page. However at client side I have only css (bootstrap) and any interactive components and I really do not like it, because from desktop application I am used to reactive components. Therefore I tried using javascript (jquery) to perform some action but it is complicated (or at least long)

As there are also javascript framework , I looked into AngularJS and I was suprised it also has MVC architecture?

Why do I need two MVC frameworks?

What is best approach for reactive web appliaction? If I use play-framework only as REST service (or something like this) and AngularJS for binding results from service to html and dynamicaly updating page? Is this good approach?

Or how are modern dynamic web page created? How is it working in "the backround" ?




Aucun commentaire:

Enregistrer un commentaire