Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


JAVA or PHP? filter_list
Author
Message
JAVA or PHP? #1
Hello there,I would like to ask one simple question. I want to become good at web developing and because I know HTML,CSS,Javascript,I don't know what language to use for server-side.
I realized that Java and PHP are really used in this area so I'm kindly asking for experiences and support.Please make this type of comparing:

Java -Speed , -Time to learn , -some frameworks , compatibility..etc
PHP -Speed , -Time to learn , -some frameworks , compatibility..etc

Thanks Biggrin

Reply

RE: JAVA or PHP? #2
Java would be client side as well. The applets are downloaded and run on the clients computer, not the server

Reply

RE: JAVA or PHP? #3
I would say go with PHP. It's is far more used on websites, just take a look on the 30 biggest websites in the world. If you want to do some serious web development you will have to learn PHP.

For Java. Java isn't used as much as PHP. It is mainly used when creating games, secure applications etc.

So if you want to do some serious web development go with PHP it's a must these days and you won't get a web development job if you cannot write PHP code. I hope i have explained it well enough, otherwise let me know, and i will use a little more time telling you the differences and what the different languages are used for. If you need any help drop me a PM or add me on skype.

Reply

RE: JAVA or PHP? #4
(12-03-2012, 01:23 AM)Geoff Wrote: Java would be client side as well. The applets are downloaded and run on the clients computer, not the server
(12-03-2012, 07:50 AM)Anima Templi Wrote: If you want to do some serious web development you will have to learn PHP.
[...]
It is mainly used when creating games, secure applications etc.

Not true. There is much more than applets. Never heard of Java EE? That is even more often used in business than Java SE. Almost all of the Java job advertisments are for enterprise applications (which is a bit sad imho).

Quote:Java Platform, Enterprise Edition or Java EE is Oracle's enterprise Java computing platform. The platform provides an API and runtime environment for developing and running enterprise software, including network and web services, and other large-scale, multi-tiered, scalable, reliable, and secure network applications. Java EE extends the Java Platform, Standard Edition (Java SE),[1] providing an API for object-relational mapping, distributed and multi-tier architectures, and web services. The platform incorporates a design based largely on modular components running on an application server. Software for Java EE is primarily developed in the Java programming language. The platform emphasizes Convention over configuration [2] and annotations for configuration. Optionally XML can be used to override annotations or to deviate from the platform defaults.

@dreamcoder: I can tell you only about Java. The Java basics are easy to learn. But getting into JavaEE is not. You should have some experience before you start getting into it. Most of the time you struggle with dependencies.
It was my bachelor thesis to integrate a reporting engine to a portal. It took about half a year to learn everything and finally to work and integrate all the frameworks we used (I worked 8 hours a day, but I had no experience in JavaEE when I started).
It is just my opinion, but I didn't like it at all. You just glue libraries together.

In case you want to look into it, here is a tutorial: http://docs.oracle.com/javaee/6/tutorial/doc/bnadr.html
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: JAVA or PHP? #5
(12-03-2012, 09:49 AM)Deque Wrote: Not true. There is much more than applets. Never heard of Java EE? That is even more often used in business than Java SE. Almost all of the Java job advertisments are for enterprise applications (which is a bit sad imho).

No actually im not familiar with Java EE. I took 2 university java programming courses back in 2008 but i really fucking hated the language lol. havent touched them since

I am a little familiar with Tomcat and JSP, but the market penetration of JSP is so low its practically non-existent.

Reply

RE: JAVA or PHP? #6
Thanks for support and caring, I'll try to learn more PHP than Java, but I'll work basic java too Biggrin

Reply

RE: JAVA or PHP? #7
(01-01-2013, 12:20 PM)pinguhash Wrote: For page-making php is best, for scripting JAVA is your option...

Are you thinking of Javascript? Cause Java and Javascript are two entirely different languages...

Reply

RE: JAVA or PHP? #8
(01-01-2013, 12:20 PM)pinguhash Wrote: For page-making php is best, for scripting JAVA is your option...

Are you thinking of Javascript? Cause Java and Javascript are two entirely different languages...

Reply

RE: JAVA or PHP? #9
I'd say go with PHP.
PHP is the most common server side script used these days. Its easy to implement and very interesting.
And as Deque said, to learn JavaEE, you need to know Java. But to know PHP, no such previous knowledge is required.
[Image: 2YpkRjy.png]
PM me if you need help.
My pastebin HERE. My URL Shortener HERE.

Reply

RE: JAVA or PHP? #10
I'd say go with PHP.
PHP is the most common server side script used these days. Its easy to implement and very interesting.
And as Deque said, to learn JavaEE, you need to know Java. But to know PHP, no such previous knowledge is required.
[Image: 2YpkRjy.png]
PM me if you need help.
My pastebin HERE. My URL Shortener HERE.

Reply







Users browsing this thread: 1 Guest(s)