| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jun 2009
Posts: 10
![]() | Ruby vs PHP Hello I'm new here so I though maybe it's nice to introduce myself. I'm Dalbiez, I'm coming from Holland and I'm 14 years old. Since last weeks I'm having a problem, I can't choose the right language. I want to create web applications. PHP is the most populair language for the web but Ruby has a nice syntax. Ruby * Nice syntax. * Friendly community. * Nice web frameworks like Ramaze. Of course Ruby has some cons: Ruby * Expensive hosting for a 14 year old teenager. * Less populair than PHP. Then PHP comes: PHP * Really popular! * Lot of code is available. * A huge community * Has nice web frame works. * Cheap hosting. * I already know some PHP. And the cons: PHP * The syntax is sloppy. At the moment I'm more fan of Ruby, I really like it. Everytime I write PHP code I think "I need to write this in Ruby". But I want to be a web-developer when I'm older and PHP is more populair so when I'm looking to my future it's better to learn PHP. Thanks, Dalbiez and sorry for my bad English! |
| | |
| | #4 (permalink) |
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Maybe I'm biased but... www.rorsucks.com |
| | |
| | #5 (permalink) |
| Senior Member Join Date: Jul 2005 Location: NJ
Posts: 1,219
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | im gonna have to agree in that php is much better than ror... your claim of php having sloppy syntax seems unsupported - it's much much easier/cleaner than some OOP languages and almost all the functions are selfexplanatory, etc. learn php, master it, and then maybe move on to ror. almost all the jobs nowadays are people wanting work done w/ php (or some framework using php as its base)
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| | |
| | #6 (permalink) |
| Domains my Dominion Join Date: Aug 2005 Location: Web 1.0
Posts: 9,556
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | If you're starting out with web development, I think it will be more rewarding to learn PHP. Once you master a language you will feel more comfortable learning a second one. You could even specialize in Ruby as it is less widespread and there may be some demand for skilled coders - most webmasters should be more or less proficient with PHP nowadays, it's not exactly a rare skill
__________________ NameNewsletter.com - free lists of available domain names ZoneFiles.net (beta) - ccTLD and gTLD droplists |
| | |
| | #7 (permalink) |
| New Member Join Date: Jul 2009
Posts: 2
![]() | I asked myself the same question some time ago. I come from a 8+ years of PHP programming, and eventually grew tired of it. It's hard to debug, and hard to write good code. That's why I was quite enthousiastic with the promise of Ruby being so good and powerful, etc... Actually I found out that what makes Ruby so easy and powerful is the Rails framework. The language is cool, sure, but try programming Ruby alone without any framework and it's exactly the same thing as programming in PHP. On the other hand, if you take PHP and add a good framework to it, like symfony | Web PHP Framework, you've got a very powerful solution. ????: NamePros.com http://www.namepros.com/programming/591090-ruby-vs-php.html So my guess would be forget ruby. Stick with php, but don't use it alone, or you'll soon be writing poor code. Learn a framework, it will be as hard as learning RoR, but at least you'll master a widely-used language. And it seems that all the RoR craze is vanishing now. 2 years ago people only spoke of it, but now... PHP is as strong as ever, but where's Ruby ? |
| | |
| | #8 (permalink) |
| New Member Join Date: Apr 2009
Posts: 4
![]() | I hate to throw a spanner in things, but try python, and more specifically django. I've found it to be a fairly simply learning curve (i'm from a php background). You've correctly listed the arguments for PHP and ruby, and your right, its not an easy choice. (just to bear in mind: the php manual is excellent, I've found it to be invaluable).
__________________ arcade script + 7000 games + install : $45! Advanced features: templating, AJAX, caching, bulk add, paypal advert handling, adwords, mochiads, advanced SEO and more! visit the site! | visit the demo! |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [resolved] php script training | shahzad11 | Programming | 11 | 03-21-2007 11:09 AM |
| How To Secure Your PHP Website | selim06 | Programming | 9 | 08-20-2006 03:57 AM |
| Huge Script Pack for $5 with Resale Rights | dsforsaken | Scripts For Sale | 32 | 12-03-2005 09:46 PM |
| Tutorial: How to Install Apache2 MySQL and PHP on Windows | deadserious | Webmaster Tutorials | 35 | 09-21-2005 10:46 PM |