Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Why PHP5? (http://www.go4expert.com/forums/why-php5-t6435/)

Talks_44 19Sep2007 21:57

Why PHP5?
So as some of you know I've been reading a PHP5 book to get refreshed with PHP for those occasional projects where I have to do a bit of it.

In the course of reading about the new PHP5 features, every time I'd come across one I think to myself "well that's good, but java/asp.net has had that for years". And after finishing the book I've more or less concluded that I'd do quick, simple things in PHP if the need arose, but I'd still do anything remotely complex with asp.net.

pradeep 20Sep2007 10:32

Re: Why PHP5?
PHP is ope source, PHP is easier to deploy and maintain, and LAMP works amazingly!

pete_bisby 16Nov2007 01:41

Re: Why PHP5?
.... so what you're saying is that you cannot do anything remotely complex in PHP ....

Which book did you read, because I think you have either been misinformed or mislead. All of the languages you have quoted are all derived from C/C++/C# so, technically, they're all the same. Constructs maybe slightly different, but essentially there is little difference between them.

It is personal preference as to what language you're comfortable in using, but you should never dismiss PHP because you think it can only do simple things. ASP.Net can look great, but that is only because it takes so much from the Windows interface and the .Net libraries - downside is that you're limited to Windows. Java is "write once, run anywhere" and can be installed on many operating systems. PHP is also "write once, run anywhere", can be installed on many operating systems, "lightweight" in comparison to the other two, and can run very easily on Apache and IIS. It does rely on the open source community for updates, improvements and add-ins, but an accomplished developer can produce web applications just as quick as if it was being developed on Java or ASP.Net.

And, anyway, life would be boring if there was just one language to use .... we need variety in our lives - it keeps us in a job !!!

All times are GMT +5.5. The time now is 10:41.