Rails is just an API
blog.alexmaccaw.com
Rails is just an API
1–10 of 114 posts
Re: Rails is just an API
#2Even if you prefer vanilla javascript, still is an awesome combo.
Re: Rails is just an API
#3Rails/Backbone will work well for the time being but I wonder which way the balance will swing? Will we have fat Rails models or fat Backbone models? If it is a fat Backbone model, then maybe direct database queries is the solution, cutting out Rails entirely. CouchDB and others already support this and could make it even simpler in the future.
Re: Rails is just an API
#4Re: Rails is just an API
#5I usually just go with wherever the Rails team is taking the framework. For some legacy sites, I may stick with wherever they're headed.
For new projects, I really view Rails as just the web api that feeds my Backbone framework.
Re: Rails is just an API
#6From my perspective we're coming full circle back to client/server desktop apps... only instead of C++, we're doing it with js inside a browser container... I've done ActiveX controls and Flash components... It's not that much of a stretch.
Re: Rails is just an API
#7This is how I feel about Flask. I've been using it with Backbone.js and they make a great combo: Flask API serving JSON, and the rest of the logic on the client.
Re: Rails is just an API
#8Re: Rails is just an API
#9Re: Rails is just an API
#10The caveats in moving state to the client is that it's a huge perceptual shift for developers, with a steep learning curve. From my perspective we're coming full circle back to client/server desktop apps... only instead of C++, we're doing it with js inside a browser container... I've done ActiveX controls and Flash components... It's not that much of a stretch.