![]() |
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 |
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?
|
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 |
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 |
Alright, I'll push it to my laptop and take it home to look it over tonight.
|
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 |
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. |
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 |
Thanks for the link Dizz.
|
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.
|
| All times are GMT -5. The time now is 5:08 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC