I think that you should take some time and try to understand Sinatra a bit more. The beauty of Sinatra is that there is practically nothing in your way to do anything that you can do with Ruby. And to answer your question yes it works with JSON perfectly fine. Just load the right library and your on your way.
- Ian ---------------------- Ian Sheridan http://iansheridan.dyndns.org ---------------------- On Sat, Nov 28, 2009 at 11:24 PM, Coffee Addict <[email protected]> wrote: > Thanks for that opinion. I'm also choosing an alternative to Rails, > which I've been using for years, and want something that has a serious > mindshare and longevity. > > Could somebody enlighten me as to whether Sinatra allows me to work > elegantly with JSON input and output, the way the Halcyon was > conceived to? > > > On Nov 23, 9:31 am, MilesTogoe <[email protected]> wrote: >> Here's some unbiased thoughts - at least our thoughts. We got tired of >> the increasing complexity and continuous changes in Rails so we looked >> for something else - we found Merb, really liked it, especially >> DataMapper. But just at the time we were going to switch a big project >> to Merb, the Rails 3 merge was announced. Just at this time we >> discovered Sinatra here was a really clean, simple framework that also >> worked with DataMapper. The only drawback was some fewer features - >> testing, helpers, and a bigger user base. >> >> So we had the choice of Rails 3, Merb, Sinatra. We ruled out Merb >> because the direction of the core developers were going towards Rails3 - >> that doesn't mean the project ceases to exist, but we didn't see a >> critical mass of both developers and community staying with it and we >> didn't want to use a "out of mainstream" framework. We use the Barnes & >> Noble test - how many (or any) books for the software are on the shelf >> ? Maybe that doesn't matter for you but for a commercial app, you >> should worry about where the support or knowledge will be in 3 yrs (if >> not longer). Although Rails3 has the big following, we knew it would >> be a long while before the whole merge thing would sort out and it would >> put us back in the Rails camp where we were looking for something >> simpler. That left Sinatra - the framework doesnt' have a huge >> community like Rails but it is so lightweight, that it's really all >> about Ruby and Ruby does have that big following. So the only question >> was - was it fast enough, stable enough, easy enough, and "professional" >> enough to use vs Rails - the answer is yes and we are quite happy. >> >> I'm sure other opinions will vary - this is just ours. Hope it helps >> you make a decision. >> >> On 11/22/2009 11:28 PM, Julian Leviston wrote: >> >> > Geez dude that's a bit biased! ;-) >> >> > Julian. >> >> > On 23/11/2009, at 5:24 PM, casret wrote: >> >> >> You are really only going to get biased answers on this list. We >> >> have done all our new projects in Merb and we are happy. >> >> > -- >> >> > You received this message because you are subscribed to the Google Groups >> > "merb" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group >> > athttp://groups.google.com/group/merb?hl=. > > -- > > You received this message because you are subscribed to the Google Groups > "merb" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/merb?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/merb?hl=en.
