Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

can I and how can I use php frameworkMVC and javascriptMVC together

$
0
0
hi.
I read javascriptMVC's documents and I loved it.
but I don't know how to use it in a large scale.

I think in server side an MVC framework is needed or can help so much.
and I've worked with server side php frameworks.


I mixed up


but as i think in javascriptMVC projects most things are with AJAX and client side
will handle events on browser happens and do the AJAX request and manage the
answers and data from server and show them to user as a graphical thing.

but as I think in php mvc projects we have controllers (and actions) that any of them is a seperate
page with one entry point. my point is that the pages are whole http requests.

as I guess the combination of these two should be in a form of A SINGLE or FEW heavy files (with compelete js , css , imgs , etc libraries and file) that loads and managed by another js libs such as steal.js .
and now user can work with site and its actions (as events) cause running js functions that may change something graphical or cause a AJAX request.(like yahoo mail that most things happens in one page).

but what about controllers and action? (i mean a lot of controllers and actions (as a lot of pages))
as i said i think because of AJAX the number of controllers and actions should be a little.

I think because of JMVC most controllers (and actions) should turn to AJAX responsers.
but what about layouts and views?

I mixed up please help me!

and accept my apologize because of my bad english.

thanks.

Viewing all articles
Browse latest Browse all 3491

Trending Articles