Full Ajax PHP MVC Framework

I want to create a website. I want to use Ajax for every hyperlink and form. I wanted to use jquery, but it's hard to create common code for each link. I want to know if there is any PHP MVC Framewrok that works with ajax? Thanx.

+7
ajax php frameworks model-view-controller
source share
2 answers

@Kenan, was not in December, but now there is Agile Toolkit . It is also an open source.

How it works, you put the "View" on your "page", and then you can manipulate it through javascript. So here is an example:

$view=$page->add('LoremIpsum'); $button=$page->add('Button')->setLabel('Reload Ipsum'); $button->js('click', $view->js()->reload()); 

Pressing the button will use AJAX to reload the page section.

Please comment and let me know what if this is what you were looking for. As a contributor, I'm interested.

+4
source share

They are currently not β€œcomplete” ajax mvc for PHP - BUT:

Check out atk-framework.com, xisc.com or cakephp.org.

Since they are frameworks, the interfaces that you will use for the application can be implemented on a platform on ; you can use the MVC-framework as a platform for the self-written wrapper that you put on it.

 [ [FRAMEWORK] <------> [CONTROL] <------> [VIEW] ] <------> [APPLICATION] 

If you implement it like this, the application uses the second level, which is managed by mvc and is requested through the internal API.

It may seem complicated, but well, the only and most logical solution for me :)

0
source share

All Articles