• 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

    • Microsoft confirms Windows 11 26H2 to finally get one of the most requested features by Sayan Sen This past week Microsoft officially confirmed Windows 11 version 26H2 with the latest build, 26300.8697, for testing in the experimental Insider channel. The company also published more details about it mainly directed towards IT admins and system admins. Essentially version 26H2 will be delivered via an enablement package (eKB) over Windows 11 25H2. If you are wondering about some of the upcoming features in the next Windows version, one of them is certainly very interesting as Microsoft has confirmed it is finally bringing one of the most overwhelmingly requested features ever. March Rogers, the Partner Director of Design at Microsoft, recently highlighted some of the Search improvements that the company is testing, and during the interaction with users on X where he posted it, Rogers also confirmed that the company is working on disabling web search results inside Search. This is something which many users find quite annoying as Windows would often serve them links to Bing which it feels could be more helpful rather than bringing up the actual object or app the user may be searching for on their PC. Finally though the company is prioritizing local file search over the web. However the feature could not be disabled for many users as not all new features are immediately rolled out to everyone. Image via phantomofearth (X) Windows enthusiast phantomofearth who likes to dig deep into new builds uncovered the IDs you will need to enable these features. Using the following feature IDs the new Search-related features landing in Windows 11 26H2 can be used. Follow the steps below to enable the new Search experience on Windows 11 build 26300.8697: Download ViveTool from GitHub and unpack the files in a convenient and easy-to-find folder. Press Win + X and select Terminal (Admin). Switch Windows Terminal to the Command Prompt profile with the Ctrl + Shift + 2 shortcut or by clicking the arrow-down button at the top of the window. Navigate to the folder containing the ViveTool files with the CD command. For example, if you have placed ViveTool in C:\Vive, type CD C:\Vive. Type vivetool /enable /id: and press Enter. Restart your computer. If you change your mind and want to restore, repeat the steps above and replace /enable with /disable in the commands on steps 5 and 6. Delightedly and perhaps also expectedly, once you disable web search and other such bloat, the Windows 11 Search is said to get snappier as remarked by another Windows enthusiast Xeno.
    • Makes me think of Family Guy - "Carl Sagan's Cosmos... edited for Rednecks" 🤣 https://www.youtube.com/watch?v=Ljt5iESYA7k&t=2s
    • Microsoft PC Manager 3.21.7.0 (Offline Installer) by Razvan Serea With Microsoft PC Manager, users can easily perform basic computer maintenance and enhance the speed of their devices with just one click. This app offers a range of features, including disk cleanup, startup app management, virus scanning, Windows Update checks, process monitoring, and storage management. Microsoft PC Manager key features: Storage Manager- easily uninstall infrequently used apps, manage large files, perform a cleanup, and set up Storage Sense to automatically clear temporary files. Health Checkup feature -scans for potential problems, viruses, and startup programs to turn off. It helps you identify unnecessary items to remove, optimizing your system's performance. Pop-up Management - block pop-up windows from appearing in apps. Windows Update - scans your system for any pending updates. Startup Apps - enable or disable startup apps on your PC, allowing you to optimize your system's startup performance. Browser Protection - rest assured that harmful programs cannot alter your default browser. Also enables you to change your default browser. Process Management - allows you to conveniently terminate any active process, ensuring optimal system performance and resource utilization. Anti-virus protection - Fully integrated with Windows Security. Safeguard your PC anytime. Quick Steps: Download Microsoft PC Manager Offline Installer (APPX/MSIX) with Adguard Adguard serves as a third-party online service, offering a user-friendly method for directly downloading appx, appxbundle, and msixbundle files from the Microsoft Store. Official download links will be generated for both the app's various versions and its dependency packages. How to download Microsoft PC Manager Offline Installer (APPX/MSIX) 1. Initially, you must find the app URL within the Microsoft Store. Access the Microsoft Store via your browser and search for "Microsoft PC Manager". Once located, copy the app URL, which includes the product ID, either from the address bar or from the provided link below. https://apps.microsoft.com/detail/9PM860492SZD 2. Now paste the app URL into the designated area, then click the check mark button to produce a direct download link. 3. To download, right-click the relevant link and select “Save link as…” from your browser's menu. Occasionally, Microsoft Edge may flag the download as insecure. In such cases, consider utilizing alternative browsers such as Google Chrome or Firefox to successfully complete the download. Microsoft PC Manager is a completely free tool optimized exclusively for use on Windows 10 (19042.0 and above) and Windows 11. Download: Microsoft PC Manager 3.21.7.0 | from Microsoft Store View: Microsoft PC Manager Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • jspaint is a lot better, if you like the classic mspaint experience and hate the new bloated Paint.
    • Amazon takes hundreds of dollars off its Kindle readers ahead Prime Day by Taras Buria Ahead of its Prime Day, Amazon brought its Kindle readers to all-time low prices, allowing you to save on various bundles across the entire lineup, from the most affordable Kindle to the flagship Scribe and its color-enabled variant. Kindle Essentials Bundle - $108.97 | 33% off This 6-inch Kindle is a portable reader with a front light, a brighter E-Ink display, and up to 6 weeks on a single charge. The bundle includes a protective case and a charger, so that you have everything you need for comfortable reading. Kindle Paperwhite Bundle - $154.98 | 45% off Kindle Colorsoft Bundle - $169.98 | 48% off The latest Paperwite is a 7-inch reader that features significantly faster page-turning, wireless charging, an ambient light sensor, 32GB of storage, and up to 12 weeks on a single charge. Right now, the bundle with a sling bag makes the Paperwhite 25% cheaper than the non-bundle variant. The same bundle is available for the Colorsoft version with a colorful E-Ink display. Kindle Scribe 32GB Bundle - $444.97 | 27% off Kindle Scribe Colorsoft 64GB Bundle - $574.97 | 27% off The Scribe is the biggest, flagship Kindle. It has an 11-inch texturized display with a stylus support, with a big emphasis on the note-taking experience. The built-in notebook has AI-assisted features for search, refinements, summarization, and more. The Scribe comes with 32GB of storage, and the bundle gets you a case, a stylus, and a protective case. Like with the Paperwhite, there is a Colorsoft version, which is also available with a massive discount. Note: These deals are available to Prime members only. If you do not have Prime, you can sign up using one of the links below. Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      174
    3. 3
      PsYcHoKiLLa
      84
    4. 4
      Steven P.
      76
    5. 5
      Michael Scrip
      76
  • Tell a friend

    Love Neowin? Tell a friend!