Earlier quoted context omitted.
Generally that size is not more than about 5 files.
Yeah good one. Wordpress is a great example of a huge failure written in PHP over 5 files, right?
PHP needs a vision
71–80 of 182 posts
Re: PHP needs a vision
#72Earlier quoted context omitted.
PHP works fine as long as you're never exposed to a better way. In a year or two start using rails. You'll come back to PHP and wonder why anyone would ever make a hammer with two claws.
You're confusing a language with a framework. A more apt comparison is rails with symfony2 or zend framework2.
I've done both, rails was much more pleasurable. See? I just compared the overall experience of a language with that of a framework.
Re: PHP needs a vision
#73Earlier quoted context omitted.
Personally I find nothing much 'general purpose' about PHP. The language has configuration files! That alone prohibits me from doing anything generic with it. So all that's left for me is 'focus on web development'. And to be honest: I think today it is not even so good at that. We have server side JS (Node), Ruby, Python and Java -- all freely available with huge communities. Does PHP stack up against these today? I…
On a more positive note: I think the Symfony team actually has the vision: provided it has to be with PHP, let's make a full stack web development framework (like Rails) that does not suck, and create heaps of interesting components/libraries that can be used perfectly on their own in the process! These guys and girls are showing to what extend PHP can be pushed, they also build a fair share of general purpose libs t…
Re: PHP needs a vision
#74Earlier quoted context omitted.
Personally I find nothing much 'general purpose' about PHP. The language has configuration files! That alone prohibits me from doing anything generic with it. So all that's left for me is 'focus on web development'. And to be honest: I think today it is not even so good at that. We have server side JS (Node), Ruby, Python and Java -- all freely available with huge communities. Does PHP stack up against these today? I…
> We have server side JS (Node), Ruby, Python and Java -- Hey now. Let's not forget everyone's first love: Perl. :D It's still quietly running quite a few big sites out there, and is currently enjoying something of a renaissance with frameworks like Mojolicious & Dancer, not to mention the releases of 5.10-5.16.
On the other hand, Dr Dobbs thinks:
"...Perl continues its long decline. According to Google trends, the number of searches for Perl is 19% of what it was in 2004. Its declining role in open-source communities further cements the perception that it's in an irretrievable tailspin."
http://www.drdobbs.com/jvm/the-rise-and-fall-of-languages-in...
Re: PHP needs a vision
#75I come from a C++ background, and early last year tried my hand at web development. After hearing about all the stuff about how PHP was an "old", kludgey language, I tried to learn python, and go the webpy. It was doable, but I kept running into issues all the time. I gave up and switched to PHP, and I have to say that it was a much easier experience. For the most part, everything just worked. Regardless of how kludg…
"PHP Should Be Implementation Neutral, and Support All Paradigms Equally". This is what I like about PHP. When you want a 4 page site, you can use procedural and functional programming. When you're working on an enterprise level CMS you can whip out the OO paradigm and you're set. PHP is a messy soup but it does web better than most other languages.
Re: PHP needs a vision
#76I come from a C++ background, and early last year tried my hand at web development. After hearing about all the stuff about how PHP was an "old", kludgey language, I tried to learn python, and go the webpy. It was doable, but I kept running into issues all the time. I gave up and switched to PHP, and I have to say that it was a much easier experience. For the most part, everything just worked. Regardless of how kludg…
"PHP Should Be Implementation Neutral, and Support All Paradigms Equally". This is what I like about PHP. When you want a 4 page site, you can use procedural and functional programming. When you're working on an enterprise level CMS you can whip out the OO paradigm and you're set. PHP is a messy soup but it does web better than most other languages.
Re: PHP needs a vision
#77I think this may be too optimistic. It seems to me that PHP's lack of vision has already made it a horrifically bad language. The problem is not that it tries to do OO while also not really trying to do OO (don't get me wrong though, that is a problem). The problem is that it tries to do OO like Java. Get with the times and learn Ruby already.
Re: PHP needs a vision
#78Earlier quoted context omitted.
"PHP Should Be Implementation Neutral, and Support All Paradigms Equally". This is what I like about PHP. When you want a 4 page site, you can use procedural and functional programming. When you're working on an enterprise level CMS you can whip out the OO paradigm and you're set. PHP is a messy soup but it does web better than most other languages.
One nice side affect of this is that PHP can suit both novice and experienced programmers. Newbies don't have to learn OO before they write Hello World.
Re: PHP needs a vision
#79Worthwhile reading the email that preceded it: http://news.php.net/php.internals/64763 The response hardly seems warranted. The vision is pretty stated there.
The response would seem warranted if you had been a participating member of the PHP internals list for any significant length of time. Stas is pretty well known for jumping into threads and completely derailing, and shooting things down with BS like "PHP is not Java, stop trying to make it into Java". The response is a culmination of a long time of watching him respond in such a fashion. Stuff like this: http://marc.…
Re: PHP needs a vision
#80Earlier quoted context omitted.
Questioning the value of a technology which inhabits the technology industry much like a cancer is not empty. PHP needed a vision 15 years ago. It was originally called "Personal Home Page" and intended to only slightly extend the functionality of Server-Side Includes. People tend to forget that.
> PHP needs to die That comment is extremely insightful. How did I not see this? > It was originally called "Personal Home Page" I was originally 19 inches long and crapped my diaper several times a day. PHP has grown and changed tremendously since those days. It's not the same codebase, at all: "Finding PHP/FI 2.0 still inefficient and lacking features they needed to power an eCommerce application they were developi…