Hello people,
This summer i'd like to teach myself a bit of php OR jsp. What would be the main differences between the two?
Both 'technologies' are server side helping to create dynamic web pages. I'd also like to learn AJAX whilst doing that. It's basicly Javascript right? So i suppose it isn't much harder/easier in 1 language or the other..
Is it the cross-platform of Java again?
I have the feeling that php is more commonly used than jsp, but i'm not too sure about that.
I allready have the Java knowledge, and did ASP with C#, while the php kinda looks like shell scripts in linux :p And i'm not very good at that. But that may be a reason to get into php to get better at it.:confused:
php vs jsp
Started by wim DC, Jul 11 2010 03:26 AM
6 replies to this topic
#1
Posted 11 July 2010 - 03:26 AM
|
|
|
#2
Posted 11 July 2010 - 04:54 AM
JSP = Java (with all the good and bad that goes with it)
PHP = PHP (with all the good and bad that goes with it)
Which is easier depends on how much Java you already know, and how much you intend to learn.
What will probably be the hardest to learn is the various web-concepts associated with submitting/processing form data, and generating valid HTML, CSS, and JavaScript to the client.
PHP = PHP (with all the good and bad that goes with it)
Which is easier depends on how much Java you already know, and how much you intend to learn.
What will probably be the hardest to learn is the various web-concepts associated with submitting/processing form data, and generating valid HTML, CSS, and JavaScript to the client.
#3
Posted 13 July 2010 - 06:57 AM
probably choose php bcuz its soo easy to learn compared to java
yet the capabilites of java cannot be achieved by php
yet the capabilites of java cannot be achieved by php
#4
Guest_johnny.dacu_*
Posted 16 July 2010 - 08:12 AM
Guest_johnny.dacu_*
I recomend PHP. Easy to learn, easy to setup the env,
#5
Posted 16 July 2010 - 10:59 AM
Yea, i followed the tutorial on w3schools and thus far it's incredibly easy.
#6
Posted 16 July 2010 - 12:44 PM
ManZzup said:
probably choose php bcuz its soo easy to learn compared to java
yet the capabilites of java cannot be achieved by php
yet the capabilites of java cannot be achieved by php
The statement that Java is harder to learn than PHP is nonsense. I don't know awhole lot about how JSP handles tasks in a web environment like reading POST/GET data but it can't be much more complicated than PHP. Database access is just as simple in Java as in PHP without any lost functionality. Other things that PHP can do like networking, creating graphics, processing HTML forms can all be done with Java. So you don't really lose anything by using Java instead of PHP. PHP is more common than Java and probably lets you do things with less code but both languages have almost the same capabilities.
All really comes down to personal choice and learning how to create valid HTML and JavaScript code with whichever language you choose. There are some differences in the object model but both languages are similar.
#7
Posted 17 July 2010 - 03:37 AM
Eventually i'll learn both anyway :D


Sign In
Create Account


Back to top









