Ruby for web without rails

I dont really like frameworks, i tryed to work with rails and i didnt
like, i tryed ramaze too, its nicer then rails to me but still isnt what
im looking for, have any way to make web apps in ruby like we do in php?
ppl say alot that mod_ruby is very bad, have a alternative?
or maybe use rack and thin/mongrel?

anyone got any tip?

···

--
Posted via http://www.ruby-forum.com/.

Rack makes it possible to write scripts in a CGI style without caring
what server is actually serving them.

Sinatra is pretty nice as a framework-for-people-allergic-to-big-frameworks.

···

On Fri, May 16, 2008 at 10:34 AM, Diego Bernardes <di3go.bernardes@gmail.com> wrote:

I dont really like frameworks, i tryed to work with rails and i didnt
like, i tryed ramaze too, its nicer then rails to me but still isnt what
im looking for, have any way to make web apps in ruby like we do in php?
ppl say alot that mod_ruby is very bad, have a alternative?
or maybe use rack and thin/mongrel?

anyone got any tip?

--
Avdi

Home: http://avdi.org
Developer Blog: Avdi Grimm, Code Cleric
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com

Vintage is pretty similar to PHP. (I wrote it)

--Jeremy

···

On Fri, May 16, 2008 at 10:34 AM, Diego Bernardes <di3go.bernardes@gmail.com> wrote:

I dont really like frameworks, i tryed to work with rails and i didnt
like, i tryed ramaze too, its nicer then rails to me but still isnt what
im looking for, have any way to make web apps in ruby like we do in php?
ppl say alot that mod_ruby is very bad, have a alternative?
or maybe use rack and thin/mongrel?

anyone got any tip?
--
Posted via http://www.ruby-forum.com/\.

--
http://jeremymcanally.com/
http://entp.com

Read my books:
Ruby in Practice (http://manning.com/mcanally/\)
My free Ruby e-book (http://humblelittlerubybook.com/\)

Or, my blogs:

http://rubyinpractice.com

Diego Bernardes wrote:

I dont really like frameworks, i tryed to work with rails and i didnt
like, i tryed ramaze too, its nicer then rails to me but still isnt what
im looking for, have any way to make web apps in ruby like we do in php?
ppl say alot that mod_ruby is very bad, have a alternative?
or maybe use rack and thin/mongrel?

anyone got any tip?

Well, there is mod_ruby (showing its age, though), there's fastcgi and
fcgi, good old CGI, JRuby + Java application server...

As far as frameworks go: Merb is supposedly lightweight (I haven't used
it, so I can only repeat what I heard), and so is, apparently, Waves
(same cave at as with Merb).

Oh, speaking of Merb: There's eruby/erb (C based embedded Ruby/Ruby
based embedded Ruby), which is probably the closest to a PHPish Ruby
environment.

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ For your information, I'm staying like this, and everyone else can
just get used to it! If people don't like me the way I am, well TOUGH
BEANS! It's a free country! I don't need anyone's permission to be the
way I want! This is how I am - Take it or leave it! -- Calvin

just use rails/ramaze/merb and put everything in the view. merb and ramaze both have very small footprints so this is a really possibility.

a @ http://codeforpeople.com/

···

On May 16, 2008, at 8:34 AM, Diego Bernardes wrote:

I dont really like frameworks, i tryed to work with rails and i didnt
like, i tryed ramaze too, its nicer then rails to me but still isnt what
im looking for, have any way to make web apps in ruby like we do in php?
ppl say alot that mod_ruby is very bad, have a alternative?
or maybe use rack and thin/mongrel?

anyone got any tip?

--
we can deny everything, except that we have the possibility of being better. simply reflect on that.
h.h. the 14th dalai lama

It's far from efficient, but there's a Camping presentation in my signature link that also shows how to roll stuff up using just WEBrick: it was partly based on a web app stack I wrote for a work project a couple of years ago. This is the sort of thing Ruby excels at :slight_smile:

Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net

···

On 16 May 2008, at 15:34, Diego Bernardes wrote:

I dont really like frameworks, i tryed to work with rails and i didnt
like, i tryed ramaze too, its nicer then rails to me but still isnt what
im looking for, have any way to make web apps in ruby like we do in php?
ppl say alot that mod_ruby is very bad, have a alternative?
or maybe use rack and thin/mongrel?

anyone got any tip?

----
raise ArgumentError unless @reality.responds_to? :reason

Rack is a great place to start. My blog (http://www.hokstad.com/blog\)
is "framework-less", built on separately picked components + Rack to
glue it together. What really makes it nice (and much cleaner than
normal CGI) is that it's well suited to writing "filters" (often
referred to as Rack middleware) that pre- or post-process the data
coming in or being returned, so you can write very loosely coupled
components independent on frameworks - I've posted on my blog about a
couple of the components I've written.

As an added bonus, if you later want to use a framework, there are
adapters so you can use Rack as the interface between arbitrary web
servers and whichever framework you pick.

Vidar

···

On May 16, 3:34 pm, Diego Bernardes <di3go.bernar...@gmail.com> wrote:

I dont really like frameworks, i tryed to work with rails and i didnt
like, i tryed ramaze too, its nicer then rails to me but still isnt what
im looking for, have any way to make web apps in ruby like we do in php?
ppl say alot that mod_ruby is very bad, have a alternative?
or maybe use rack and thin/mongrel?

Diego Bernardes wrote:

I dont really like frameworks
[...]
any way to make web apps in ruby like we do in php?

Just for the record: there isn't really a serious project that uses
"bare php".

Drupal, Wikipedia, WhatEver, they all had to invent the wheel and built
some framework.

···

--
Posted via http://www.ruby-forum.com/\.

I forgot camping, gonna give it a try, ive look the freatures, seams
nice for a 4kb framework >.<
Vintage is nice too, very small, very fast :slight_smile:

Maybe in a future i build a framework on top of this microframeworks
that i like >.<

Well, thx everyone!

···

--
Posted via http://www.ruby-forum.com/.

Albert Schlef wrote:

Diego Bernardes wrote:

I dont really like frameworks
[...]
any way to make web apps in ruby like we do in php?

Just for the record: there isn't really a serious project that uses
"bare php".

Drupal, Wikipedia, WhatEver, they all had to invent the wheel and built
some framework.

yea, i dont know, maybe im traumatized with some big frameworks, i fell
like using rpg maker to make a game >.<

···

--
Posted via http://www.ruby-forum.com/\.

Diego Bernardes wrote:

yea, i dont know, maybe im traumatized with some big frameworks, i fell
like using rpg maker to make a game >.<

No, that's like using a CMS to make your site. Using a framework is like
using... a game framework (Gosu, XNA, whatever) to make your game. Which
again, is something just about everyone does if you don't want to pull
your hair out :slight_smile:

···

--
Posted via http://www.ruby-forum.com/\.