Updating phusion passenger
The context of this post is comparing the two specifically for web development. Many developers want to know what are the benefits/shortcomings of both ecosystems and genuinely just want a clear answer. In many cases, yes you can just boil it down to a preference. What I absolutely love about PHP is its simplicity and relatively shallow learning curve.
From the popularity of the article via Google, it’s something that tens of thousands of people actually are asking. However, there are many strengths for both and it’s useful to be able to compare them in a level-headed fashion. When you first get into PHP, all you need is a single HTML web page. Throw in some inline PHP, run it on a PHP web server and off you go.
As mentioned above, sloppy code is not an inherent feature flaw of PHP. As PHP has gotten more popular, it’s gotten a lot of influence from enterprise developers who take a really purist approach to programming.
When you go to conferences and listen to these PHP experts talking about best practices, PHP no longer becomes fun to program. Classes explicitly declare namespaces, importing namespaces, explicit getter and setter methods, explicit declaration of public/private methods, etc. Now If you want to see a framework that takes a more purist approach to things, check out Symfony.
I’ve been developing with PHP since version 2 (a very long time ago).
I had been wanting to get into Ruby on Rails and had played with it since version 1 but never had the chance to really use it in production seriously until this past year with Ballistiq.
The good developers who really know Ruby and Rails (the ) tend to be more hardcore devs. I find the docs for PHP far more useful than the ones for Ruby and the Rails Guides.Il libro Ruby on Rails Tutorial è disponibile gratuitamente online ma può essere anche acquistato come ebook (nei formati PDF, EPUB e MOBI, con incluse le soluzioni degli esercizi) per agevolarne lo studio e sostenerne gli aggiornamenti futuri. I’ve added an addendum to update the article with latest thoughts on May 30th, 2014 at the bottom.From CMS’ like Word Press and Drupal to frameworks like Symfony and libraries like Doctrine, PHP really has a lot of good resources available. At its simplest, you just FTP the files to a web server (which we at Ballistiq never do – we deploy using Git).When it comes to deploying a simple CMS, for example, I almost always default to just using Word Press instead of building a Rails app for it. Thing is, with PHP you don’t have to know about or care necessarily about the web stack.