Okay, I'm new to Ruby, and would like to know why I should learn this... I know, I know, "information is power", but I would like to understand what sets Ruby apart from JavaScript, VBScript, PHP and whatever else.
Thanks
| SitePoint Sponsor |
Okay, I'm new to Ruby, and would like to know why I should learn this... I know, I know, "information is power", but I would like to understand what sets Ruby apart from JavaScript, VBScript, PHP and whatever else.
Thanks

JavaScript is a client side language, PHP is a server side language, you don't compare the two.Since you're talking about web scripting, i'm assuming that you mean the Rails framework? Rails is all about MVC and convention over configuration. 100 lines in rails could be equal to 500 lines of PHP. Anyways, you've got to experience it for yourself, i'd recommend watching the following video:
Create a blog, in 15 minutes!
You're better off reading the What is Ruby, and why should I care? discussion that was posted on this forum. There's no sense in re-hashing the things that have already been said.
If there is a way to overcome the suffering, there is no need to worry; if there is no way to overcome the suffering, there is no point to worry.
- Shantideva
That is true.




You just did my saying one is client-side, the other is server sideJavaScript is a client side language, PHP is a server side language, you don't compare the two.![]()
I once had a problem.
I thought: "Oh, I know: I'll just use XML!"
Now I had two problems.
Here you go... Server Side JavaScript. Conversational impedament removed, so feel free to continue discussions![]()
Jason Sweat ZCE - jsweat_php@yahoo.com
Book: PHP Patterns
Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
Detestable (adjective): software that isn't testable.

Damned mentors!![]()
Just to balance things out, here is Client Side PHP![]()
Jason Sweat ZCE - jsweat_php@yahoo.com
Book: PHP Patterns
Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
Detestable (adjective): software that isn't testable.



Not to mention the Cocoon Java/Apache framework uses JavaScript on the server side, albeit a rather clumsy approach (what do you except from Java guys?)





Well I don't know what it is myself, but whatever it is, watch you don't catch something from it![]()
HA HA! I'll keep that in mind...
Bookmarks