POST/GET from sql database

I've been googling for hours now...and can't seem to find much on the
subject.

I'm new to Ruby...slowly picking it up as I go along. I wanted to write
something I could put to use right now...a simple ruby-embedded html page
that would save form data in to a sql database. I know this is ridiculously
easy to do with rails...but I don't want to do it with rails. I'm
semi-familiar with simple queries to a db using ruby...but can't seem to
find much info on the rest...any ideas where I can find info for such a
thing? I've combed through the 2nd-edition of the Pickaxe too..... *sighs in
frustration*

···

--
Josh Redding
reddcell@gmail.com

Sorry, but you seem to be going the completely wrong direction.
Communication with a database, and display HTML, are two completely
different subsystems of a website.

You should first start with searches on Web programming and learning how the
web works and how to create web-sites in general.

In terms of a Ruby (not Rails) website, go get WEBrick (
http://www.webrick.org/\), run through it's documentation and tutorials.

Jason

···

On 4/4/07, Josh Redding <reddcell@gmail.com> wrote:

I've been googling for hours now...and can't seem to find much on the
subject.

I'm new to Ruby...slowly picking it up as I go along. I wanted to write
something I could put to use right now...a simple ruby-embedded html page
that would save form data in to a sql database. I know this is
ridiculously
easy to do with rails...but I don't want to do it with rails. I'm
semi-familiar with simple queries to a db using ruby...but can't seem to
find much info on the rest...any ideas where I can find info for such a
thing? I've combed through the 2nd-edition of the Pickaxe too..... *sighs
in
frustration*

--
Josh Redding
reddcell@gmail.com

There's an entire chapter in the Pickaxe called "Ruby and the web":
http://www.rubycentral.com/book/web.html

Start with the hello world CGI. Then extend it to use form variables. Then
extend it to perform a database query.

HTH,

Brian.

···

On Thu, Apr 05, 2007 at 05:42:38AM +0900, Josh Redding wrote:

I'm new to Ruby...slowly picking it up as I go along. I wanted to write
something I could put to use right now...a simple ruby-embedded html page
that would save form data in to a sql database. I know this is ridiculously
easy to do with rails...but I don't want to do it with rails. I'm
semi-familiar with simple queries to a db using ruby...but can't seem to
find much info on the rest...any ideas where I can find info for such a
thing? I've combed through the 2nd-edition of the Pickaxe too..... *sighs in
frustration*