Answer the question
In order to leave comments, you need to log in
JS/PHP or JS/(foo) frameworks for building full ajax systems?
Hello. I'm interested in building full ajax systems for the night and the next day.
I'm not the only one who probably thought about this, so I'm looking for some ready-made systems.
In my opinion, it seems to me that in such systems the controller and view are completely placed in the browser, and the server runs only behind the model - in fact, like the VKontakte API with sessions and cookies and transfers all data via json.
Preferably jQuery as the basis for working with application events, php as a server. (It seems to me that for the convenience of development this is a fairly integrated system, so I wrote it like this)
It seems to me that it should work somehow like this:
There is some code in the JS browser that dynamically loads views on demand, and other controllers (read event subscribers in jQuery), and both are essentially static data. Next, the code calls the server to load the data. The system, of course, must be equipped with a template engine, I saw it somewhere in jQuery plugins. The system probably caches views and controllers and probably has functionality for caching data. It is desirable that the system should somehow load additional presentation styles itself, and I don’t know how, but it’s better that they don’t conflict (dynamic loading / unloading).
Well, something like this I'm looking for. Tell me what you have, what you use, what reviews, I will be grateful.
Answer the question
In order to leave comments, you need to log in
We use Backbone.js and are very satisfied. Good documentation, there are a lot of extras. information (on stackoverflow backbone.js popular tag) and howto. We separate the logic from Vyushek (a separate controller is created), so the code is not littered. But in most howtos, the View is the controller. The taste and color ... There is also a good template engine, although you can screw another one.
We build applications using Ant, but there are a lot of other examples on the net (r.js for example)
backbonetraining.net/resources - many useful links
Under all of the above (php + js + ajax), only Yii Framework is suitable .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question