• 0

Java or php?


Question

Recommended Posts

  • 0
  On 12/07/2016 at 05:01, Danielx64 said:

How many have JRE installed now since there are calls for people to remove it from their computers?

Expand  

I guess you have never heard of server side Java, or Android, or the various micro implementations in appliances and devices.;)

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492568
Share on other sites

  • 0
  On 12/07/2016 at 05:03, adrynalyne said:

I guess you have never heard of server side Java, or Android, or the various micro implementations in appliances and devices.;)

Expand  

But it still the same java though right? JSP can still be full of security issues just like JRE? Regardless, what being used more right now?

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492572
Share on other sites

  • 0
  On 12/07/2016 at 05:06, Danielx64 said:

But it still the same java though right? JSP can still be full of security issues just like JRE? Regardless, what being used more right now?

Expand  

Nope, not the same as JRE.

 

http://pypl.github.io/PYPL.html

http://www.infoworld.com/article/2909894/application-development/java-back-at-1-in-language-popularity-assessment.html

http://www.infoworld.com/article/3019005/java/java-loses-no-luster-in-popularity-index.html

 

Java is one of the most used languages out there. This coming from a primarily c# developer.

  • Like 2
Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492576
Share on other sites

  • 0

It really depends what project you are working on. Java is really not necessary for most web-based systems... for example, this forum and most everything else on the internet... Java is mostly used for actual applications, especially in technical fields (hard sciences, economics, etc). 

 

But I would still recommend Java over PHP because PHP is derivative and simpler. Learning Java will help you better in the long term.

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492580
Share on other sites

  • 0
  On 12/07/2016 at 05:14, Zagadka said:

It really depends what project you are working on. Java is really not necessary for most web-based systems... for example, this forum and most everything else on the internet... Java is mostly used for actual applications, especially in technical fields (hard sciences, economics, etc). 

 

But I would still recommend Java over PHP because PHP is derivative and simpler. Learning Java will help you better in the long term.

Expand  

You are leaving out JSP, Spring, etc. Server side java is still out there for web apps.

 

http://tomcat.apache.org/

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492582
Share on other sites

  • 0

Two completely different languages with two completely different audiences. Did you actually mean 'Java' or did you mean 'JavaScript'? Not trying to be rude you understand, but i run a web development forum where new members constantly mis-call JavaScript, 'Java'.

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492608
Share on other sites

  • 0
  On 12/07/2016 at 07:10, MikeChipshop said:

Two completely different languages with two completely different audiences. Did you actually mean 'Java' or did you mean 'JavaScript'? Not trying to be rude you understand, but i run a web development forum where new members constantly mis-call JavaScript, 'Java'.

Expand  

I was thinking the same thing.

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492616
Share on other sites

  • 0

Depends on what you are trying to do.

 

Java is still used significantly in the enterprise space, even for web based applications, particularly through the Spring framework.  There is little or no client side Java unless you go to Android or embedded development.

 

I wouldn't learn PHP, unless you are interested in modifying existing PHP based applications.  Even as a casual developer, I would learn either Python or Ruby (probably Python as Ruby is also on the decline).  Javascript on Node.js is also pretty cool but isn't used out there very much (yet).

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492900
Share on other sites

  • 0

Go for Java as syntactically it's similar to other languages along with a lot of it's concepts. You can then use this as a stepping stone to other languages.

 

PHP will earn you less in the long run. The tooling around it isn't as good. Oh, and you'll earn less. Have a look at some of the job sites local to your area to see the difference in the quantity of roles and the remuneration they are offering.

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597492910
Share on other sites

  • 0
  On 12/07/2016 at 11:26, Danielx64 said:

Yes but it used mainly for big enterprise systems, in fact I don't see many sites that use JSP.

Expand  

So if someone wants to make money in this business, why would you not mention that to them and instead say Java is on its way out?

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597493104
Share on other sites

  • 0

Java. Still hugely popular, syntax and concepts are readily transferrable to many other programming languages and platforms. Not so much with PHP. PHP is a terrible tool and no one who knows anything else than PHP would use PHP for anything.

 

Mind you, you'll certainly find employment with both, but would rather be employed doing Java or PHP?

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597493864
Share on other sites

  • 0
  On 12/07/2016 at 11:26, Danielx64 said:

Yes but it used mainly for big enterprise systems, in fact I don't see many sites that use JSP.

Expand  

They use Java on the back end, they can serve anything they want on the front end, doesn't have to be JSP. Have a look at https://en.wikipedia.org/wiki/Programming_languages_used_in_most_popular_websites

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597493868
Share on other sites

  • 0

Learn JavaScript and NodeJs. You can also go ahead and do some PHP, which has gotten great over the years. 

 

But if you asked me, learn Node. PHP, ASP.NET, Django, and many other things use Node.js in their environment in one way or another (for working with JavaScript files).

  • Like 2
Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597493884
Share on other sites

  • 0

Both Java and PHP will offer good employment, but Java will offer you higher paying employment as time goes on since those normally supporting Java have much deeper pockets, especially with the additional resources that are required to run Java server side vs PHP.  Only downside is that Java has a much steeper learning curve as you need to become very good at learning the language, APIs, frameworks, design patterns, JIT compiler optimization and more.  Where to get going with PHP it is as easy as spending at least 2 hours every night for 5 years and you can become very fluent in the language and many frameworks since it faster to get up and going with PHP.

 

I would recommend that you learn both which will strengthen your employment and income capabilities in the long run, plus you will really enjoy not having to write so much Java boiler plate code.  Though, learning Java using the proper resources will give you a wonderful perspective on how to properly visualize very large object oriented or functional programs faster and more efficiently.  You will quickly enjoy the large feature set of Java and find yourself checking the PHP release notes wondering when they will be adding feature x that has been in Java for several years to help make your PHP apps easier to develop.

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597494002
Share on other sites

  • 0

Java, for all it's flaws it's a much better language than PHP, with much better support (Although don't limit yourself to a single language, you'll also find Python/Ruby/JS/etc. on the server side).

 

The PHP syntax is pretty simple, and if you've ever used C/C#/JS/Java (heh) you'll pick it up fairly quickly, the rest of the time is trying to work out framework/runtime issues.

Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597494366
Share on other sites

  • 0
  On 13/07/2016 at 00:20, Andre S. said:

Java. Still hugely popular, syntax and concepts are readily transferrable to many other programming languages and platforms. Not so much with PHP. PHP is a terrible tool and no one who knows anything else than PHP would use PHP for anything.

 

Mind you, you'll certainly find employment with both, but would rather be employed doing Java or PHP?

Expand  

What a dimwitted view, let's just completely disregard that it runs one of the most popular and frequently visited sites on the internet... Sure PHP has it's problems but java isn't a perfect language either. I can spend 20 seconds making a quick script to do something in PHP which would take an hour to make in java, then there's java's ridiculous overhead: it is painfully slow and the memory usage is still a joke.

  • Like 2
Link to comment
https://www.neowin.net/forum/topic/1302738-java-or-php/#findComment-597494398
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I can tell you I don't need one. I use Start11 to make it Win10 styled and custom game tiles so it's essentially an easier way to launch games than opening Steam but I definitely don't 'need' it and don't use it to launch any applications.
    • I was replying to a user comment that literally started with "So, user error then."
    • Is the Start menu in Windows actually useful? Do we even need it? by Usama Jawad A few days ago, I shared my viewpoint regarding how Microsoft hasn't been able to convince me to migrate to Windows 11 as my sole daily driver, despite the OS being available for roughly four years. Within that piece, I highlighted the fact that even though the Start menu has been completely revamped in the latest version of Windows, it's not something that I use regularly. And that got me thinking: is the Start menu really a crucial piece of my Windows experience? I get it, I know that the Start menu is an iconic Windows element that has existed in the operating system for as long as many of us can remember. And yet, I can't really tell you about the last time I actually used the Start menu. The reason for italicizing the word "used" above is that while the Start menu can be launched when you click on the Windows icon in the Taskbar or the Windows key, I am not counting that as actual usage for the purpose of this piece. This is because I do launch the Start menu several times a day, I actually use it to get to Windows Search. I don't actually use the list of apps, app folders, and recently opened files. I simply tap the Windows key and start typing the search query for the item that I am looking for. For example, if I want to open Power BI, I don't open the Start menu and find the pinned app. I just tap on the Windows key and start typing "Po..." and quickly hit Enter as soon as the right option comes up, which is usually after a couple of keystrokes. Similarly, if I want to open "Gifts.xlsx", I don't open Excel from the Start menu or even peruse my list of recently opened files, I just start typing "Gi..." and press Enter. I feel like this is a much faster experience and you don't need to rely on muscle memory to find the item that you are looking for. And as your list of installed software grows, it only becomes more tedious to keep track of where you pinned an app or the folder that you kept it in. Windows Search gets rid of that problem completely. Additionally, the Start menu detracts me from whatever else I may be focusing on in parallel. If I am using Word and now want to open PowerPoint, I would probably get distracted by the Start menu as I launch it and try to locate the PowerPoint icon. Instead, I can just get to PowerPoint within a few keystrokes without even realizing the effort involved. I'd also like to highlight that I am not inherently against the idea of pinning stuff that you use frequently or recently, but I do think that the Taskbar and Desktop view already solves that problem to some extent. Right now, my Taskbar contains my most used software, while my desktop contains other secondary software and files. I understand that people have their fair share of complaints against Windows Search, but it works quite well for my use-cases. As it currently stands, my actual usage of the Start menu is nil. And although this popular Windows UX is always the subject of debate each time Microsoft makes even a minor change to it, I simply couldn't care less. That said, while the Start menu in its traditional use is dead to me, I am not sure how many people actively utilize this UX. Any evidence I have is purely anecdotal, but I would be very interested in seeing the telemetry that Microsoft tracks regarding its usage. Seeing how frequently Microsoft makes changes to the Start menu and the ensuing debate that follows, I feel like I am in the minority. But I just can't imagine opening the Start menu and then relying on muscle memory or a fixed grid of icons to get to the app I need, when I can do more with a couple of keystrokes.
    • >Fixed: Certain displays might be unexpectedly green. I believe that this fixed the Windows mishandling Dolby Vision issue in RGB 12 bit Full mode we saw recently.
  • Recent Achievements

    • Week One Done
      Wayne Robinson earned a badge
      Week One Done
    • One Month Later
      Karan Khanna earned a badge
      One Month Later
    • Week One Done
      Karan Khanna earned a badge
      Week One Done
    • First Post
      MikeK13 earned a badge
      First Post
    • Week One Done
      OHI Accounting earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      681
    2. 2
      ATLien_0
      277
    3. 3
      Michael Scrip
      208
    4. 4
      +FloatingFatMan
      172
    5. 5
      Steven P.
      142
  • Tell a friend

    Love Neowin? Tell a friend!