• 0

Java or php?


Question

Recommended Posts

  • 0
2 minutes ago, Danielx64 said:

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

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
1 minute ago, adrynalyne said:

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

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
Just now, 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?

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
9 minutes ago, 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.

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
7 minutes ago, 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'.

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
2 hours ago, Danielx64 said:

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

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
12 hours ago, Danielx64 said:

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

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
10 hours ago, 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?

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

    • Would you please fix your graphics. They are outdated and don't fit the article.
    • The Light of Life? We actually do glow till our Death, study finds by Sayan Sen Image by Rafael Rendon via Pexels A study by researchers at the University of Calgary has found that living organisms produce an extremely faint light known as ultraweak photon emission, and that this glow appears to drop significantly after death. The research was published in the Journal of Physical Chemistry in April 2025 and quickly drew widespread attention, leading to more than 200 news stories about the findings. Ultraweak photon emission (or UPE), sometimes called biophoton emission, refers to tiny amounts of light released by living cells as a result of normal biological activity. A photon is the basic particle of light, and researchers say every living system examined so far, including plants and animals, has been found to emit these photons. The glow is far too faint to be seen by the human eye. “I suppose it has a little to do with people being reminded of auras,” says Dr. Christoph Simon, PhD, one of the authors of the study and a professor in the Department of Physics and Astronomy in the Faculty of Science. “It is a fact that living beings glow. It’s a very weak glow, but it’s there and visible with very sensitive cameras.” According to the study, the light involved is extremely weak, ranging from 10 to 1,000 photons per square centimetre per second across a spectral range of 200 to 1,000 nanometres. For comparison, a nanometre is one-billionth of a metre and is commonly used to measure wavelengths of light. Detecting emissions at such low levels requires highly specialized equipment. To study the phenomenon, researchers used electron-multiplying charge-coupled device (EMCCD) and charge-coupled device (CCD) cameras. These imaging systems are designed to detect extremely small amounts of light, including individual photons, while minimizing background noise. The technology allowed researchers to capture signals that would otherwise be impossible to observe. The team worked with the Human Health Therapeutics Research Centre at the National Research Council of Canada (NRC) in Ottawa to examine photon emissions in mice. Researchers took two-hour exposure images of the animals before and after death and compared the results. “We saw that the level of light that they emit – this biophoton glow – is distinctly different between living and dead animals,” says Dr. Daniel Oblak, PhD, an associate professor in Physics and Astronomy and the corresponding author of the study. The images showed a clear decrease in photon emissions after death across the entire body of each mouse. According to the researchers, this provided direct evidence that living and dead tissue produce different levels of ultraweak photon emission. “It’s a very small amount and it’s, of course, very tricky to detect,” Oblak says. The study grew out of discussions between Simon, whose research interests include quantum biology, and Oblak, whose work focuses on detecting light for quantum communication experiments. Quantum biology is a field that explores whether processes described by quantum physics, which studies matter and energy at very small scales, may also play a role in living systems. “Since I work as a quantum physicist on light detection for quantum communication, I thought that experimentally we have a lot of the tools to be able to detect the light,” Oblak explains. The researchers also investigated UPE in plants and found that the light changed in response to stress. When plants were exposed to higher temperatures or physically injured, their photon emissions increased. Chemical treatments also affected the glow. Among the substances tested, the local anesthetic benzocaine produced the strongest emission response when applied to injured plant tissue. These findings suggest that ultraweak photon emission is closely linked to biochemical and metabolic activity inside living organisms. Metabolism refers to the chemical reactions that allow cells and organisms to stay alive and function. Because these reactions change when an organism experiences stress, injury or disease, researchers believe UPE may provide a way to monitor those changes. The researchers stress that the glow is a physical and biological phenomenon, not a metaphysical one. Oblak says more research is needed to understand exactly how the light is produced and what information it may reveal about the condition of living tissue. “We must understand what that is to figure out what’s happening,” he says. “If we can understand how that relates to certain influences on the body – stress, diseases – then that could be used as a diagnostic tool.” The researchers believe the technique could eventually help scientists study health and disease without invasive procedures. Because UPE can be measured without adding dyes, markers or labels, it may offer a way to monitor whether tissue is healthy, damaged or alive. In plants, it could help researchers better understand how organisms respond to injury, heat and other forms of stress. While the work is still in its early stages, the study demonstrates that ultraweak photon emission imaging can provide a non-invasive and label-free way to observe biological activity. Researchers say the approach could become a useful tool for studying vitality, stress responses and other important processes in both animals and plants. Source: University of Calgary, ACS publication This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing.
    • Damn, I loved this show back in the day.  
    • Rufus 4.15.2393 Beta 2 by Razvan Serea Rufus is a small utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc. Despite its small size, Rufus provides everything you need! Oh, and Rufus is fast. For instance it's about twice as fast as UNetbootin, Universal USB Installer or Windows 7 USB download tool, on the creation of a Windows 7 USB installation drive from an ISO (with honorable mention to WiNToBootic for managing to keep up). It is also marginally faster on the creation of Linux bootable USBs from ISOs. A non-exhaustive list of Rufus supported ISOs is available here. It can be especially useful for cases where: you need to create USB installation media from bootable ISOs (Windows, Linux, UEFI, etc.) you need to work on a system that doesn't have an OS installed you need to flash a BIOS or other firmware from DOS you want to run a low-level utility Rufus 4.15.2393 Beta 2 changelog: Add RISC-V 64 support to UEFI:NTFS Improve the guards for using the "silent" option Improve the ability to cancel during write retries Improve progress reporting for compressed image extraction Fix unrestricted XML entity expansion and integer overflow in ezxml parser (courtesy of @esadowski4) [GHSA-55r2-34wg-8mv9] Fix "silent" Windows installation failing at 75% in most cases [#2960] Fix a crash during boot when using UEFI:NTFS on Snapdragon X based ARM64 platforms [#2934] Fix the first WUE option always being checked by default [#2965] Fix an infinite loop when using Windows ISOs that contain multiple WIMs Fix "Enable runtime UEFI media validation" checkbox not always being properly enabled Other WUE improvements/fixes for OneDrive removal and username validation (with thanks to @christian8641) [#2984, #2991] Download: Rufus 4.15 Beta 2 | 1.9 MB (Open Source) Links: Rufus Home Page | Project Page @GitHub | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Year In
      hhgygy earned a badge
      One Year In
    • One Month Later
      AMV earned a badge
      One Month Later
    • Week One Done
      AMV earned a badge
      Week One Done
    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      515
    2. 2
      +Edouard
      171
    3. 3
      PsYcHoKiLLa
      83
    4. 4
      Steven P.
      74
    5. 5
      Michael Scrip
      72
  • Tell a friend

    Love Neowin? Tell a friend!