I haven't done any work in PHP so I can't really comment on its
usefulness, but I've found doing web stuff in Java isn't particularly
hard.  There are a number of possibilities for doing Java work on the
server that makes it easier too.

We use Apache Tomcat here.  It handles all the HTTP handling and such
and makes things pretty easy, and we do some very complex processing.
However, as others have mentioned, if you're just doing simple
processing tasks then it's most likely overkill.

As far as building up a skillet, I think Java is more generally useful
(you'll be doing server work but the skills you learn can be applied
to client code as well, and even embedded stuff to some extent, though
I haven't done any of that).  PHP, on the other hand, tends to be more
limited in where it's used (from my understanding).

 -Andy

On 7/19/07, Joshua Sera <[EMAIL PROTECTED]> wrote:
You have to worry much less about Memory leaks, and
syntactically, the language is simpler than C++, so
saying that it's become more complicated than C++ is
total bull.

Still, they're just different beasts. I'd rather write
most web apps in PHP, but you could never write your
own server in PHP either. PHP is really just about
doing things with HTML. The filesystem, image
manipulation, and other functions are secondary to
that.

Java is meant for applications, which means that you
can make it mangle HTML, but it takes longer.

You could never write a server in PHP, but if you
wanted to throw a simple XML file at a Flash
application, Java would be total overkill.

--- Weldon MacDonald <[EMAIL PROTECTED]> wrote:

> I've been using ActionScript for a while now, but my
> next project will
> require a lot more server side work. In the past
> I've used PHP, but
> only in a pidgin kind of way. alternatively, I have
> some Java skills,
> though not specifically for the web. Either way I
> have to spend some
> time developing an appropriate skill level, the
> question becomes,
> which skills.
>
> The times I've used PHP, it seemed straight forward
> enough, and from
> what I've read Java is a little trickier to
> implement on the web
> (correct?). On the other hand, PHP is a pretty
> specific niche whereas
> Java has a much wider usefulness (correct?)
>
> There are a lot of strong opinions out there.
>
> Andreessen: PHP succeeding where Java isn't
> http://news.com.com/2100-1012-5903187.html?tag=tb
>
> and  in response,
>
> How they can compare PHP with Java at all? (most
> people who are
> praising PHP are either bad programmers or they are
> not programmers at
> all)
>
http://news.com.com/5208-1012_3-0.html?forumID=1&threadID=10712&messageID=78718&start=0
>
> PHP is faster to develop, java is faster to run, or
> is that runs faster?
> PHP is harder to maintain, and Java has more tools
> ...etc...
>
> What's a guy to beloieve? Any opin... any more
> opinions?
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the
> archive:
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>




____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to