News for hackers. Stuff that matters.
Re:Ewww, You Use PHP? by csomar on Friday October 22, 2010 @05:48AM (#1819120)
I really don't understand why a language is so important. Since you have your own VPS or dedicated server, you can use C or any other programming language, create executables that do complex and targeted work and send the result to PHP, rails, python... You can use all of the languages at the same time. It really doesn't matter what main language you are using for routing your websites.

PHP is cool. I have found (http://fatfree.sourceforge.net/) and I couldn't be happier. It's similar to Sinatra and has everything a small app needs. It's simple and make separation easier. But if I need that complicated data structure processing that can be done with python or perl, I'll just write down that script and run it through php and get the results.

Between, this statement makes no sense for me

>> This is just going to get bigger and bigger as we grow by 500% or more _every year_

Re:Ewww, You Use PHP? by smiler on Friday October 22, 2010 @07:08AM (#1819229)
Thanks for this, this framework looks real interesting!
Re:Ewww, You Use PHP? by dpritchett on Friday October 22, 2010 @03:21PM (#1821086)
Agreed! This one snippet from the fatfree docs dispelled a good bit of my lingering hesitance to revisit PHP after a good while away:

  F3::route('GET /about',
  	function() {
  		echo 'No subliminal messages here...';
  	}
  );
Re:Ewww, You Use PHP? by code_duck on Friday October 22, 2010 @07:48PM (#1821987)
The problems is that many popular hosts have not deployed PHP 5.3 yet. So, if you're planning on using this framework, you need to make sure your host and anyone you distribute it to are using at least 5.3. This nullifies one of the common reasons for using PHP ("it's supported everywhere").
Re:Ewww, You Use PHP? by bcosca on Saturday October 23, 2010 @12:01AM (#1822581)
this is fast becoming a myth. a lot of hosting companies are moving up. godaddy already offers php 5.3 shared hosting.
Re:Ewww, You Use PHP? by code_duck on Saturday October 23, 2010 @02:28AM (#1822823)
That just means the situation changing as time goes on, not anything about a myth. Of course at some point everyone will be running >=5.3, but I still hear about PHP 4 after all...