Archive for December, 2007

Are we ready — PHP 6

December 25th, 2007 Comments off

As all know by now the core PHP group of developers have had a gettogther in Paris by the fag end of 2005. Though the meeting minutes are interesting to read, there is a long way to go. There are a lot to consider before we answer the above question. Popular ISPs may be reluctant for the immediate switch over, when most of them are considering the switch from stream 4 to stream 5. The backward-compatibility problems are a real headache for Web hosts and they are really concerned about this, not to mention that the break in compatibility between series 4 and 5 is already showing up as a pain, whereas the backward compatibility hole between 5 and 6 is expected to be even greater. Read more…

Categories: Code Snippets Tags:

Back to PHP after 2 years on Rails

December 6th, 2007 1 comment

In this post Sivers writes I spent two years trying to make Rails do something it wasn’t meant to do, then realized my old abandoned language (PHP, in my case) would do just fine if approached with my new Rails-gained wisdom.

“Is there anything Rails can do, that PHP CAN’T do?”

The answer is no.

I threw away 2 years of Rails code, and opened a new empty Subversion respository.

Then in a mere TWO MONTHS, by myself, not even telling anyone I was doing this, using nothing but vi, and no frameworks, I rewrote CD Baby from scratch in PHP. Done! Launched! And it works amazingly well.

It’s the most beautiful PHP I’ve ever written, all wonderfully MVC and DRY, and and I owe it all to Rails.

Read the original post by Derek Sivers

Categories: PHP Tags: