Shinyshell Community Forums > Coding > Ruby? |
||||||
Sign Up | Member List | New Posts | Help |
[1]
September 08 02009, 11:39 GMT | ||||
Nick^ merciful justice Location: Brisbane, Australia Post count: 78 |
I am interested in learning Ruby.
What are your thoughts, ie. Which would be better for a new site I want to make - Python or Ruby? Is there a steep learning curve? Anything else? ______________________________ Lazurane |
September 08 02009, 14:56 GMT | ||||
SpaceMan Member Location: Earth Post count: 32 |
They are almost same. Without Python's indentation blocks, Python will only be a generic programming language.
Ruby server module seems to be less-supported than Python, I downloaded Ruby and installed mod_ruby to my server by myself. I'm afraid Ruby on Rails is too hard to learn, or the framework is too big, or you must pay for hosts, so stick with Ruby CGI. Ruby seems to have same amount of learning like Python, so it's OK to learn it |
September 08 02009, 16:45 GMT | ||||
lec** Supra stultitiam Location: Varaždin, Croatia Post count: 173 |
Making a site in Ruby will really help you learn it.
I dunno about everyone else, but I think Rails is my only real motivation for learning Ruby. You definitely want to learn how to use it. |
September 08 02009, 17:52 GMT | ||||
Faltzer Member Location: Glendale, New York Post count: 38 |
Ruby is almost the same thing as Python, although the syntax can get wild when doing more complicated tasks. Rails is pretty much the only reason why I learned Ruby, and it was an excellent framework.
If your host has FastCGI/mongrel/mod_ruby/Phusion Passenger, then use those instead of regular CGI. Rails does not cope well with CGI, especially when trying to revert to a production environment. ______________________________ FHQ |
September 08 02009, 19:57 GMT | ||||
SpaceMan Member Location: Earth Post count: 32 |
I'm trying Ruby on Rails right now, it's hard, but it lets you to make hard things easier.
I followed a weblog tutorial and I wrote the posts and RSS functionality. |
September 13 02009, 12:43 GMT | ||||
Nick^ merciful justice Location: Brisbane, Australia Post count: 78 |
Is it hard to set up Ruby use for the web, or should I not bother?
______________________________ Lazurane |
September 13 02009, 19:00 GMT | ||||
Faltzer Member Location: Glendale, New York Post count: 38 |
If you decide to go all "I'm a man, I'll do everything myself without knowing how this works", then yes, it can be. If you're going to deploy on the web, you should use a framework and run it using Phusion Passenger or FastCGI (I notice that you use Dreamhost, hence why I place emphasis on these two.) Unless you're interested in RoR, use a lightweight framework like Sinatra.
______________________________ FHQ |
September 13 02009, 20:31 GMT | ||||
Nick^ merciful justice Location: Brisbane, Australia Post count: 78 |
September 14 02009, 20:48 GMT | ||||
Faltzer Member Location: Glendale, New York Post count: 38 |
September 25 02009, 21:55 GMT | ||||
Nick^ merciful justice Location: Brisbane, Australia Post count: 78 |
As in, with Dreamhost, does Ruby come preinstalled, or do I need to do some tinkering?
______________________________ Lazurane |
[1]
Forum Information |
||||||||||
|