• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Should you still learn PHP?

 
Greenhorn
Posts: 6
IntelliJ IDE Java ME Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone! Since I'm just a college CS student I want to ask this question from more experienced programmers than me! So I recently have started working with Servlets and JSP. Beside Java, I am also focusing on JavaScript and My plan is moving to Hibernate and Spring for Java part and also JQuery and node.js for javascript part after a while. The question is do I still need PHP in my resume (for big tech companies, not personal projects or startup purposes)?
 
Marshal
Posts: 4858
317
IntelliJ IDE Python Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a college CS student it doesn't matter much if you have PHP or not. At this stage, you will be looking to build a solid foundation of creating software systems, regardless of language. Stick with what interests you, as that will help keep you motivated.
 
Bartender
Posts: 3648
16
Mac OS X Firefox Browser Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well yes and no.

PHP can still be useful in a all Java project.

What scenario will PHP be useful in Java project? Hmm commonly changed dynamic files such that changing the JSP/ re-deploy web app is overkill; such files may be better off developing in PHP and kept in the Apache HTTP server. Maybe XML data files and schemas?

Depending on the actual project, most of the time the web server (usually Apache HTTP) will forward to the Tomcat or whatever Java app server through mod_jk or the equivalent and once in the Java app server, everything is java.
 
Marshal
Posts: 67389
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my experience, mixing PHP into Java web app is a nightmare. I do not recommend it.

That said, learn PHP if you want to. It's never a bad thing to have more tools under your belt -- but do you need to learn PHP? Not really.
 
Rancher
Posts: 43015
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd add that you'll be busy for quite a while with the stuff you already intend to learn. Assuming that you have also classes, projects and exams, there may not be all that much time for PHP.
 
Ranch Hand
Posts: 310
18
MS IE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a Zend Certified Engineer and I... do not like PHP. It's a good language. It is very easy to learn the basics and get something that works. And, ironically, it's a problem. The problem is, many people learn those basics, get things working, and consider themselves "PHP programmers". I have seen countless terrible codes during my professional work in PHP. This is what led me to quit PHP. It was enough to me to deal with terrible code written by "professionals".

Once I work on a commercial software that makes it's company revenues in around a million USD per annum. It's code is terrible. There are files over 1000 lines of code, full of mixed PHP, JavaScript, CSS and HTML code. No single class was used and barely any custom functions. Yet despite so terrible architecture, the software is very popular in it's industry.

IMO: If you love purity in code and architectural excellence, than PHP may be not for you. If you want just to get things done and get paid, PHP is okay.
 
    Bookmark Topic Watch Topic
  • New Topic