I want to create a website. I want to use Ajax for every hyperlink and form. I wanted to use jquery but it is hard to create a general code for every link. I want to know if there is any PHP MVC Framewrok which works with ajax? thanx.
@Kenan, There wasn't in december but now there is Agile Toolkit. It's open source too.
The way how it works is you put a "View" on your "Page" and then can manipulate with it through javascript. So here is example:
$view=$page->add('LoremIpsum');
$button=$page->add('Button')->setLabel('Reload Ipsum');
$button->js('click', $view->js()->reload());
Clicking button would use AJAX to reload the section of the page.
Please comment and let me know what if this is what you were looking for. As a contributor i'm interested.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With