Author | Topic |

Location: Cabramatta, NSW
Registered: May 2002
|
Re: Java Problem
|
Wed, 13 August 2003 01:50

|
 |
The way I see it is that PHP is perfect for hacking something quick and dirty together.
Small systems are suitable, but if you've got more than 3 developers working on the system, then I don't think PHP is suitable.
PHP4 has the OO sorta stuff, but at the end of the day it's still a procedural language with all the associated drawbacks like badly defined scope and the need to compile each time (although optimisers like Zend will compile and cache PHP code for you).
From what I've heard about PHP5 is that the OO stuff has been cleaned up a lot and things such as scope are similar to Java. Even has interfaces and all that jazz so you can do things like implement you beloved singleton pattern. 
But for real developer work, especially in a large team, Java rocks. It's a lot easier to do things in Java, especially with IDEs and UML tools these days that virtually write the code for you.
A good Java IDE will handle all the necessary imports, do code completion (ie: start typing in the name of a variable or a class's method and it'll suggest the closest match to you), it'll also do on the fly syntax and method invocation checking for you. They'll generate the JavaDoc for you so that other developers can start using your classes straight away (even if your code hasn't been written yet).
Show me a PHP IDE that'll do that.
Granted, Java is overkill for some things, but 6 months down the track, when you have to extend the code base, it is sooOOOoo much better than PHP (and any other scripting language).
|
|
|
| Subject | Poster | Date |
 |
Java Problem
|
boris | Fri, 08 August 2003 06:48 |
 |
Re: Java Problem
|
boris | Fri, 08 August 2003 07:29 |
 |
Re: Java Problem
|
Rolla Boy | Fri, 08 August 2003 09:35 |
 |
Re: Java Problem
|
gtman | Fri, 08 August 2003 10:20 |
 |
Re: Java Problem
|
SupraPete | Mon, 11 August 2003 02:53 |
 |
Re: Java Problem
|
gtman | Mon, 11 August 2003 03:38 |
 |
Re: Java Problem
|
ehendrikd | Mon, 11 August 2003 02:58 |
 |
Re: Java Problem
|
SupraPete | Mon, 11 August 2003 08:08 |
 |
Re: Java Problem
|
gtman | Mon, 11 August 2003 14:21 |
 |
Re: Java Problem
|
SupraPete | Mon, 11 August 2003 23:27 |
 |
Re: Java Problem
|
gtman | Tue, 12 August 2003 01:30 |
 |
Re: Java Problem
|
SupraPete | Tue, 12 August 2003 01:55 |
 |
Re: Java Problem
|
gtman | Tue, 12 August 2003 02:20 |
 |
Re: Java Problem
|
SupraPete | Tue, 12 August 2003 02:37 |
 |
Re: Java Problem
|
ehendrikd | Tue, 12 August 2003 03:00 |
 |
Re: Java Problem
|
SupraPete | Tue, 12 August 2003 03:15 |
 |
Re: Java Problem
|
ehendrikd | Tue, 12 August 2003 03:26 |
 |
Re: Java Problem
|
SupraPete | Tue, 12 August 2003 03:38 |
 |
Re: Java Problem
|
ehendrikd | Tue, 12 August 2003 03:43 |
 |
Re: Java Problem
|
SupraPete | Tue, 12 August 2003 03:49 |
 |
Re: Java Problem
|
ehendrikd | Tue, 12 August 2003 03:58 |
 |
Re: Java Problem
|
gtman | Tue, 12 August 2003 04:35 |
 |
Re: Java Problem
|
SupraPete | Tue, 12 August 2003 06:34 |
 |
Re: Java Problem
|
gtman | Tue, 12 August 2003 06:58 |
 |
Re: Java Problem
|
Ribbo | Tue, 12 August 2003 12:46 |
 |
Re: Java Problem
|
ehendrikd | Tue, 12 August 2003 23:48 |
 |
Re: Java Problem
|
SupraPete | Tue, 12 August 2003 23:58 |
 |
Re: Java Problem
|
Nark | Wed, 13 August 2003 01:50 |
 |
Re: Java Problem
|
gtman | Wed, 13 August 2003 01:59 |
 |
Re: Java Problem
|
Nark | Wed, 13 August 2003 02:33 |
 |
Re: Java Problem
|
SupraPete | Wed, 13 August 2003 02:05 |
 |
Re: Java Problem
|
gtman | Wed, 13 August 2003 02:41 |
 |
Re: Java Problem
|
Nark | Wed, 13 August 2003 03:09 |
 |
Re: Java Problem
|
SupraPete | Wed, 13 August 2003 07:04 |
 |
Re: Java Problem
|
Ribbo | Wed, 13 August 2003 14:35 |
 |
Re: Java Problem
|
Nark | Wed, 13 August 2003 23:28 |
 |
Re: Java Problem
|
gtman | Thu, 14 August 2003 03:25 |
 |
Re: Java Problem
|
Nark | Thu, 14 August 2003 03:49 |
 |
Re: Java Problem
|
gtman | Thu, 14 August 2003 04:49 |