• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java vs. PHP

 
Author
Posts: 6055
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this is the best forum for this question (even if this isn't the best site for it*), if not, please move it.
I'm now managing a development team which has small client server application, and basic web administration pages. I have a background in Java and don't really know PHP. I can follow the code, obviously, I just don't know the strengths and weaknessed of PHP and how to decide which technology is better. (We run on Linux boxes using Linux Virtual Server.)
For basic web applications, what are the pros and cons of PHP/MySQL versus Java servelets/JSPs/JDBC and related Java technologies?
For the client server applications, they are using HTTP as the communications protocol. It's not really web based. The server side applications are written in PHP/MySQL. What are the pros and cons of PHP/MySQL versus Java servelets/JSPs/JDBC and related Java technologies in this type of usage model?
Thanks for any help!
--Mark
*I"m asking here because, well, obviously I like this site, and also because as a Java guy, I figure we speak the same language (figuratively and literally).
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

For basic web applications, what are the pros and cons of PHP/MySQL versus Java servelets/JSPs/JDBC and related Java technologies?


Hey Mark. One key factor that we always use for any technology is the hiring factor. Which of the two will be easier to fill a position. How many programmer's are out there that know Java Servlets/JSP as opposed to PHP? PHP is pretty cool, it is fully OOP, however, I think there are much more Java programmer's out there.
I think of all the technologies out there for Web based development and especially server side development, Servlets/JSP and EJB's are the most used.
Now for Client Server type application, I waver. I am a rich client type guy, so I want my development IDE to be able to make really cool GUI's and anything I want. I don't want to be limited by the technology. If you have the ability to keep all the users in one OS, then that helps determine which language. Meaning if the clients are all Window's clients, then your best choice is VB, forget about Anti-Microsoft thoughts. VB just has the Windows Development market covered. Yes you can also use Visual C++, but again I say that you end up making it a little more difficult to hire other people down the road. Java Swing I still feel isn't quite there for fast Rich Clients. However if you are using X-Windows, or even Macintosh, it might work for you.
Personally, I would love to use Java everywhere.
Just my 2 cents.
Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic