News for hackers. Stuff that matters.
Re:Ruby Frameworks? Which one? Bye bye Rails. by beggi on Tuesday January 31, 2012 @07:27AM (#3532956)
This reminds me of Flask for Python (nb. although more is built in to Padrino, most of the functionality for Flask is provided by plugins). I've recently started using Flask for new projects in favor of Django. I feel that most of the libraries I use are framework agnostic, stuff like ORM (SqlAlchemy), PDF generation, redis/mongodb adapters etc, so being able to pick what fits and leave the cruft out is great.

But besides that, I feel that in recent times development is moving much more to the client - and client code like Javascript/CoffeeScript, Java for Android and Objective C, is getting much bigger at the expense of server side code. This is recently evidenced by the new 37signals Basecamp Next app which is 50/50 CoffeeScript/Ruby.

So the server side programming is on track to becoming "just" a API endpoint for all these different technologies and I think micro frameworks like Flask and Padrino are very well suited for that.

Re:Ruby Frameworks? Which one? Bye bye Rails. by viandante on Tuesday January 31, 2012 @09:24AM (#3533315)
Could you go more in detail with your experience with Flask? I am new to web development and I am developing a landing page in Flask. I tried to use Django or Rails in the past but I just hated not being able to understand what I was doing. Flask is really, really, straightforward, I rolled out my own authorization plugin as a decorator and it feels good to be so close to the application. But I keep thinking if I should move to RoR in case my landing page succeeds and I will have to build the real application. Mostly, I am concerned about hosting and scaling...
Re:Ruby Frameworks? Which one? Bye bye Rails. by tizoc on Tuesday January 31, 2012 @08:29AM (#3533108)
I'm working on Fiasco, which intends to be similar to Flask but for Ruby. It is still a work in progress, but you can see it here: http://tizoc.github.com/fiasco
Re:Ruby Frameworks? Which one? Bye bye Rails. by jemeshsu on Tuesday January 31, 2012 @08:26AM (#3533095)
Have you try Pyramid? It's similar to Flask.