Live data from Hacker News

The new PHP

programming.oreilly.com

91–100 of 203 posts

Re: The new PHP

#91
post #39

I don't get it. Why people can't just admit the fact that PHP had his time and now, no one with common sense would not start new project (except simple wordpress stuff) in PHP.

In most enterprise environments, you have your choice between .NET and PHP. Given the option, I'll take PHP, thanks.

You're in the wrong "enterprise" environments.

PHP as a choice for an enterprise? Jesus. Could somebody show me a 2-3 year old PHP project which doesnt have code rot? To even speak of 5 year old code that is still readable and somewhat maintainable.

Java is where its at for the enterprise.

Re: The new PHP

#92
post #39

I don't get it. Why people can't just admit the fact that PHP had his time and now, no one with common sense would not start new project (except simple wordpress stuff) in PHP.

In most enterprise environments, you have your choice between .NET and PHP. Given the option, I'll take PHP, thanks.

Most enterprise environments would not touch php with a barge poll. More likely C# vs Java.

Besides a nice modern languages vs PHP. I know what I would choose.

Re: The new PHP

#93
post #30
post #24

Earlier quoted context omitted.

I prefer dual world. array_x = less memory $object->array->getElement[0] = i prefer not.. Just to get element you need to declare object ?

Wat? He meant `$arr->length()` and such. Array access like `$arr[42]` is proper.

something like that.i hope php simple as it.

Re: The new PHP

#94

Whenever I hear "the new PHP" or "its not the old mess anymore", I say to myself, thats hardly the point. The key flaw I find with PHP is with its community and lack of any mature frameworks. Half of the PHP coders are hopeless script kiddies, thanks to low barrier entry it has, and I don't feel a single framework exists that can match Rails or Django. For the matter of fact, the framework with largest community, Cod…

I agree on the point of frameworks. I don't like any that exist so I made my own Rails-inspired one. Unfortunately this means I prefer not to do consulting jobs in PHP because it's considered bad practice to use a framework that no one else knows. (Mine has dynamic ORM (reads db schema), a console (REPL that loads project config and autoloader file), and similar project layout. Recently added REST API system that gen…

> I agree on the point of frameworks. I don't like any that exist so I made my own Rails-inspired one.

With blackjack and hookers? Please say with blackjack and hookers.

Re: The new PHP

#95
PHP is and will always be the choice of script kiddies and freelances looking for a quick small buck.

Because it suits and is made by that niche, copy-pasted "solutions" and monkey-ing others, just as the latest versions of PHP try to monkey other language and framework thinking, shows a profound character of its community, monkey-patches thrown together to look like some thought was put into it.

It is not the language of the future, its not where inventions happen.

Its still the same old to its core, pieces cobbled together to look like something it isnt, trying to hide the inconsistencies in its core.

Re: The new PHP

#96
post #91

Earlier quoted context omitted.

In most enterprise environments, you have your choice between .NET and PHP. Given the option, I'll take PHP, thanks.

You're in the wrong "enterprise" environments. PHP as a choice for an enterprise? Jesus. Could somebody show me a 2-3 year old PHP project which doesnt have code rot? To even speak of 5 year old code that is still readable and somewhat maintainable. Java is where its at for the enterprise.

every language matured.. same as java.. it up to developer to create nasty code.. About the nasty,enterprise always fall back to lot of idea,changes. So we make lot of junk function/method,class which not proper cleanup after user acceptance test.

Re: The new PHP

#97

Whenever I hear "the new PHP" or "its not the old mess anymore", I say to myself, thats hardly the point. The key flaw I find with PHP is with its community and lack of any mature frameworks. Half of the PHP coders are hopeless script kiddies, thanks to low barrier entry it has, and I don't feel a single framework exists that can match Rails or Django. For the matter of fact, the framework with largest community, Cod…

Codeigniter has been all but abandoned by EllisLab, the community is giving up on it and there are far better frameworks available now. For example Laravel, the growth that Laravel is experiencing right now is huge, it has overtaken Codeigniter as the most popular PHP framework on GitHub and has a growing and active community. Anyone even thinking about Codeigniter any more is doing themselves a disservice, Laravel is leaps and bounds ahead of Codeigniter. Laravel is on its way to being the Rails of PHP.

http://www.google.co.uk/trends/explore?hl=en-US&q=laravel,+s...

Re: The new PHP

#98
post #39

I don't get it. Why people can't just admit the fact that PHP had his time and now, no one with common sense would not start new project (except simple wordpress stuff) in PHP.

In most enterprise environments, you have your choice between .NET and PHP. Given the option, I'll take PHP, thanks.

What wrong if combine in enterprise environment. Php + Java.. E.g jasper report printing. Php + Microsoft Excel(vb macro) E.g making reporting direct from excel

Re: The new PHP

#100
post #5
post #2

> It contains powerful new features and helpful developer tools, such as a built-in web server I haven't finished the article yet, but really? Is that what PHP needs? A built-in web server? It strikes me that adding more tools that incompetent web developers can abuse is what got them there in the first place. How long until we start having security releases for the PHP web server, because so many clueless devs decid…

The web server is explicitly for development purposes. It is not meant for production. > It strikes me that adding more tools that incompetent web developers can abuse is what got them there in the first place. This is profoundly ridiculous. It's the equivalent of saying Home Depot shouldn't sell power tools because some do-it-yourselfer might saw his foot off. Just because a tool can be misused is not an argument ag…

Is it really built-in to the language or just a library? Or is that boundary fuzzy with PHP?
Post reply on HN