![]() |
JAVA or PHP ? Java or PHP is best for web application? |
Re: JAVA or PHP ? Quote:
|
Re: JAVA or PHP ? Php is Best. It Easy to use. Java is also used in php for advanced functions. |
Re: JAVA or PHP ? Neither. PYTHON baby! |
Re: JAVA or PHP ? Quote:
Java can be used to develop software, website (JSP), web applets etc. etc. (a lot more!) PHP is 'mainly' used for websites. |
Re: JAVA or PHP ? 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 |
Re: JAVA or PHP ? Depends on the project, your skillset, integrations, and tech that is in place already. We need more context. |
Re: JAVA or PHP ? PHP is best for now a days but Javascript is getting popular after coming node.js |
Re: JAVA or PHP ? Quote:
how java is used in PHP language? Its possible |
Re: JAVA or PHP ? Quote:
|
Re: JAVA or PHP ? i would select php. because it's easy and cheap to implement. loads of developers are there. java development will be much more expensive. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? PHP is more easy to implement than Java. But many Enterprise applications are developed by Java. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? php is good if you want a website but java is used where you want more security and reliability |
Re: JAVA or PHP ? I think PHP is best, it's easy to use... |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? Php is simpler to learn than Java |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? PHP is best it's very easy |
Re: JAVA or PHP ? Php, of course. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? 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 |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? PHP best I like PHP |
Re: JAVA or PHP ? I think php is the best its more user friendly i love php. |
Re: JAVA or PHP ? How i learn PHP? |
Re: JAVA or PHP ? 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 :) |
Re: JAVA or PHP ? I think both are good for web development. Depends on what you are expert at. :D |
Re: JAVA or PHP ? PHP is the best for web application and java is best for game application and many other application. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? A lot of Engrish in this thread :-) PHP all the way. Even Facebook uses a customized PHP engine. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? PHP is best for web application. Java is more complex and hard. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? Quote:
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. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? Quote:
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. |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: JAVA or PHP ? php is simple than java |
Re: JAVA or PHP ? yes both are good but php is simple than java |
Re: JAVA or PHP ? sir can u help me in php or java language.. please tell me the good book of java or php |
Re: JAVA or PHP ? There are lots of eBooks on internet, you can download and even you can learn by online. Lots of website have their online tutorials. |
Re: JAVA or PHP ? Dear sir, I am Working on php that's why i like php. PHP is best. Regard Vaghela Dev |
Re: JAVA or PHP ? 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. |
Re: JAVA or PHP ? 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. |
| All times are GMT -6. The time now is 12:32 AM. |