Ruby and Rails
I’ve started to look into Ruby, and it is a very nice language. And with the excellent, amazing framework called Rails, it is a good choice for new Web applications.
I am really excited about Ruby and it’s Rails, it feels like it’s been a long time since I’ve found a language I can use practically in my every day work. PHP is fine, but Ruby just might be better. Once I get a grasp of Ruby and have some experience with the Rails framework, I will try developing in it (more and more hosts are starting to support it nowadays) — maybe I’ll like it.
Anyhow, if you’re a developer and haven’t checked out Ruby and Rails, then you definitely need to. Ruby is the “next big thing” these days, but it really is looking quite nice. We’ll have to see where it goes. PHP has had it’s run I think, unless this framework Zend has been going on about can compete with Rails or Python’s Twisted.
Edit
Take a look at this video. The guy builds a blog app with Ruby and Rails in about 15 minutes. Cool!
October 24th, 2005 at 8:53 am
/me adds to todo list
October 25th, 2005 at 10:23 am
I see you’ve gone over to the dark side. Farewell.
October 27th, 2005 at 9:03 pm
wow, /me learns ruby
November 8th, 2005 at 12:38 am
lol “dark side”? PHP is fine, but I’m not going to stick by a technology that is inferior
Between Ruby (+Rails) and Python (+Twisted), PHP hasn’t got much going for it other then the fact that it’s used so widely. If you take a look at these languages, you will see numerous advantages over PHP. And come PHP6, where everything is treated as Unicode (and thus becoming even slower then PHP5, which is even slower then PHP4), I think you’ll see people exploring other technologies. If not sooner.
Ruby is just a craze right now and might turn up nothing in the end. But it might also give us a better tool for developing apps (hey, AJAX was just a craze too, and now it’s widely used). If not, we’ve got Python to fall back to (I’m still not sure which of the two languages I prefer).
Unless PHP takes a wild turnaround, I’m sick and tired of it!
November 8th, 2005 at 7:57 pm
It’s obvious you have no right to compare them when you don’t even know what’s going on with PHP. PHP5 is several times faster then PHP4 due to a majorly recoded Zend Engine. I fail to see any advantages over php. So you can code something small faster, but with that God-aweful syntax I can’t imagine trying to manage any sort of large scale application, forget about enterprise use.
Unless PHP takes a turnaround? What’s wrong with it? All you sited was speed, which was an incorrect statement to begin with. That’s not much. PHP has plenty going for it. How about that its the only one of these languages with the sole purpose and designed from the ground up for web use? That alone means that it will always be able to stay ahead of every other competitor. (The only exception is ColdFusion, but I don’t really see that as competition considering its limited usage.) How about how easy it is to use for any scale of app? How about manageable syntax?
November 9th, 2005 at 11:40 am
Hey, calm down
Taking things a bit seriously it sounds. I was mistaken about PHP5 performance. I do not know which benchmarks I was looking at (perhaps on the account that many new apps are using PHP’s new found OO functionality, which in turn makes them slower then the typical procedural apps). (Next time I’d appreciate a simple correction if you don’t mind).
If you cannot see any advantages of Python or Ruby over PHP, then you need to really to brush up on both of these languages. It’s apparent you haven’t looked into them with any interest if you cannot see any useful features. Compare PHP5’s lacking OOP to something like Ruby’s true OO language, for example.
PHP is fine fine for small apps and rapid development. But from programming in languages like Java and C# and getting feet wet in Ruby and Python, going back to PHP is a complete chore. I will not stop using PHP until these languages are widely spread (which in itself may or may not happen), but that doesn’t mean I like it. (One thing I abhor is the million functions available in the global scope, just one pet-peeve of many)
I don’t see what you mean about “manageable syntax”. Syntax is irrelevant. I prefer C-style syntax, but it doesn’t take any considerable effort adjust (after all, developers are adaptable by nature). It certainly doesn’t make it any harder to “manage”. As for scale, if you think scaling in PHP is easy then once again, take a look at what these languages and their associated frameworks have to offer.
All in all, I’ve done a lot of PHP work (more then most people know about, I don’t like to reveal clients or work load ;)) and I know PHP is good for a lot of web applications and works well. But jeez, you have to look at these “next gen” languages and notice their advantages! It’s ignorant to think that PHP will always be around or will continually be the best at what it does. Keep and open mind, explore, and learn.
But enough of language wars, it’s as useless as browser or OS wars. You can keep developing in PHP as long as you want, and I can explore other tools to my hearts content. Nothing anyone says is likely to change this
I’m sorry I brought it up in the first place, I don’t like having wars on my blog and it wasn’t the reason I made this post.