ifacethoughts

PHP Is Good

I am completely with Ted Dzuiba when he says that PHP is not that bad. There have been a lot of comparisons between PHP and Ruby or for some reason with Ruby on Rails. You do have CakePHP if you like RoR‘s idea.!

PHP is the wealthiest in terms of off-the-shelf libraries or components or CMSs available. This can not only reduce cost of development but also provide higher value by reducing time and effort and delivering on time. PHP5 now supports OOP better inherently. It is also extensible through C. PHP does not impose anything, which can make it easy for bad programmers to write bad code. Don’t misplace the blame!

So, why am I learning Ruby? If I have to create a framework from scratch I will choose Ruby over PHP. Ruby is more intuitive for creating leaner and cleaner code because of some functional programming features and has facilities for easier metaprogramming. But from a project perspective, PHP will always be one of the primary candidates.

Discussion [Participate or Link]

  1. Nate K said:

    First off, CakePHP doesn’t even come close in comparison with RoR. I say that as a PHP developer who is still learning RoR. CakePHP can make attempts, but it misses so man large (and small) scale aspects of RoR.

    “If I have to create a framework from scratch I will choose Ruby over PHP” – why would you create a framework from scratch when you have Rails?

    I agree, PHP is good. Just because it has a low barrier of entry, doesn’t make it a bad language. Any language can be abused by people who don’t know what they are doing.

    So yes, PHP IS good 🙂

  2. Abhijit Nadgouda said:

    I think the features that CakePHP misses are because of differences between PHP and Ruby. Otherwise I have been able to use CakePHP wherever RoR could have been applied.

    I agree that frameworks like RoR can be applied to a wide variety of projects, but by experience I would always include the option of creating a framework. Sometimes, even if rare, the business constraints or requirements can be better solved only by a new development.

Say your thought!

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.

freshthoughts

contactme

Abhijit Nadgouda
iface Consulting
India
+91 9819820312
My bookmarks

badgesand...

This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.