Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 6th, 2005, 9:45 AM   #1
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
Ruby on Rails

Just installed Rails on my webserver, looks like a fun framework, so I'm gonna be doing some web-stuff with it.
Had quite some trouble getting it to run within Apache2 though, never actually completed that aspect.
Anyone else actively using Rails at the moment? I'd like to hear about your experiences.

-Dizz
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Sep 6th, 2005, 9:59 AM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,466
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Haven't used it myself, yet, but plan on installing it over Apache2. Anything I should watch out for to avoid similar problems that you encountered?
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 6th, 2005, 10:37 AM   #3
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
yeah, don't follow any how-to's you find on-line, they all tell you different information. The problem I was having was that I ran it to use FASTCGI, but for some reason apache wasn't sending the fcgi scripts to the FASTCGI interpreter, eventhough it was all setup to do so. It was just one big mess. If you can get it to work with apache's cgi, mod_rewrite and a vhost, let me know, we'll talk..
-Dizz
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Sep 6th, 2005, 12:19 PM   #4
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
I found this this which explains how to install it all from source and run it in apache, gentoo's apache install is a bit different. I'll try to run it tonight, and post back my finds.
-Dizz
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Sep 6th, 2005, 12:31 PM   #5
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,466
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Alright, I'll push it to my laptop and take it home to look it over tonight.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 6th, 2005, 1:00 PM   #6
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
Alright, looks like I got it to work under apache using the howto i posted, i did not however get FASTCGI to work, looks like there's something wrong in the fcgi dispatch file. I'll have to look into it another time.
yay for lunch breaks.
-Dizz
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Sep 6th, 2005, 1:42 PM   #7
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 4 Arevos is on a distinguished road
I've used Rails quite a bit. My impression of it is that it's a very powerful framework, and allows you to do simple things very quickly. It's tricky to get to grips with, but very good when working with basic database structures, which will do for about 90% of what goes into a web application.

When trying to do something more complicated, like double-booking or a tree of accounts, things get more complicated. Whilst the level of documentation for Rails overall is very good, the documentation gets sparse once you get to the more advanced features of Rails. I had to look through the source a few times to understand how something worked.

Rails did simply my task though, and I got finished a lot faster than I would otherwise. Rails also interfaces very well with AJAX, making its use practically transparent. Thumbs up from me there.

The other nice thing about Rails is that it gives you a very good and flexible framework to hang your application off. With a large project, this can be very advantageous.
Arevos is offline   Reply With Quote
Old Sep 6th, 2005, 2:04 PM   #8
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 4 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
Cool, I'm looking forward to developing with it.
Here's a way to get it to run easily under apache
http://wiki.rubyonrails.com/rails/sh...ithAliasedURLs
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote
Old Sep 6th, 2005, 2:08 PM   #9
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,466
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Thanks for the link Dizz.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 6th, 2005, 3:37 PM   #10
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Having looked at a tutorial for this, and being a long time PHP-fanatic i ran screaming.... I just didn't like the new approach to web-programming. I'm sure to many this may be a very great langauge. But it just wasn't to my liking.
__________________

tempest is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:13 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC