| | #1 |
| Warrior Member Join Date: 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
Java or PHP is best for web application?
|
|
Luke Wright, connected commerce | |
| |
| | #2 |
| Active Warrior War Room Member Join Date: 2013
Posts: 48
Thanks: 0
Thanked 9 Times in 9 Posts
| |
| |
| | #3 |
| sheik Join Date: 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
Php is Best. It Easy to use. Java is also used in php for advanced functions.
|
|
sheik http://www.jobpencil.com | |
| |
| | #4 |
| digital carpenter War Room Member Join Date: 2013 Location: Pennsylvania
Posts: 1,306
Thanks: 480
Thanked 747 Times in 444 Posts
|
Neither. PYTHON baby!
|
| | |
| |
| | #5 |
| IM Rocks! War Room Member Join Date: 2010 Location: USA
Posts: 501
Thanks: 52
Thanked 65 Times in 60 Posts
|
Simple put, Java is more difficult to learn and much less used than PHP. PHP is easy to learn and has more jobs in the market. Java can be used to develop software, website (JSP), web applets etc. etc. (a lot more!) PHP is 'mainly' used for websites. |
| | |
| |
| | #6 |
| Orilist Classified Ads Registered Member Join Date: 2013 Location: USA
Posts: 11
Thanks: 1
Thanked 2 Times in 2 Posts
|
it depend on your need I this PHP is more simple than JAVA... There are many sources and tutorial of PHP if find dificult in coding if you working on software enginer maybe JAVA is the right choice |
| | |
| |
| | #7 |
| Monkey War Room Member Join Date: 2013 Location: Vantaa, Finland
Posts: 4,324
Thanks: 336
Thanked 697 Times in 617 Posts
|
Depends on the project, your skillset, integrations, and tech that is in place already. We need more context.
|
| Links in signature will not help your SEO. Not on this site, and not on any other forum. Who told me this? An ex Google web spam engineer. What's your excuse? | |
| |
| | #8 |
| HyperActive Warrior War Room Member Join Date: 2012
Posts: 112
Thanks: 0
Thanked 8 Times in 8 Posts
|
PHP is best for now a days but Javascript is getting popular after coming node.js
|
| |
| | #9 |
| Warrior Member Join Date: 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
| |
|
Luke Wright, connected commerce | |
| |
| | #10 |
| Monkey War Room Member Join Date: 2013 Location: Vantaa, Finland
Posts: 4,324
Thanks: 336
Thanked 697 Times in 617 Posts
| |
| Links in signature will not help your SEO. Not on this site, and not on any other forum. Who told me this? An ex Google web spam engineer. What's your excuse? | |
| |
| | #11 |
| WP Themes Developer War Room Member Join Date: 2013 Location: Lithuania
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
|
i would select php. because it's easy and cheap to implement. loads of developers are there. java development will be much more expensive.
|
| | |
| |
| | #12 |
| HyperActive Warrior Join Date: 2013
Posts: 128
Thanks: 1
Thanked 43 Times in 24 Posts
|
As a sysadmin, I prefer php over java applications anytime on my servers. Java apps are memory-hungry and take far more system resources to run than the equivalent php code.
|
| buysell-browse.com * Free Classifieds Advertising & Promotion *
| |
| |
| | #13 |
| Warrior Member Join Date: 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
PHP is more easy to implement than Java. But many Enterprise applications are developed by Java.
|
| | |
| |
| | #14 |
| Warrior Member Join Date: 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
It depends on you mate! Think of time you want and can invest into programming. Java is more complicated and will take the hell of the time to learn it, and PHP is more simpler. And also depends what you want to do later with it. If you'll be looking for a job, earnings with JAVA would be higher than with PHP (in most cases). So there are some things to consider before jumping on any chosen programming language. Also there are many other languages like C++ and previously mentioned Python and etc. |
| |
| | #15 |
| HyperActive Warrior Join Date: 2011
Posts: 129
Thanks: 0
Thanked 12 Times in 12 Posts
|
php is good if you want a website but java is used where you want more security and reliability |
| | |
| |
| | #16 |
| Watch The World Join Date: 2012
Posts: 152
Thanks: 56
Thanked 13 Times in 12 Posts
|
I think PHP is best, it's easy to use...
|
| | |
| |
| | #17 |
| Warrior Member Join Date: 2013 Location: Canada
Posts: 8
Thanks: 1
Thanked 5 Times in 3 Posts
|
You have to be careful as some people on this thread might get you confused. Javascript has nothing to do with Java and is a completely different language. Now that we've cleared that up, my opinion would be that you start with learning PHP, but then eventually learn both languages. Yes, PHP is a lot easier to learn. It's used in almost every website, especially since everyone seems to be using Wordpress. That makes it a bit hard for Java to compete with. Java has a lot going for them though. We're in the mobile era these days. There's cellphones and tablets everywhere you look. The funny thing is... Java is heavily used on mobile devices. Especially since most of them don't even support flash. You can make mobile apps, games, etc. This makes Java very valuable to learn. I've even seen big companies around here hiring experienced Java Programmers and paying in the 6 figures. But anyways, they're both great. But you may have an easier time learning Java after you have mastered some other programming languages. |
| |
| | #18 |
| SEO Beginner Join Date: 2013 Location: Chennai
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
|
It depends on developer interest.PHP and JAVA both are best for web development . In my opinion, PHP is best because of its simplicity, easy to use and implement. but for game development Java is better than other language. |
| |
| | #19 |
| Warrior Member Join Date: 2014
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
|
Php is simpler to learn than Java
|
| |
| | #20 |
| Warrior Member Join Date: 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
Generally speaking, PHP is best for most web applications, as most web applications are fairly simple, small scale data capture, data manipulation, and data presentation programs. Java is a more complex language that is used primarily for intranet application development; that is to say, applications that are designed specifically for use in a limited or restricted access network, generally in a corporate setting. Most Java applications are designed to have a significant or even the primary bulk of their operations running on the client, a.k.a. the user's computer rather than on the host, a.k.a. provider's computer. PHP programs run on the host, a.k.a. provider's computer or web server, with the client (user's) computer running a browser with comparatively limited memory and computing power. It is true that web browsers on clients (users) machines regularly use small java applets, ad-ons, or widgets. This is typically for the presentation of special kinds of content that the browser is not able to run natively, such as PDF documents, Flash animations, which require additional computing power for manipulation that cannot be easily provided by the host machine or browser. So the question of which is best for a web application can only accurately be answered with further clarification as to the size, scale, and overall computational requirements of the web application you have in mind. The more computationally complex, the more likely you will need to use Java, the more simple and straight forward, the more likely PHP will be your best (fastest, easiest) development language. |
| |
| | #21 |
| Web Developer Join Date: 2013 Location: Australia
Posts: 44
Thanks: 0
Thanked 7 Times in 6 Posts
|
It depends on your end goal. If you are just building web applications or websites for yourself, I would go with PHP. If you are looking to be employed in this field, you could eventually learn both languages but I would start with PHP. Once you learn PHP, you will find it much easier to modify existing platforms such as WordPress websites. Having said that, if you are just looking to create your own websites, I would jump straight into WordPress and build your knowledge as you go. You can do a lot with Content Management Systems without needing to learn a programming language from scratch. |
| | |
| |
| | #22 |
| Warrior Member Join Date: 2013
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
|
PHP is best it's very easy
|
| | |
| |
| | #23 |
| HyperActive Warrior Join Date: 2013
Posts: 195
Thanks: 8
Thanked 14 Times in 13 Posts
|
Php, of course.
|
| |
| | #24 |
| Warrior Member Join Date: 2014
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
|
Actually PHP shouldn't be compared to Java because PHP is a web scripting language only, while Java can be in multiple platforms (web, desktop-app, mobile-app, etc.) If you will just exclude other platforms of Java and be just in the web platform, PHP would win this since PHP has more features, and is easier to understand. |
| | |
| |
| The Following User Says Thank You to Prothervents For This Useful Post: |
| | #25 |
| Plundering the Web War Room Member Join Date: 2007 Location: , , .
Posts: 9,121
Thanks: 1,507
Thanked 2,622 Times in 1,932 Posts
|
Crazy question. You can put java(script) in php... php has nothing to do with needing, wanting, or anything else javascript related. Unless of course the person really means java...then you have another go round of the inane. People have been advised to disable java...I do. Paul |
|
If you were disappointed in your results today, lower your standards tomorrow.
| |
| |
| | #26 |
| Active Warrior Join Date: 2012 Location: United States of America
Posts: 285
Thanks: 5
Thanked 25 Times in 25 Posts
|
Php is best for web development. Jave is use for some other function. Php is basic for dynamic website . Php is easy to understand and user friendly . You can easy edit php code for your website.
|
| |
| | #27 |
| Warrior Member Join Date: 2014
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
|
PHP best I like PHP
|
| |
| | #30 |
| Warrior Member Join Date: 2014
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
that is totally up to us what to choose i JAVA is not very easy programming language it is tough while PHP is totally open source and easy to learn for me |
| |
| | #31 |
| Active Warrior Join Date: 2013
Posts: 41
Thanks: 0
Thanked 4 Times in 3 Posts
|
I think both are good for web development. Depends on what you are expert at. |
| |
| | #32 |
| Warrior Member Join Date: 2013
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
|
PHP is the best for web application and java is best for game application and many other application.
|
| | |
| |
| | #33 |
| Software Engineer War Room Member Join Date: 2008 Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
|
If you are a newbie, this is probably the most confusing thread you'll ever read. Unfortunately these sort of threads tend to degenerate pretty fast.
|
| I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs | |
| |
| The Following User Says Thank You to wayfarer For This Useful Post: |
| | #34 |
| Active Warrior Join Date: 2005 Location: Sochi, Russia
Posts: 61
Thanks: 5
Thanked 24 Times in 16 Posts
|
A lot of Engrish in this thread :-) PHP all the way. Even Facebook uses a customized PHP engine. |
| iOS and Flutter developer. Online marketer, with more than $52+ million sales for partners. | |
| |
| | #35 |
| Warrior Member Join Date: 2014 Location: Mumbai
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
|
It is like asking - Do I become an engineer or a doctor? It depends on your taste, your desire. Honestly speaking PHP is easier to use, but you get more flexibility with JAVA in terms of hosting environment, backend database etc.
|
|
Reader by Avocation, Guitarist by Passion and Software Developer by Profession. Book Reviews Blog | Technology Blog Blog | Twitter | |
| |
| | #36 |
| Warrior Member Join Date: 2014
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
PHP is best for web application. Java is more complex and hard.
|
| | |
| |
| | #37 |
| Warrior Member Join Date: 2014 Location: Novi Sad, Serbia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
It is simple: JavaScript - "client side language", scripting language that allows you to create dynamic HTML pages. It is interpreted and executed by the browser on your PC. It is essentially a toy language, but latter thanks to AJAX hype, it evolved. But still, it has ugly syntax, and it is not truly object-oriented. Node.js is an abomination. PHP - Nice server side language, powerful, generates HTML pages. It used to be C like procedural language, but evolved to OO (Object oriented). On serverside it is executed by interpreter. It is able to pick up data from database, read and parse files, etc. JAVA - has nothing to do with JavaScript. Java is a programming language, the core set of libraries, and virtual machine platform that allows you to create compiled programs that run on nearly every platform. It can be used to build web applications and sites. Heavy enterprise grade tool. JavaScript - easy to learn, but can be abused by inexperienced developers. PHP - medium-easy to learn, but it is easy to create unmaintainable crappy web app. JAVA - hard to master. Requires a developer highly proficient in writing an object-oriented code and with good understanding of design patterns and practices. |
| |
| | #38 |
| Warrior Member Join Date: 2014 Location: Gurgaon, Harayana(India)
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
Both, Java and Php are best to develop web application. It totally depends upon the client requirements and the environment on which you are using web applications. However, To learn java is a difficult tasks and you need to give more time to learn java as compared to php. java can be used in the multithreaded environment while php is not.
|
| |
| | #39 |
| Advanced Warrior War Room Member Join Date: 2006 Location: USA
Posts: 1,907
Thanks: 236
Thanked 1,377 Times in 676 Posts
|
Just curious... why would you say that? I've been using Node a lot over the past year or so, and I love it (and for the record, I have several years coding experience in a handful of different languages). Of course... Node wouldn't be the best choice for certain types of projects. But that is true of any language/framework. For the types of projects that Node is good for though, I think it absolutely rocks. |
| | |
| |
| | #40 |
| HyperActive Warrior War Room Member Join Date: 2009 Location: Bangalore, India
Posts: 144
Thanks: 29
Thanked 12 Times in 12 Posts
|
Actually PHP is easy and widely used in IM Industry. JAVA is used in corporate world for developing larger programs. Node is also used to develop web application. It can be compared with PHP+Apache2. The summery what I suggest is start with PHP. |
| If you are looking for an expert Digital Marketing Consultant with experience in all your expectations, then contact me : www.marketingyoung.com | |
| |
| | #41 | |
| Warrior Member Join Date: 2014 Location: Novi Sad, Serbia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
Second, you won't see good IDE or refactoring tool for JS. Next, how to handle large codebase with Node.js, what happens when app. grows to such proportions as to require modules and namespaces? What If you have large team? Next, security. JavaScript used to run in a sandboxed environment. Now it can access filesystem? BTW. I like and use jQuery, Knockout.js, Durandal etc. That is where its (JS) place is. | |
| |
| | #42 |
| Web Programmer & Internet Join Date: 2013 Location: Faisalabad, Pakistan
Posts: 134
Thanks: 1
Thanked 7 Times in 7 Posts
|
Php is more suitable, but you should look into the requirement of your project. After that you will be able to decide where you should go, for php or java.
|
| | |
| |
| | #43 | ||
| Advanced Warrior War Room Member Join Date: 2006 Location: USA
Posts: 1,907
Thanks: 236
Thanked 1,377 Times in 676 Posts
|
I reckon that's a personal preference. I would agree that certain aspects of the language could be improved (but I think that about ALL languages). Overall, I think it's pretty decent though. Especially if you use a good framework like jQuery. Lots of IDE's out there that support JS. WebStorm, Eclipse, Netbeans, Aptana, Visual Studio, just to name a few. As per refactoring... if you code correctly in the first place, that should never be an issue!
In my opinion, that's a good thing! It opens up way more potential uses for Javascript. | ||
| | |||
| |
| The Following User Says Thank You to Brandon Tanner For This Useful Post: |
| | #44 |
| Warrior Member Join Date: 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
php is simple than java
|
| |
| | #45 |
| Warrior Member Join Date: 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
yes both are good but php is simple than java
|
| |
| | #46 |
| Warrior Member Join Date: 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
sir can u help me in php or java language.. please tell me the good book of java or php |
| |
| | #47 |
| Web Programmer & Internet Join Date: 2013 Location: Faisalabad, Pakistan
Posts: 134
Thanks: 1
Thanked 7 Times in 7 Posts
|
There are lots of eBooks on internet, you can download and even you can learn by online. Lots of website have their online tutorials.
|
| | |
| |
| | #48 |
| Warrior Member Join Date: 2014
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
|
Dear sir, I am Working on php that's why i like php. PHP is best. Regard Vaghela Dev |
| |
| | #49 |
| Active Warrior Join Date: 2014 Location: Czech Republic
Posts: 37
Thanks: 0
Thanked 2 Times in 2 Posts
|
Best thing will be start with PHP and when you get more into, than you can continue with Java. I am working for example on one project, where I am using both together with Oracle. So you will never know what you will need ... but know both is very handy.
|
|
Check my website ... http://www.becomerichforever.com | |
| |
| | #50 |
| Code Warrior War Room Member Join Date: 2011
Posts: 64
Thanks: 4
Thanked 48 Times in 7 Posts
|
Go with functional programming in JavaScript on NodeJS. Neither PHP nor Java is really "functional". By functional I mean a language that is centered around functions that you pass around the program. JavaScript is functional and this really makes up for elegant solutions. Consider this: [1, 4, 5, 2, 0].filter(function(x){return x<=2;}).map(function(x){return x*2;}).reduce(function(a, b){return a+b;}); this is equivalent to first picking all values that are less than or equal to 2, then multiplying each value by 2 and finally summing them all up into a result. It's very fast and efficient. This is javascript for server side running on Node JS. |
| |
|
| Bookmarks |
| Tags |
| java, php |
| Thread Tools | Search this Thread |
| |