• 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

    • Windows 11 finally gets redesigned Start menu and more in builds 26200.5641 and 26120.4250 by Taras Buria Apple is not the only company with big software announcements today. Microsoft is dropping two preview builds for Windows 11 users, which introduce major changes to the Start menu. Those in the Dev Channel can download build 26200.5641 (KB5060824) and try the much-improved Start menu and other changes. Windows Insiders in the Beta Channel receive build 26120.4250 with the same changelog. The new Start menu features several changes that make it easier to launch your favorite app. It no longer uses a two-page view, focusing on a single scrollable view instead. At the top, you have your pins, then the Recommended section (you can now turn it off completely), and a list of all apps presented as a grid or categories. Also, the Start menu is now more adaptive, which means users with bigger displays will have a larger Start menu to display more apps (up to eight columns of pinned apps, six recommendations, and four category columns). Finally, it has a new button that lets you expand or collapse the Phone Link pane. By the way, you can check out this article if you want to take a look at other Start menu variants that Microsoft considered when working on the new Start menu. Other changes in build 26200.5641 include the ability to select what widgets appear on the lock screen and the so-called Screen Curtain for Narrator. The latter blacks out the display, keeping the content of the screen available only to those using the Narrator. You can turn on or off the Screen curtain by pressing Caps Lock + Ctrl + C. Also, Narrator now has a new welcome experience that guides users through its features and recent changes. The Settings page is getting two sections fused into one: Searching in Windows and Search Permissions are now just Search in the Privacy & Security section. The gamepad keyboard now has improved navigation and improved focus handling for child keys, flyout menus, word suggestions, language switching, settings, etc. It also works on the lock screen when you have to enter your PIN. Here are other fixes that Microsoft is rolling out gradually to Windows Insiders: [General] This build should fix an underlying issue in the previous flight which was causing input to not work for some Insiders, including when typing into Search, and with the Chinese pinyin IME candidate window, clipboard history, and the emoji panel. [Recall (Preview)] The following fixes are rolling out for Recall on Copilot+ PCs: Fixed an issue causing Recall to crash for some Insiders in the last couple flights. [Taskbar] Fixed an issue where in some cases taskbar icons might appear small even though the setting to show smaller taskbar buttons was configured as “never”. [File Explorer] Fixed an issue where restoring a File Explorer search result from Recall would open File Explorer but not show your search string. [Windowing] Fixed an issue where ALT + Tabbing out of a full screen game could lead to other windows freezing (like Windows Terminal). [Login and lock] Fixed an issue causing the lock screen to crash for some Insiders in the previous flight. [Graphics] Fixed an issue causing some displays to be unexpectedly green after the latest flights. [Settings] Fixed an underlying issue which could lead to the Settings window hanging and no longer responding to input or resizing unless you closed and reopened it. Fixed an issue in System > Display, where if UAC was set to Always Notify and you tried to click the button to do color calibration for your display and cancelled, it would crash Settings. Fixed an issue in System > Display, where a chevron might display for Brightness even if there were no additional settings to display. Fixed an issue where if you changed to a custom mouse cursor in Accessibility > Mouse pointer and touch, it could make Settings crash. There is also a single fix that is rolling out to everyone right here, right now: [General] We fixed the issue where you might see severe discoloration when connecting your PC to some older Dolby Vision displays. Here are the known bugs in both Dev and Beta Channels: After you do a PC reset under Settings > System > Recovery, your build version may incorrectly show as Build 26100 instead of Build 26120. This will not prevent you from getting future Beta Channel updates, which will resolve this issue. [NEW] Some Windows Insiders may experience a rollback trying to install this update with a 0x80070005 in Windows Update. We’re working on a fix for the next flight. [Start menu] The following are known issues for Windows Insiders with the new Start menu: [NEW] Using touch to navigate the new Start menu may not work reliably. For example, it currently does not support the swipe-up gesture. [NEW] Drag and drop capabilities are limited from “All” to “Pinned.” [NEW] In some cases, duplicate entries may appear in folders on the Start menu. [Xbox Controllers] Some Insiders are experiencing an issue where using their Xbox Controller via Bluetooth is causing their PC to bugcheck. Here is how to resolve the issue. Open Device Manager by searching for it via the search box on your taskbar. Once Device Manager is open, click on “View” and then “Devices by Driver”. Find the driver named “oemXXX.inf (XboxGameControllerDriver.inf)” where the “XXX” will be a specific number on your PC. Right-click on that driver and click “Uninstall”. [Click to Do (Preview)] The following known issues will be fixed in future updates to Windows Insiders: Windows Insiders on AMD or Intel-powered Copilot+ PCs may experience long wait times on the first attempt to perform intelligent text actions in Click to Do after a new build or model update. [Improved Windows Search] [REMINDER] For improved Windows Search on Copilot+ PCs, it is recommended that you plug in your Copilot+ PC for the initial search indexing to get completed. You can check your search indexing status under Settings > Privacy & security > Searching Windows. [File Explorer] The following are known issues for AI actions in File Explorer: Narrator scan mode may not work properly in the action result canvas window for the Summarize AI action for Microsoft 365 files when reading bulleted lists. As a workaround, you can use Caps + Right key to navigate. [Widgets] Until we complete support for pinning in the new widgets board experience, pinning reverts you back to the previous experience Note that the Dev build has two more known issues: The option to reset your PC under Settings > System > Recovery will not work on this build. We’re investigating an issue causing a small number of Insiders to experience repeated bugchecks with KERNEL_SECURITY_CHECK_FAILURE after upgrading to most current Dev Channel builds. You can find the official announcement for the Dev build here and for the Beta build here.
    • Apple Intelligence can now analyze your iPhone's screen, offers live translation by Aditya Tiwari Alongside iOS 26, iPadOS 26, macOS 26, watchOS 26, tvOS 26, and new AirPods features, Apple announced some stuff for Apple Intelligence at WWDC 2025. A highlight of the latest announcements is that developers can now access Apple's on-device foundation models, which power Apple Intelligence, to enhance their apps. Apple's Foundation Models framework enables developers to create AI-powered features and experiences that can also operate offline. "The framework has native support for Swift, so app developers can easily access the Apple Intelligence model with as few as three lines of code," Apple said, adding that the access is offered free of charge. Apple has introduced several new features for the general public. For starters, the new Live Translation feature works across Messages, FaceTime, and phone calls, using "Apple-built models that run entirely on device" to translate messages from one language to another. In other words, the feature can translate written text in Messages into the recipient's preferred language and display translated live captions while still hearing the speaker’s voice in FaceTime. Meanwhile, the translated text is spoken aloud on regular phone calls throughout the conversation. Visual Intelligence can now access a user's iPhone screen to answer questions and take action on the content being viewed on the screen across apps. Users can ask ChatGPT for details on specific objects and what they're looking at on their screen to learn more. They can also search Google, Etsy, and other supported apps to find similar images and products. Visual Intelligence can also identify events displayed on the screen and suggest adding them to the user's calendar. The updated Genmoji feature lets users mix emojis and combine them with text descriptions to generate something new. They can change expressions and adjust personal attributes, such as hairstyle, to match the latest look when making Genmojis inspired by their friends and family members. Image Playground has been updated to support new styles generated by ChatGPT, such as oil paintings or vector art. When users have a specific idea in mind, they can use the "Any Style" option. Apple Intelligence also powers the Shortcuts app, using on-device processing or Private Cloud Compute to generate responses that feed into the rest of the shortcut while maintaining privacy. For instance, Apple explained that "a student can build a shortcut that uses the Apple Intelligence model to compare an audio transcription of a class lecture to the notes they took, and add any key points they may have missed." Apple is integrating its AI features into more apps with subsequent OS updates. The Wallet app can now summarize order tracking details from emails sent by merchants and delivery carriers. It lets users check their full order details, progress notifications, and other details. In Messages, Apple Intelligence can suggest where a poll might come in handy, and users can create backgrounds to fit their chats using Image Playground. The new Apple Intelligence features are available for testing on iPhone, iPad, Mac, Apple Watch, and Apple Vision Pro through the Apple Developer Program. By the end of the year, Apple's AI suite will support more languages, including Danish, Dutch, Norwegian, Portuguese (Portugal), Swedish, Turkish, Chinese (traditional), and Vietnamese. You can read about Apple Intelligence in the official announcement post on Apple Newsroom.
    • Absolutely. Glass widgets, tabs, docks, Rainmeter, MicaForEveryone (gorgeous full glass explorer windows), etc. some of us never left the glass ecosphere. I actually hope this encourages MS to put those Acrylic/Mica/Glass hooks back into the OS as an option. It doesn't have to be the default, but some of us would love the choice.
    • I had deleted the folder after installing the update and then re-created the inetpub folder. Ran the script today even though the folder exists, it does some minor changes to the permissions and to the order of some.
  • Recent Achievements

    • Rookie
      CHUNWEI went up a rank
      Rookie
    • Enthusiast
      the420kid went up a rank
      Enthusiast
    • Conversation Starter
      NeoToad777 earned a badge
      Conversation Starter
    • Week One Done
      VicByrd earned a badge
      Week One Done
    • Reacting Well
      NeoToad777 earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      476
    2. 2
      +FloatingFatMan
      267
    3. 3
      ATLien_0
      258
    4. 4
      Edouard
      200
    5. 5
      snowy owl
      178
  • Tell a friend

    Love Neowin? Tell a friend!