Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   JAVA or PHP ? (https://www.warriorforum.com/programming/884400-java-php.html)

techmyview 26th January 2014 09:09 AM

Re: JAVA or PHP ?
 
Quote:

Originally Posted by rohit1987 (Post 8880441)
PHP is best for web application. Java is more complex and hard.

It is not a rule buddy. Neither PHP nor JAVA is simple or hard. It all depends on your apprehension skills. Also nothing is best for any particular type of application. Use of technology depends solely on availability of skills, complexity of application and time available for development.

koyal 29th January 2014 02:10 AM

Re: JAVA or PHP ?
 
PHP is simpler than Java

ussher 29th January 2014 03:41 AM

Re: JAVA or PHP ?
 
Red for sure!, actually no, blue. definitely blue.

What can you hope to learn from this thread? Was there a point behind asking the question?

wpbasit 31st January 2014 02:49 PM

Re: JAVA or PHP ?
 
It depends on your project requirement and on your programming skills. Java is more difficult than PHP so if you want to build web project but you are newbie in programming, I suggest you to chose PHP.

Valen007 2nd February 2014 05:32 PM

Re: JAVA or PHP ?
 
PHP is server side (executes on the server), Java (applets) is client side (executes on visitor's PC). There is also JavaServer Pages that executes on serverside. JavaScript executes on the client's side too.

If you like OOP then maybe Java is a good choice. PHP is good for it's simplicity, if you like procedural programming you may find PHP suits well.

r0dvan 7th February 2014 12:44 AM

Re: JAVA or PHP ?
 
PHP(Laravel) or Python (Django)

mirsalar12 7th February 2014 04:02 PM

Re: JAVA or PHP ?
 
PHP is the popular. I would use PHP.

vikas yadav 5th March 2014 03:53 AM

Re: JAVA or PHP ?
 
No doubt that popular blogging platform like WordPress is build in PHP. But, there are various other popular framework which provides more security than the PHP is using JAVA. Some of the popular framework which are used to develop web applications are Spring, Strust etc.

Amruta 6th March 2014 10:43 PM

Re: JAVA or PHP ?
 
PHP is the best

K Meier 7th March 2014 06:32 PM

Re: JAVA or PHP ?
 
What no one seems to have mentioned yet is, that PHP is a server side language that will generate HTML as an output, therefore your web browser does not require any 3rd party plugin to view a PHP page. You can create a website/web application in PHP, and everyone on any PC (Windows, Mac, Linux) or any phone or tablet, will be able to see use the website.

With Java however, you will require that the user has to install Java first, thus eliminating potential customers. As far as I know, most Phones and Tablets don't support Java in the browser.

dips12345 12th March 2014 10:19 AM

Re: JAVA or PHP ?
 
I am a php developer so i prefer only php you can also work at home in odesk so that why php is good.
Mtv Music Videos
music video

Kasparas 12th March 2014 04:38 PM

Re: JAVA or PHP ?
 
I second the posts mentioning Python. While PHP is the most widespread, that by no means means it's also the best tool for the job. Python with Django has been on the rise for web apps, and for a reason. I'd definitely suggest looking into it.

TechIntuit 16th March 2014 06:05 PM

Re: JAVA or PHP ?
 
It totally depends on your project - the requirements and the needs of it. Every language has its purpose and sure some have more advantages than others but it still holds true that project requirements decide your approach.

My two cents would be - why not learn/master both? Of course it would take you more time and effort but in the end you would have an edge over your competition and grow and develop as a professional.

Best of luck to you!

Albioon 26th March 2014 12:04 AM

Re: JAVA or PHP ?
 
Java or PHP is a best and essential language for web application & programming because both have many frame works. Java is a wider range of web application as compare to PHP, java is a complex and modern technology and PHP is helpful to take method towards web application. Java is used to run the browsers and PHP is used to develop the dynamic websites or E Commerce Websites.

kdavies 26th March 2014 02:01 AM

Re: JAVA or PHP ?
 
Java is an awful language but big companies like it because they've been sucked into the whole object oriented programming thing. If you're coding on your own and not part of the team then learn functional programming. Studies have shown that programs written in functional languages (and php can be used kind of as functional language although it only relatively recently started supporting lambda functions) take a third of the time to write as their object oriented equivalents.

axlmulat 28th March 2014 09:22 AM

Re: JAVA or PHP ?
 
both........................

marketingtoools 29th March 2014 05:38 AM

Re: JAVA or PHP ?
 
Quote:

Originally Posted by axlmulat (Post 9063871)
both........................

+1

Java is used for Windows applications and PHP is used for Web programming. There may come time when one needs both of them.

ashish sharma 25th July 2014 03:42 AM

Re: JAVA or PHP ?
 
I think both languages are best,but if you want secure platform for your application development then java is good because it provides secure platform for development.

minirich 25th July 2014 04:20 AM

Re: JAVA or PHP ?
 
Quote:

Originally Posted by K Meier (Post 9012887)
What no one seems to have mentioned yet is, that PHP is a server side language that will generate HTML as an output, therefore your web browser does not require any 3rd party plugin to view a PHP page. You can create a website/web application in PHP, and everyone on any PC (Windows, Mac, Linux) or any phone or tablet, will be able to see use the website.

With Java however, you will require that the user has to install Java first, thus eliminating potential customers. As far as I know, most Phones and Tablets don't support Java in the browser.

For java this is only true if you use it with applets only. If you use JSP or more historic servlets than you get exactly the same html ouput that PHP generates.
The difference is, if you use PHP on the serverside you are a bit limited. While with server side java there are no limitations of using any java library you can think of.

Mike

Basenix Group LLC 25th July 2014 04:25 AM

Re: JAVA or PHP ?
 
PHP is much better now a days.

We would recommend you to learn PHP

But its always better to know all languages and maybe master a couple of them.

bjadams 25th July 2014 04:32 AM

Re: JAVA or PHP ?
 
do you mean a Java applet vs PHP web technology?

Javascript is used in conjunction with PHP to develop web tech

Java applets seem to be something from the 90s these days

bjadams 25th July 2014 04:35 AM

Re: JAVA or PHP ?
 
Quote:

Originally Posted by kdavies (Post 9057182)
Java is an awful language but big companies like it because they've been sucked into the whole object oriented programming thing.

i have to agree, Java was invented to be multiplatform... not just across computers OSes but also smart fridges, microwaves... obviously this never took ground.

Still a lot of schools ditched Pascal and started teaching Java. This had the effect that students had a mindset that Java is something you could use in the real world to write productivity software with!

Nuke07 30th July 2014 10:48 PM

Re: JAVA or PHP ?
 
Quote:

Originally Posted by lukewright (Post 8817350)
Java or PHP is best for web application?

It actually depends upon your project structure and requirements:

: If you're planning to develop a secure site like banking sites then Java/jsp is the best one.

: If you're looking to make some stunning web designing & dynamic site, then you should go with php because it makes you more independent to make application dynamic in terms of designing & development

I hope this would help you !!

tekkybaba 31st July 2014 01:00 AM

Re: JAVA or PHP ?
 
as a fast learner how many month can you suggest I can learn JAVA ?

wilsonmarcial 18th August 2014 12:29 AM

Re: JAVA or PHP ?
 
PHP is best for web application.PHP is a flexible, dynamic language that supports a variety of programming techniques.It is simple than java.

pinkwhale 20th October 2014 02:26 AM

Re: JAVA or PHP ?
 
i study both java and php what i love working in php its easy and interesting.

emptee 20th October 2014 03:33 AM

Re: JAVA or PHP ?
 
From my experience coding in both, I'd say I prefer java overall.. proper types and reflection can do wonders for tracking down weird bugs.

That said, admin of, say, tomcat is a bit trickier than a LAMP / LNMP stack

PHP is a bit easier to learn, but I don't think there's a huge amount in it.

arunmehtaindia 20th October 2014 05:48 AM

Re: JAVA or PHP ?
 
Java has a much wider range of application than PHP. It's also much harder to learn. PHP is mainly designed for web developers to produce dynamic websites. Whereas Java is mainly used for developing windows based applications. Large enterprises use the Java technology for their application development.

eham 20th October 2014 11:00 AM

Re: JAVA or PHP ?
 
i think both are good.it totaly depends on you.

davidnavarro85 23rd October 2014 11:23 PM

Re: JAVA or PHP ?
 
Both languages are good.Which language is more easy and suitable for you then select that one.Java and PHP is easy languages.Many programming tutorials are available on the internet


All times are GMT -6. The time now is 12:52 AM.