4 ms·
I wrote a code generator that generates a Backbone.js app based on a MySQL schema. It uses PHP, but mainly all the PHP does is provide the REST API for backbon
by jakejake 14y ago
I wrote a code generator that generates a Backbone.js app based on a MySQL schema. It uses PHP, but mainly all the PHP does is provide the REST API for backbone. I'd like to think I've done a decent job with the organization of the client code.
I went with a pretty bare-bones setup using Underscore templates (since they come for free with Backbone) and using the built-in features without additional extensions (like model binding). But I was able to get some fun stuff in there like collection pagination. If anybody would care to take a look and give me some feedback there's a live demo so you don't have to install anything. It's at http://phreeze.com/ http://phreeze.com/
- rexreed 14y agoWow - I think this is great!
- jakejake 14y agothanks! any feedback or help is absolutely welcome. this is my first major github project so i'm still figuring things out (long time svn user, new to git) but the framework development is very active and in use on production servers.
- ebiester 14y agoI love it! I Was looking at doing something similar with Scala.
- uniclaude 14y agoGreat! I made something similar three years ago, but I admit that even if it was good enough for my freelance jobs, it was nowhere as polished as yours. I really like it. Thanks for sharing.