Revision as of 13:01, 23 June 2006 editTommyG (talk | contribs)Extended confirmed users3,164 editsNo edit summary← Previous edit |
Latest revision as of 17:01, 8 November 2024 edit undoPeaceray (talk | contribs)Autopatrolled, Administrators94,381 editsm Rollback edit(s) by 1.37.88.45 (talk): test edits (RW 16.1)Tags: RW Rollback |
(859 intermediate revisions by more than 100 users not shown) |
Line 1: |
Line 1: |
|
{{technical}} |
|
{{Skip to talk}} |
|
|
{{Talk header|noarchive=yes|search=no}} |
|
|
{{Article history |
|
|
|action1=PR|action1date=09:46, 23 February 2008|action1link=Misplaced Pages:Peer review/PHP/archive1|action1result=reviewed|action1oldid=193456805 |
|
|
|action2=PR|action2date=00:02, 25 March 2008|action2link=Misplaced Pages:Peer review/PHP/archive2|action2result=reviewed|action2oldid=200566442 |
|
|
|action3=GAN|action3date=11:11, 1 April 2008 (UTC)|action3link=Talk:PHP/Archive 6#Good article nomination|action3result=listed|action3oldid=202315889 |
|
|
|topic=engtech |
|
|
|otd1date=2007-06-08|otd1oldid=136768480 |
|
|
|otd2date=2008-06-08|otd2oldid=217767227 |
|
|
|otd3date=2009-06-08|otd3oldid=294808489 |
|
|
|otd4date=2010-06-08|otd4oldid=366892913 |
|
|
|otd5date=2012-06-08|otd5oldid=496541912 |
|
|
|otd6date=2015-06-08|otd6oldid=665966658 |
|
|
|otd7date=2020-06-08|otd7oldid=961374169 |
|
|
|
|
|
|
|action4 = GAR |
|
*] |
|
|
|
|action4date = 22:40, 12 February 2024 (UTC) |
|
*] |
|
|
|
|action4link = Misplaced Pages:Good article reassessment/PHP/1 |
|
|
|action4result = delisted |
|
|
|action4oldid = 1206545484 |
|
|
|currentstatus = DGA |
|
|
}} |
|
|
{{WikiProject banner shell|class=C|vital=yes|1= |
|
|
{{WikiProject Computing|importance=High|free-software=yes|free-software-importance=High|software=yes}} |
|
|
{{WikiProject Computer science|importance=high}} |
|
|
{{WikiProject Internet|importance=high}} |
|
|
{{WikiProject Software|importance=mid}} |
|
|
{{WikiProject Spoken Misplaced Pages}} |
|
|
}} |
|
|
{{Merged-from|Visibility of PHP properties and methods|08:41, July 28, 2010}} |
|
|
{{Merged-from|PHP Data Objects|date=July 15, 2014}} |
|
|
{{ user:MiszaBot/config |
|
|
| archiveheader = {{talkarchivenav}} |
|
|
| maxarchivesize = 31K |
|
|
| counter = 8 |
|
|
| minthreadsleft = 4 |
|
|
| minthreadstoarchive = 1 |
|
|
| algo = old(100d) |
|
|
| archive = Talk:PHP/Archive %(counter)d |
|
|
}} |
|
|
{{archives|search=yes|bot=MiszaBot I|age=100}} |
|
|
|
|
|
|
==GA Reassessment== |
|
== Functional programming in PHP == |
|
|
|
{{Misplaced Pages:Good article reassessment/PHP/1}} |
|
|
|
|
PHP4+ has some support for functional programming: almost-closures (uncomfortable, outer variables are inherited as values), variable functions (you can bind, receive and/or return named or anonymous functions as variables), and well-known high-order array functions like array_map, array_walk, array_filter or array_reduce which are in the standard library. |
|
|
|
|
|
If we're saying Python supports functional programming, I think we could say PHP does too, and add it to the language comparison article. |
|
|
|
|
|
== PHP as an alternative to ASP.NET? == |
|
|
|
|
|
"The PHP model can be seen as an alternative to Microsoft's ASP.NET/C#/VB.NET" |
|
|
|
|
|
Don't you think that this should be removed, as PHP is just a second league when comparing ASP.NET features? Please, be objective and unbiased. |
|
|
|
|
|
: Well, by leaving out Macromedia's ColdFusion system, Sun Microsystems' JSP/Java system, the Zope/Python system, the Mod perl/Perl system, and the Ruby on Rails framework, you are implying that ASP.NET/C#/VB.NET is superior to all of these. Is that really the case? And, is it really about which is better, or is it more a question of what is better suited for a specific task. |
|
|
: I don't agree that is should be removed - ] 13:49, 11 May 2006 (UTC) |
|
|
|
|
|
: "Objective and unbiased" is what it is. "can be seen" is fairly neutral in terms of POV, unlike, er, for example, "just a second league when compared ...." |
|
|
|
|
|
: "Can be seen" at least informs us that it's an opinion, not a fact. If it were changed or removed, then your POV would *become* the "fact", and there is therefore no reason to make the change. ] 22:59, 6 June 2006 (UTC) |
|
|
|
|
|
: PHP is not second rate compared to the Microsoft technology stack. It is a popular, high performance, open source alternative which is just a ubiquitous as Microsoft on the web. In fact, a more informative statement is: PHP is one of the two dominant technologies for implementing websites (Microsoft's .NET is the other). --] 21:10, 11 June 2006 (UTC) |
|
|
|
|
|
== The mess that is this article == |
|
|
|
|
|
The middle third at least is probably not suitable for this article. You're not reading an encyclopedia to learn how to program. The issue is where to put it. As for the huge list of modules at the end, I'm just going to delete that I think. ] 15:04, 18 May 2006 (UTC) |
|
|
: I couldn't agree more. I think that the ''learning how to program'' bit is more suited to Wikibooks. ] 03:45, 19 May 2006 (UTC) |
|
|
|
|
|
== PHP6 == |
|
|
|
|
|
I'm just wondering if this is the place where we can put information about PHP6, as quite a bit of progress has been made in it's development. --] 14:19, 6 June 2006 (UTC) |
|
|
:A "development" section would be better than sprinkling it all over the article I think. ] 16:51, 19 June 2006 (UTC) |
|
|
|
|
|
|
|
|
== Criticism == |
|
|
|
|
|
Imo there are a couple of passages in the criticism section that should be removed, as they are incorrect/not verifiable, or simply silly |
|
|
|
|
|
The many settings in the PHP interpreter's configuration file (php.ini) mean that code |
|
|
that works with one installation of PHP might not work with another. For example, |
|
|
if code is written to work with register_globals turned on, it won't work on another |
|
|
system that has register_globals turned off. This makes writing portable code more |
|
|
difficult as the only way to ensure compatibility is to assume that features will be |
|
|
unavailable. |
|
|
register_globals is a silly example to use here, since it's a question about backwards compatibility. Code developed after 4.1.2 should anyway use the superglobals, and not rely on register_globals, and should then work under any circumstances. Other showstoppers are f.ex safe mode etc. I don't agree that this is a valid criticism though. |
|
|
|
|
|
Method / function overloading is not allowed (Obsolete since PHP5). |
|
|
Listing every programming concept which isn't supported in PHP is silly and pointless. There's many other OO concepts that also are not supported in PHP4, less so in PHP5 |
|
|
] 13:01, 23 June 2006 (UTC) |
|
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.