Welcome Guest, Not a member yet? Register   Sign In
I want to develop a site that has 1 page and many, many AJAX calls
#1

[eluser]Unknown[/eluser]
I want to develop a simple site that has only 1 page, but many AJAX calls (using jQuery) that load in content depending on what's being clicked on the page.

From my understanding of MVC, I would create 1 controller to handle the single page. However, how do I handle the content being loaded in via AJAX? Would the content being loaded in be different controllers/views?

What about models? This single page will be loading content from different tables, so would I have a model for each table? Can that model be accessible by multiple controllers?

I understand these may be simple questions, but I come from an asp.net background and simply trying to wrap my head around MVC. I'd really appreciate the help Smile

Bara


Messages In This Thread
I want to develop a site that has 1 page and many, many AJAX calls - by El Forum - 10-11-2009, 06:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB