RubyFlow : Ruby Community Link Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Rails, Merb vs. Caffeine

Vancouver.rb Q&A with Sunny Hirai on Rails, Merb vs. Caffeine and Processor, Database and Storage Scaling, and More
With Caffeine, you can take any application you’ve built and, with no code changes, drop it into your new project. You could take somebody else’s forum app, for example, and use it in your project. Caffeine handles the differences between user models, database storage, file storage, templating, etc. To make it work, we had to rethink everything from routing, to the database, to the user model and in many cases the abstractions are in different places than Rails, Merb or other popular frameworks.

Comments

Sounds like gobbly gook until i see some code :)Christian - August 27, 2008 03:11
Oh god here we go again. 10 years ago when PHP started taking off every man and his dog decided to build a CMS in it. This has all the hallmarks of another Bubble idea. rarepleasures - August 27, 2008 06:32
My new framework goes one better than Caffeine. It's called Cocaine, and with Cocaine you can take any app ever developed on any platform, using any language, even including apps which were only partially implemented or even just mulled over quite a bit, and you can drop it into your project. Cocaine handles the differences between data abstractions, personalities, sexual preferences, file storage, templating, sexual preferences, syntax, bugs, user models, fashion models, and sexual preferences.

To make it work, we had many, many, many meetings in which we discussed the inner workings of Cocaine. We experimented with Cocaine, tested Cocaine over and over and over, and, due, we are STILL testing Cocaine. It's AWESOME. Dude, you can take any app, EVER, even ones written for, like, virtual machines powered by hamsters, man, powered by freakin' SYNCHRONIZED SWIMMERS, and Cocaine will totally run it. And what is up with that dude synchronized swimmer who was, like, fainting? Did you see that? What the hell, man? He's, like, IN THE WATER but he's DEHYDRATED? Talk about an irony free zone. Or something. Man, I'm thirsty. I am totally typing right now. I've got to stop. Somebody stop me! What is this about? Oh. Yeah. Cocaine. One point oh. That's what I'm talkin' about.Woofdog - August 27, 2008 18:24
FYI: If you have questions about Caffeine you're welcome to send them to the Vancouver.rb mailing list/forum. Sunny Hirai is a member and subscriber. Cheers.geraldbauer - August 27, 2008 19:07
So where is the code? All I could find is a php-based framework...and I'm guessing that's not it....heyhey - August 27, 2008 20:02
Christian, fair enough. Just a note that it was an interview and not the announcement of the framework. The interview is broader than the Caffeine framework.

Rarepleasures, FYI, it's not a CMS, it's a framework and, like Merb, it's designed to solve a very specific set of problems that other frameworks haven't addressed yet. Packaging apps is just one of the problems we needed to solve. The other major ones were multi-threading, built-in clustering, and scalable back-end agnostic storage. Also, a note that this isn't a pet project designed to explore ideas and theories as a student. Many months have already been spent on the framework itself. It's based on my experience building the CityMax website builder which hosts tens of thousands of sites.

Believe me, I would much rather have used Rails or Merb as they are great but it didn't solve the specific problems we needed to have solved for our particular project.

Woofdog, originally I had joked about calling it Ruby on Crack so your jest isn't far off. Ultimately, I changed to the more politically correct Caffeine.

HeyHey, As mentioned in the interview, it is part of a production project like Rails was originally and is not as of yet open source. We would like to release to the open source community once it has stabilized.Sunny Hirai - August 27, 2008 23:21
What exactly was it that Rails or Merb were so incapable of achieving
that it made sense to develop a new framework rather than contribute
to one of those projects and add the desired functionality? Matthew - September 16, 2008 10:07
Woofdog you totally killed me. can i be core tester?Eimantas - September 22, 2008 18:23
Wedding stationery is hair extensions something that you cannot ignore while planning your wedding; but at the same time it can cost you quite a handsome amount if lace wigs you let yourself jump for costly designer wedding stationery or rampant ideas. If you want to stick to a budget arrangement, dress up games then you must know how to save on the stationery for weddings. bridesmaid dresses Amarriage itself calls for high expenditures which is why it is necessary that one tries to sensibly save where possible. wedding invitation wording But this does not mean poor quality.
wedding - May 07, 2010 04:57
If Lashair extensions
Vegasbridesmaids dresses appeals as thewedding invitations place to exchange wedding vows chances are you're going to have a wedding memory to last a mention hairstylesthe option of a very cheap Las Vegas wedding. Whatever reason you are planning your cheap Las Vegas wedding, dress up gamesit's important to know that you don't need to spend a fortune in Las Vegas. As a matter of fact, you can plan a cheap Las Vegas wedding that meets all your needs and every budget.


lixiaoyu - May 08, 2010 03:11

Post a Comment

Note: If you are a registered user, you can log in to populate these fields.

You may use ONLY these HTML tags to format your comment:
<a href="" title=""> <b> <blockquote> <code> <em> <i> <strong>
Do NOT use <p> tags. Just use newlines :-)

t
J bum
o
F bum
j
s
o
X willy
n
s
e
n
N tits
d