Which one is better?

by 36 replies
42
Well friends this is my first post and I am interested to know whether I should prefer either PHP or JSP to develop some programing skills. Although I have basic knowledge of both but intended to go in detail. So, need suggestion? check this url >>> http://www.prlog.org/12063250-wayfai...any-order.html
#programming
  • Banned
    [DELETED]
  • Getting started with HTML would be better.
  • Banned
    [DELETED]
  • If you wanna build web applications, Go for PHP. Or if you are interested in enterprise level applications, Go for Java/J2EE
  • JSP is much easier than PHP but JSP is quite heavyweight, whatsoever on a developer's point of view, JSP could be a better choice.
  • PYTHON or PHP however you must have a very nice knowledge on HTML/CSS and preferable some JAVASCRIPT, JQUERY and AJAX those are VERY VERY VERY USEFULL !
  • If you are good with html then better you go with PHP..
  • Banned
    [DELETED]
  • Banned
    Go ahead with PHP it is the best ,
    no doubt it is better than JSP.
    • [1] reply
    • I will agree with you if you will assure me that PHP is safer than JSP in handling security issues.
  • IT depends on what is your goal? Java is widely used in large enterprise applications (although more than just JSP and raw servlets), and PHP is the king of small sites. Basically I would like to choose PHP over JSP. Primarily because I think you will find vastly more code in the Open Source world built using PHP. I've also found I can do simple things very rapidly with PHP. Also some major CMS systems (like Drupal and Joomla) are made using PHP.
  • Definitely go with PHP. PHP and HTML knowledge combined will help you to achieve lots of things (for example you can easily manipulate WordPress, but not only). Also, these two serves as a base for everything else...
    • [1] reply
    • hello
      i think PHP is better to other.....
  • you have to decide if want web development CMS system CRM so you have to learn php, html, css and additional java.
  • PHP is the best for developing website and web apps,
  • Banned
    [DELETED]
  • I agree with the PHP crowd. It is very secure and robust when you learn to use it correctly. I don't have any experience with Python, but I hear it is also very good.
  • [DELETED]
  • I will say HTML + PHP is better.
  • I would personally recommend PHP.
  • I prefer php these days even with flat documents as it is easir to add server side code to that document if I want to add some sort of function to the site.
  • I'd recommend PHP.
  • Last night I also asked the same question from my Programmer friends and they preferred PHP/MySql first and then .Net
  • PHP may be the perfect choice !
  • Simply because PHP is an open source
  • If you have basic HTML knowledge then you can go with PHP.
  • As per my opinion, I would like to say that both the languages are good to learn. However, PHP is an open source and very easy to learn to compare JSP So it's depended on you that in which language you want to make your career. JSP is a very wide language, and It has more variety to make a better career.
  • I recommend PHP. You can use it for many things: accounts, emails, and other server side stuff like post requests.
  • Oh no not another one of these threads! Simple answer, whichever one works best for your way of thinking.
  • i think i depends on you interest one is for application development and other is for application ,so its you choice what you want to do, as a carrier point of view ,both have similar scope.
  • i think you must use PHP, because it is better..
  • I would go with PHP....

    several reasons:

    Easy to work with-

    Flexible-

    Adjustable-

    Cheers!,
    Guillermo-
  • As per my view JSP is good.
    • [1] reply
    • JSP is better than PHP:
      • Anything you can do with PHP, you can do with JSP; the reverse is not true
      • JSP is much more powerful, since it has access to all the Java libraries. PHP only has access to PHP libraries
      • JSP is Object-Oriented, so leads to cleaner code that's easier to debug, maintain, and improve. (PHP also allows objects, but the object model is more primitive, and most scripted pages ignore PHP objects and just use normal variables.)
      • The equivalent syntax in JSP is just as simple to learn, so you can get up and running just as quickly -- that is, there's no extra startup cost in using Java, at least not a significant one
      • Java programmers (as opposed to 15-year-old hackers or HTML monkeys) appreciate the importance of a clean language with complex OO data structures and strong typing
      • With JSP, if the code inside a page gets too big, or if you want to use it elsewhere, you can cut it out, make it into a Java class, and invoke it from anywhere in your application (even not from a page). With PHP, you're stuck inside the HTML box.
      • JSP's concept of state management and persistence is more explicit and powerful than PHP's. With JSP, you can specify whether a variable persists for the page, the request, the session, or the application (or if it's just local to the function). The JSP engine automatically does the right thing with cookies so you have access to the variable on later requests. With PHP, you just have "global" and "not global", you don't have automatic session management, and have to do your state thing manually with cookies or hidden variables.
  • you can use PHP, Ruby on Rails or Python. these are best web programming language in todays' trend I think
  • I believe its easier to find PHP help online.
    And, PHP allows you to also use regular HTML. So its easy to edit...
    I suppose it all depends on what you want to do.
    Just so you know: If your looking for passwords and usernames, PHP isn't all that secure, but its easier.
  • Widely supported, easy to learn, easy to implement: PHP
    Strongly Object-Oriented, Suitable for complex applications, steeper learning curve: JSP
  • Banned
    [DELETED]
    • [1] reply
    • If good with html then better you go with PHP too
  • When you are going for web programming there is nothing better than using PHP. Whereas when you are creating enterprise level software or games JSP is the language to use. JSP can also be used to create websites, but PHP cannot be used to create enterprise level software.
  • [DELETED]
  • Banned
    [DELETED]
  • JSP is good but PHP is better, specially on handling security issues. It's easy to learn and implement. PHP can provide you tons of function to work with your web applications.

    if you want to build your web app to be more interactive then combine php with jquery.
  • I prefer PHP.Because it is an easy programming language and if you c then you can easily learn and work omn the PHP.

Next Topics on Trending Feed

  • 42

    Well friends this is my first post and I am interested to know whether I should prefer either PHP or JSP to develop some programing skills. Although I have basic knowledge of both but intended to go in detail. So, need suggestion? check this url >>> http://www.prlog.org/12063250-wayfai...any-order.html