Shinyshell Community Forums > Coding >
Ruby?


[1]


September 08 02009, 11:39 GMT
Nick^
merciful justice

Nick's avatar
Location: Brisbane, Australia
Post count: 78
au
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

SpaceMan's avatar
Location: Earth
Post count: 32
ca
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

lec's avatar
Location: Varaždin, Croatia
Post count: 173
hr
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

Faltzer's avatar
Location: Glendale, New York
Post count: 38
us
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

SpaceMan's avatar
Location: Earth
Post count: 32
ca
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

Nick's avatar
Location: Brisbane, Australia
Post count: 78
au
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

Faltzer's avatar
Location: Glendale, New York
Post count: 38
us
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

Nick's avatar
Location: Brisbane, Australia
Post count: 78
au
Eurgh. I don't know how it works, I'll leave it for now.
______________________________
Lazurane

September 14 02009, 20:48 GMT
Faltzer
Member

Faltzer's avatar
Location: Glendale, New York
Post count: 38
us
I was referring to the non-framework approach.
______________________________
FHQ

September 25 02009, 21:55 GMT
Nick^
merciful justice

Nick's avatar
Location: Brisbane, Australia
Post count: 78
au
As in, with Dreamhost, does Ruby come preinstalled, or do I need to do some tinkering?
______________________________
Lazurane


[1]



Forum Information
  Currently Active Members [detailed] (0 members and ? guests)
-
Forum Statistics
Topics: 0, Posts: 0, Members: 108.
Welcome to our newest member, adamthephantump
Most members online was 5, on August 28 2009, at 21:49:28.
Legend
    Forums with unread topics in them are indicated by a strong yellow colouring around the forum icon.
    Forums with no unread topics have the standard pale yellow colouring around the forum icon.
    Forums with a blue arrow icon will redirect you to a non-forum page.
    Locked forums have a little padlock by their icon. You won't be able to post in these forums.
Shinyshell Home | Contact | Staff List | Archive | Top 

Conventional Login

Don't have an account? You may want to create one.

OpenID Login
OpenID login and registration is usable, but not finished.
What is OpenID?
Search

(advanced search)
Site Stats
  Total members: 108
  Latest member: adamthephantump
  Members currently online: 0
  Most online: 5 - Aug 28, 2009 (21:49)
  Front page hits: 87996
Developer info
  Site version: 3.5 Alpha
  16 queries - 9 templates
Under the Spotlight
Collide Site
Collide make fabulously dreamy electronic-industrial music, they're one of my favourite bands! Give them a chance to take control of your life - myspace | youtube - "Euphoria".

Collide Site - Hits: 4596

5/5 (2) | Rate this site?