PHP rocks! (Java sucks?)

Galleria cinemas.

I’m not a fan of rant–type entries though I just feel like doing it now. I’ve been going through java training here in the office and there’s one thing I could say: PHP rocks! Java/JSP/Struts and everything that comes with it is nice, but coming from a PHP background I just feel like they’re trying to complicate simple problems. Then you have XML config files and other things that do the same and end up making everything too hard to comprehend.

Whew, had to get that out of my system. Just a random rant. 🙂 Gotta go now.

21 Responses

  1. Kates, I think codeigniter is cool. I might have a go at it when I take on a big project, unless I can manage with my usual set of libraries. Thanks for sharing. 🙂

  2. Hehehe, I agree. 🙂 I just find it frustrating having too many different config files and having to restart the server when making changes, not to mention how slow eclipse runs on my workstation here at the office. Hehehe.

  3. i googled mayer’s photo and i landed in your site. nagandahan ako kaya di ko napigilang mag comment, hope you dont mind.

    i like your phots here, madalas ako gale pero di ko pa naisipang kuhanan yan. ganda pala!

  4. Haha… I’m glad there’s a question mark it the “Java Sucks” statement.

    I think this is like film vs digital argument in photography… you really cannot compare the two.

    I use Java/Struts/JSP at work everyday and I like it… The problem with taking technology classes sometimes is they focus only on implementation…”how to do stuff”. But how about going more in depth… MVC, Front Controller, Data Access Objects, Transfer Objects… Why bother use them at all?

    “Java Sucks” is actually inaccurate… which Java? Mobile Java? Web component Java? Client side Java? A more accurate comparison I think is JSP and PHP – you do not need to restart server to make changes, no config files. But because the importantce of the patterns above Java moved beyond JSP only implementation… Struts, Hibernate to every acpect of J2EE.

    Whew… haha… sorry just voicing out the Java developer in me. But I agree PHP rocks… Ruby and Java too 😉

  5. Hahaha, will this be a holy war? 😉

    Diong, I was actually just voicing out my frustration. 🙂 I was having a hard time working with Java because of the more disciplined approach to coding and implementation of MVC as well OO concepts, especially if I can already imagine a similar solution in PHP. I think I wasn’t really being clear when I wrote my entry, hehehe. It’s really just a childish rant.

    One thing that kept bugging me about Java–related development is the use of several config files. There’s one for tomcat, then one for struts, another for struts validation, etc. Just something I’m not used to.

    The question mark on “java sucks?” was really intended to be there. And I agree it rocks, just as PHP and RoR does. Next on my list of things to study would be RoR, after my java training.

    Peace tayo boys ha… Hehehe. Nice discussion. 😉

  6. Diong, PHP is a lot like JSP and you won’t have a need for it unless you start taking on small to medium scale web apps. 😉 Once you master PHP you’d be perfect, as I can see you’re just as good in photography compared to your wonderful sketches and paintings. Idol! 🙂

  7. hi guys..just surfing and downloading stuff..when i came across this blog.

    i am a freelance web designer, developer, and systems developer (java/vb) from cebu. i have to mention three things:

    1. i was blown away with your design, layout, and hues. i think i have to go back and unlearn. congrats!

    2. i agree with diong. i have been developing systems (LAN based) , for years, with java and i find the language challenging (not to mention the steep learning curve). i’m currently developing a system using JSP and Servlets so learning them was easy.

    3. php or java? both of them are excellent programming tool. as long as you make your boss happy, and your wife happy. all is well.

    thank you and God bless you all!

  8. randy k, thanks for dropping by and the wonderful comments. I’m flattered. 🙂 I’m also from Cebu, though my grew up here in Manila. I still get to visit Cebu every few years.

    Regarding PHP, Java, etc., I agree that is is always about the end product and each their own strengths and weaknesses.

    God bless as well, hoping to see more of you here next time. 🙂

  9. hi mark.

    good day.

    i hope you won’t mind me asking. i found this site

    and honestly, i was impressed with the design and the theme chooser.

    just want to ask if the site was built/designed on xhtml or css?

    if i want to learn the techniques used in that site and yours, should i start with xhtml then css? or css then xhtml?

    i hope i’m not asking too much mark, can you pls give me some links where to start learning these techniques?

    thank you and God bless you my friend!


  10. Hi randyk. 🙂 XHTML and CSS are used together to form most of today’s web pages. XHTML is the document that contains the information, while CSS provides details on how it should be presented. Actually, XHTML is just HTML with a few enhancements and changes.

    If you have a background in HTML, you already know 90% of XHTML. Learn them both at the same time and you’ll be surprised what you could do with it. 🙂

    Here’s almost everything you need: Web Developer’s Handbook.

  11. lol, Just the opposite, from JAVA/JSP/Struts Background, I’m doing tons of PHP these days. Rants? Love JAVA for structured coding, PHP just to get things done and faster. I just love grassroots PHP.

  12. j4s0n, I think every programmer who knows both PHP and Java share our opinion: Java is good programming, PHP gets the job done. 🙂

    I just find PHP very empowering in the way it enables us to solve problems instead of forcing us to go through a process where you have to “design how to solve the problem.” 😉 Of course if I was a competent Java developer I’d know how to do things in Java without wasting much thinking time, but I’m not. 🙂

Leave a Reply