Php layer or framework for rich javascript applications
===

Years ago i used server frameworks on php - codeigniter to build websites. And there was a small piece on javascript inline on pages for simplest UI effects and validation.

Situation has changed dramaticaly and now most part of web application's logic - routing, templates, cookies, pre-validation etc. are on client-side. Plus - UI has become muuuuch more sophisticated - thanks to jQueryUI and others.
But i still have to use bootstrap codeigniter installation to serve all my **interactions with database and files**.

So i am searching for simple yet extandable php *framework layer* to serve my rich-js application needs on server side.
