The PHP 5.4 MVC with Shoes On: ActiveRecord, User/Session, Generators, SCSS, (Twitter Bootstrap) Integration, Workers, Cron Management, Image Manipulation, Caching, Git Management, Mail & Mail Parsing, OCR, Scraping, Selenium, Mustache, Markdown, Phone & Text Messaging, WebSockets, BitTorrent and much more!
maybe all view requests that dump json dump their variable output in json.variables.* so we can get assets to load dynamically under json.assets.*
then you would just have to create a generic getJSON method that dealt with assets and calls back with just the array of variables dumped by php's $this when you json($this);
maybe all view requests that dump json dump their variable output in json.variables.* so we can get assets to load dynamically under json.assets.*
then you would just have to create a generic getJSON method that dealt with assets and calls back with just the array of variables dumped by php's $this when you json($this);
APP.getView('/api', function(json) {});