Link Details

Link 7414 thumbnail
User 134623 avatar

By javacola
via bitstorm.org
Published: Nov 23 2006 / 09:13

I have been developing in PHP for six years now. PHP is very easy to program in. But PHP also has some serious flaws. Below I give some reasons why you have to do some serious thinking before implementing a large scale web application in PHP
  • 10
  • 0
  • 1649
  • 614

Comments

Add your comment
User 190346 avatar

ilazarte replied ago:

0 votes Vote down Vote up Reply

fascinating tree of articles here, it looks like php has some really serious problems- stuff us java guys take for granted...

User 207273 avatar

abhibeckert replied ago:

0 votes Vote down Vote up Reply

Basically it comes down to:

- Inconsistant. Partly because the core functions weren't thought out properly, and partly because the syntax can be customized by the server admins. Both issues completely dissapear if you have a good framework.

- Syntax isn't as "full-featured" as many other languages (most of this was fixed in php 5, but there's still a couple left).

My day job is PHP programming, and some of our websites are very complex. PHP has some problems (I almost always use other languages for personal projects), but at the end of the day php is nice if you have a good framework.

It's also worth mentioning that some of Edwin's points aren't very solid... for example recursion is generally only an issue when you need to work with large amounts of data, such as when sorting, which you should be doing in your SQL statement. Even with good recursion quicksort will never be faster than 'order by last_name'. Yes, good recursion would be nice, but it's not a major problem in the 'real world'.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)