From: Daniel N Date: 2008-10-16T19:33:51+09:00 Subject: Re: How to go from a ruby script to a working website? ------=_Part_9199_17216594.1224153255533 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, Oct 16, 2008 at 8:56 PM, Hoesel, Dani=EBl van < Daniel.vanHoesel@getronics.com> wrote: > You could use the Merb-core in combination with the passenger mod for > Apache. That mod allows you to run rails and merb applications just like = php > applications. Just upload and go. And indeed you could use Rails, but it'= s > easier to start with a merb application. > > Example: > http://www.modrails.com/documentation/Users%20guide.html#_merb > > As you can see passenger mod supports multiple simple frameworks. So mayb= e > you could try one of those. > > Regards, > > Daniel > > -----Original Message----- > From: esmero@gmail.com [mailto:esmero@gmail.com] > Sent: donderdag 16 oktober 2008 11:19 > To: ruby-talk ML > Subject: How to go from a ruby script to a working website? > > As you've probably guessed by the title, total newbie here. > > My main interest is developing web stuff, and for that I started > learning programming through PHP. However, I discovered Ruby and > immediately fell in love with it. > > I started following Chris Pine's Learn to Program and with the knowledge > I got so far, I started building a few very simple programs of my own. > The thing is that they're all limited to the Terminal (I have a mac), > but what I really want is to use them through a web interface (inputs, > forms, submit, etc) so I can also experiment with Javascript/AJAX. > > However, I have no clue how to do that and can't seem to find > information on it anywhere. It seems the only way to access Ruby > programs through a webpage is with the aid of frameworks like Rails and > Merb, and they seem like too much trouble for what would be a simple > one-page app. I guess could use Camping or only the Merb-core, but I > would like to understand exactly what I'm doing, and just basically be > able do it all by myself. > > So, what am I missing? What is the link between .rb and .html? > -- > \ > Using merb-core for a one page app is not a silly idea. You can use it wit= h a very_flat (1 file) merb application. to genearte the stubs to get you going for this use merb-gen very_flat my_app then run it with merb -I HTH ~Daniel ------=_Part_9199_17216594.1224153255533--