Is "RUBY" going to get ahead of "PHP"
Is there a new programming language comming up, or why is "RUBY" being mentioned on well known blogs. Will the programming language "PHP" be out of date, since "RUBY" is gaining so much momentum?
Will Drupal be competitive in 5 years from now, eventhough it is build on php?
What is this all about? Let me know what you guys think.
Some links to the new programming language:
http://www.loudthinking.com/
http://www.planetrubyonrails.org/
http://www.rubyonrails.org/
Cool "Ruby" example: http://tryruby.hobix.com/
Quote:
Nathan Torkington of the O'Reilly publishing empire said “Ruby on Rails is astounding. Using it is like watching a kung-fu movie, where a dozen bad-ass frameworks prepare to beat up the little newcomer only to be handed their asses in a variety of imaginative ways.”

Will the programming
No.
The web is full of fads and buzzwords. At the moment we have AJAX, Ruby, "Web 2.0", etc. Most people don't really understand them, but want to jump on the bandwagon because they're cool.
Use the right tool for the job, and you'll be cooler than Fonzie.
demolicious | leafish
Ruby is not a fad
Don't mistake Ruby and Ruby on Rails for a fad or a buzzword.
Sure there's a lot of buzz around Ruby on Rails, but it has some merit.
The cool thing is - That Drupal can be all that Rails is - and more too!
:-)
That - at least - is my understanding.
The framework that Rails provides for Ruby makes it a very fast application development environment - and a prototyping tool too.
Drupal can be that too if the community wants to.
PHP is not dead in 5 years. PHP will be evolving, changing into what will be sought for at that time.
Web Services will be at their prime in 5 years. Drupal is well positioned to become a factor to be reckonned with in that respect I think.
Don't despair
:-)
Gunnar Langemark
http://www.langemark.com
Ruby
While I wouldn't relegate Ruby to /dev/null or the fad bin, I would say this.
Ruby's chances of eclipsing PHP are about the same as a snowballs chance in hell.
Here's why...
#1 Installed base, PHP is on MOST webservers at the moment, for a webhost to provide Ruby services along with PHP they would need to install and secure it, which poses a liability to anyone who may be on a shared hosting arrangement, since the server now has yet another possible attack vector.
#2 Ruby is SLOW! Code written in Ruby runs an order of magnitude slower than code written in PHP with Zend installed and operating properly. This is just the nature of the Ruby interpeter.
#3 AJAX is currently mis-applied. AJAX is now being used as a buzzword, while it does have it's place like for instance gmail, or anyother situation where a snappy interactive user experience is expected, it is not suitable for day to day surfing sites, and in most instances gets in the way.
Also Ajax can just as easily be carried out by using PHP, and all of this without the headache and overhead of a Ruby interpeter.
#4 Dedicated user community. Currently Ruby does not even approach the level of devotion and dedication that PHP enjoys, while this MAY change in the future I highly doubt it. I for one have been developing in PHP since PHP3, and decided to give Ruby a whirl, I was not at all impressed. Most people whom I have spoken to, seem to be of the same mind.
#5 Ruby on Rails != AJAX, as stated above there are a lot of otherways to pull off AJAX without using Ruby, and without incurring it's overhead. Ruby on Rails is one of many, many frameworks for AJAX, and I would venture a guess that there are in fact far more implemenations of Rails style frameworks under PHP than there is for Ruby.
I'm not discounting Ruby as
I'm not discounting Ruby as "just" a fad, but it's getting a lot of attention and praise recently, even from people who don't really know what it is.
Pick a random tech blog and there will be posts about Ruby, AJAX, and "Web 2.0". A few years ago it was XML and maybe even Flash. All useful subjects for hack journalists to write vacuous articles about, and "trendy" bloggers to instantly convert their site or project to use.
Ruby's cool, though.
demolicious | leafish
Ruby is hardly new. Its been
Ruby is hardly new. Its been actively around for a long while. Its a bit younger than Python but still older, I suspect, than some reading this text :-)
PHP is a horrible kludge.
But competitive? Around a dozen or so years ago I recall in a phone conversation with Tim Berners-Lee he said "I think we're too late. We've missed the window of opportunity. " We are "at least 6 months to late to market to catch up with the momentum of Gopher" he said. The worry was that people are not going to bother to write HTML. My response was that they don't have to but that the "world" is hypertext. Needless to say within a few years with the rapid growth of the Internet most never even heard of "Gopher".
Do you want, however, my honest opinion of where Drupal might be in the marketplace in 5 years? Does it matter?
--
Edward C. Zimmermann <edz@nonmonotonic.net>
BSn's Nonmonotonic Lab
Intresting
Hi Guys,
Nice thread on ruby or Php. Now i had a clear mind on ruby and php
I am non-programmer and got nice views on ruby or php from the programmer point of view.
Thanks all
Sunny
www.gleez.com
Since you asked, I'm
Since you asked, I'm interested in hearing your thoughts on where Drupal might be in 5 years.
Drupal
A couple years ago I started out using phpnuke. Then I left for better cms systems (typo3 & drupal). I would not wanna use phpnuke ever again. But as you might know, phpnuke is still out there and doing good.
So yes, chances are good that drupal might be out there in 5 years.
Marketplace is uninteresting
But I'd be interested in hearing your opinions about Drupal in general, and even where you *hope* it might be in 5 years.
- Robert Douglass
-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress
I hope
I just jump into this.
I hope Drupal will live long and long forever. I don't want my site die in 5 or 10 years. And especially, Drupal has very nice framework. It will die if php is out of date. But lets thing about the PHP community, you will have idea about it.
Son
http://www.vkhowto.com
I can't think of a more futile activity
than trying to predict what will be "in fashion" or "up to date" in 5 to 10 years. Just use the best tool available now and you'll be doing as well as you can.
- Robert Douglass
-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress
Agreed. If you're serious
Agreed. If you're serious about your site, you should be willing to upgrade it in the future. If it no longer provides the features you require, then you'll have to convert it to whatever new technology is available that does.
The same law applies to cars, electronics, and most other products and services: if you're happy with it and it works, keep it until it breaks. If you want to take advantage of newer inventions, you'll have to throw out your old ones and start again.
PHP will probably be obsolete in 10 years, just like many of the original Internet and web technologies are almost forgotten about now. For all we know, the web itself may evolve into something even more horrific than its current state and render the whole idea of PHP-based systems obsolete. If there's a God, the Internet will explode in a fiery ball of banner adverts, buzzwords, and furries.
Life goes on, and right now Drupal and PHP are excellent tools. Go use them, and stop worrying about the future.
demolicious | leafish
...
Yes, I'd like to hear your opinion, please.
May not matter, but it's interesting nevertheless ;-)
Comment from the other side
Interesting read: Is Ruby brainwashing us?.
The success of Ruby
I think some people make the wrong comparison. We should not compare Ruby and PHP. From what I understand of my readings on Ruby the last few days:
- Ruby is just a OO scripting language.
- Ruby ON RAILS is a web framework for Ruby programming.
If we compare PHP with Ruby on Rails (RoR) the last provides superb functionalities to program for the web FAST and with cool features like AJAX!
Of course Ajax is a great deal of the success of Ruby (on Rails). But the RoR framework IS something to take into account. When the first Drupal / Joomla CMS systems will appear written in / on RoR people will start to shift!
Drupal will ofcourse exist in 5 years..like all legacy systems keep existing ;)
I, personally, really like the RoR framework because:
- it has clear MVC..
- it is an all in one solution (you can also use Java with extras to get the same thing or PHP with CakePHP)
- it makes development faster (this is why commercial businesses will join RoR)
- it also integrates Ajax very well and therefore is Web2.0!
Interesting conclusion by johnlim :)
He presents us with two code snippets, than outlines the expressiveness of a language and finally posts a C-programmers ease of understanding as a merit.
He doesn't like ruby's syntax.
Well, Ruby's ONLY feature, that makes it a no1 choice among scripting languages is it's syntax. There is nothing like it in any other language I know. It's so simple, elegant, short, that I marvel at it every time I write a few lines of it. There is no line noise in the coding...
I really do not like the assessments like "Well, I am used to A, so I do not like B. B is bad".
The example he gives tells me this:
1. PHP is verbose and looks like line noise.
2. Ruby programming takes 20% less keystrokes.
3. Ruby is far closer to human language, so my mother will understand my code.
And before someone comes up with the "well, ruby is an order of the magnitude slower..." statement again... Mind this:
1. Ruby is Interpreted, while PHP has Zend compiler.
2. Ruby is pure OO, PHP has OO glued in.
3. There is no mod_ruby...
Oh, and can anyone tell me when the scripting language has been the bottleneck at his website? Most likely the bottleneck is either bandwidth or bad code.
But I love drupal enough to code PHP.
I get the strong impression
I get the strong impression that some people are investing a LOT of money and effort into promoting Ruby on Rails; and that rather than use older advertising methods, they are doing this via independent-sounding posts, blogs, etc in influential developer communities.
I get this impression because what *I* see is lots of posts saying "wow, there's lots of posts about RoR". Seems there are more posts commenting on the fact that there's so many posts about RoR, than there are posts about RoR. Think about it.
These posts tend to take the form of fake questions such as "What is all this fuss about Ruby?" - and then proceed to provide a "teaser" of an answer, followed by a number of links to websites which provide more detailed answers, and in turn link to the owners of an oddly-named website that must be raking it in right now...
nope i ain't getting anything
@ the_other_mac
I thought about it a second what you said.
But heh, I am not getting paid for asking a question about Ruby. But in case someone wants to pay me for asking... go ahead. There is a lot of talk about it at some tech blogs and I wanted to know what a programmer thinks about it.
That's all, no more and no less!
Ruby - its too early to comment
Internet is so much fun. Ruby has been there for years but why so much buzz in last 1 year? Is it because of RoR framework? Or is it just because every few years we look for something new to jump on? It was Web 2.0, AJAX, Ruby . now Web 3.0.. :-)
Tool is as good as the number of applications/products out there using that tool/language. There is definitely interest in people trying it out. Performance is definitely a big issue that I keep hearing from people.
Look at PHP Applications out there - there is just tons and tons and there are more developers getting onto it every minute. PHP is just at its early days and as there are more enterprise open source applications released in community, there will be a huge following. Who wants to pay for Support anyway? And even if you Pay for Support, you may have to wait for the next patch/release cycle. Better to use open source product where you have total control over the product.
Where will Drupal be in 5 years? :-) I think the challenge is whether Drupal can consolidate all the development and get rid of redundancy in modules. There are just too many people out there writing code, extending tables, etc without understanding really what exists out there.
Need for Architecture/Standards/Technical Documentation is very very important at this stage of the game. Everyone is busy. Yes, Drupal has an absolutely lovely framework. How can you have a controlled evolution on such a product if a question I have no idea.
Someone really needs to spend time and put in concentrated effort to manage this else Drupal will outgrow its own capacity and this will not be good.
But again - in Today's Open Source CMS out there, there is nothing as robust, extensible, granular out there like Drupal. So if any CMS has to stay, it will be Drupal for sure. :-)
Roshan
The question is, will Ruby
The question is, will Ruby help create more efficient CMSs as Drupal, or not?
I have heard a lot about Ruby performance issues, but there are ways to speed it up by using special Apache mods, for instance. Here's a link on where various Ruby platforms are compared:
http://blog.kovyrin.net/2006/08/28/ruby-performance-results/
Anyone compared Ruby vs PHP performance on large database-driven websites?
Thanks.
"The question is, will Ruby
"The question is, will Ruby help create more efficient CMSs as Drupal, or not?"
The question is, will nature create sweeter fruits than appletree?
What is efficiency in a CMS? Is it speed of use? Ease of use? capability to scale? minimalism of the code?
Info: Ruby is a programming language, Drupal is an application, PHP is a quick and fast scripting language.
As far as ruby speed issues go - speed is NOT an issue if you are talking about a web application. I cannot find a single situation where ruby's low performance would be of any signifficance. Ruby - on the other hand - does not inheritly mean better code. The fact that only a handful of programmers are looking into it might mean that the code available is of better quality than PHP's, but there is also less of it... so, I like to think of it as the City slickers cowboy once said:
"The world consists of layers upon layers of shit. When you find the layer you like, you stick to it. And that's your personal shit."
Personally - I very very much like Ruby because I like writting poetry more than I like coding. Poetry written in ruby makes for pretty good programs :)
You are right about a CMS
You are right about a CMS also requiring usability and all that SE-friendliness.
However, I was earlier concerned with the performance and scalability issues of Ruby.
I have listened to an interview with David Hansson and he said that Ruby scales pretty well and often custom coding is not required.
Thanks for your comments, though.
I do think I'll learn Ruby as the first programming language, though.
Well...
We can always rewrite Drupal in Ruby :-)
What are we gonna name it? Drubal? Druby?
Ruby vs. PHP
There is no question that Ruby is an elegant, easy to learn and understand language and that RoR is a powerful framework. It's true that there is the element of fad at work in all the hoopla, in part because the company that kicked it off - 37 Signals - and many of the folks who first embraced it have a lot of design and marketing savvy. However, if you look past the savvy branding and at the framework, you will see merit there that is sure to stand the test of (internet) time. RoR is no flash in the pan and it seems to be gaining traction in the commercial sphere much faster than PHP ever did.
PHP is not likely going anywhere, though. It's a fast, easy to language to learn and it is supported by even the cheapest web hosts. Ruby's growth is constrained somewhat at this juncture by the higher demands it places on cheap shared hosting providers both in terms of configuration complexity and resource use. You can get cheap Ruby, but it is not nearly so abundant nor often as cheap as cheap PHP. And a lot of the most-used Ruby providers (like Dreamhost) still seem to be finding their way amidst complaints. This is the kind of thing that killed all the buzz around Plone a while back, although Ruby seems to be easier to host cheaply than Plone.
Finally, a lot of good apps have been written in PHP and it will just be too hard to migrate them all. It is doubtful that RoR is so productive that everything currently written in PHP can be rewritten profitably. Also, elegant frameworks like Drupal (and Wordpress and CakePHP) remove a lot of the ugliness from PHP, while leveraging its bent toward rapid development. RoR has a long way to go to render them obsolete. It makes much more sense for the different development communities to cross-pollinate than to compete.
Very true
This is a very sensible comment.
Ruby and ROR are gaingin traction very quickly. Not to be too technical about it, but they will never achieve tle level of popularity of PHP simply because PHP is designed in a way that appeals to newbs and "quick and dirty" crowd. That's pretty much all of us, when it comes down to earning some dough.
OO programming - however - whilst being ideal for large projects, research and purity - is quite pesky for writting a quick code-ma-bob.
(personal plug: Unless you come across Ruby, where the syntax is so beautiful, you suddenly find yourself in a paralel universe. Nevermind objects.)
Here's an info from a designer turned to programmer:
Take PHP and Ruby side by side. Play with both. Write the same stuff in both. Lear both syntaxes. Whatever captures your heart - will become your language of choice.
Ruby? Php? Perl? Python? Whatever. Bad programmers will code bad programs and good programmers will code good programs in any of those languages.
Cheap Hosting
They key to the popularity of PHP, is the vast availability of cheap hosting services.
How many hosts are there offering Ruby? Negligible compared with PHP providing hosts.
As others have mentioned, Python is also a great language, and was also hyped to take over the web, just like Ruby. Now did I miss the take over? No, it was nothing but buzz and hype. And with all the buzz about buzz, what marketers seem to neglect to mention, is that buzz doesn't matter, if the product is crap or is not well supported.
Cheap hosting has to be regarded as a form of support, in the sense of available infrastructure. And economically product infrastructure has to be a commodity (low cost). E.g. computers, computer networks, network access, if in all these hadn't undergone commodification, [ http://en.wikipedia.org/wiki/Commodification ], we would have the Internet and web we all love today.
The reason Ruby is being chatted so much about, is because of ROR (Ruby on Rails), which is comparable to PHP-Cake [ http://www.cakephp.org/ ]. And in my opinion, the difference between Cake/ROR and Drupal is the focus. Drupal tries to serve both, the casual user (no coding experience), as well as the skilled developer, which automatically covers everything in between. While Cake/ROR are targeted solely towards developers of web apps.
A "designer" can grab Drupal and get a site up, but if they get their hands on Cake/ROR....shudder....
"As others have mentioned,
"As others have mentioned, Python is also a great language, and was also hyped to take over the web, just like Ruby. Now did I miss the take over? No, it was nothing but buzz and hype. And with all the buzz about buzz, what marketers seem to neglect to mention, is that buzz doesn't matter, if the product is crap or is not well supported."
It also holds true, that the product can be absolute crap in every respect (quality and support), but since it's been available (free, easy to steal, able to run on cheap hw or whatever) to noobs and kiddies easily, it will become favored by them when they mature and earn money. This is the case with M$ OS. It has absolutely nothing going for it, yet it's used by 99% of intel based PCs all over the world.
Do not make a mistake. There are beter and cuter tools (than PHP) to get any job done, but none of the CMS products in other languages rival Drupal. Drupal shows that a tool does not a good project make :)