Why do big Companies use Java, and NOT PHP?

preview_player
Показать описание
Java vs PHP. More specifically, why is Java (and .NET) used by larger companies and PHP tends to be used by small medium sized business?

Are there technical limitation in PHP 7 that prevent it from being used in big companies? Does Java and .NET share capabilities that PHP lacks? Or, is there something else going on?

My popular courses:

My business courses:

My social links:

Thanks!

Stef
Рекомендации по теме
Комментарии
Автор

Programmers: Python is not a real language, PHP is not a real language, JS is not a real language, Java is real language....but Java is slow so... C is the language, but it is hard.
Stop listening to those babies and just code in whatever you think idea will work.

besllu
Автор

PHP is strictly web. Also PHP is secure, especially the 7.0+ .... You can write good code in any language and bad code in any language. It's only a rookie who thinks PHP isn't scalable.

rotimiolawale
Автор

Big companies still run Java for the same reason they still run COBOL, the risks and expenses of migrating are too high. They can't jeopardize their quarterly numbers.

lujate
Автор

Wow! Definitely wasn't expecting a whole detailed video to answer my question :)
Thanks so much for the effort, this is super informative!

ammarseud
Автор

I work for IBM and we use PHP to manage all their sites(every single one).

noone-gzpc
Автор

I worked on a number of companies and various projects. I have yet to see a well build Java application where there is a web interface involved. Nearly every time it feels like companies are dragged into this segment of development and it absolutely crawling in its pace. There were times when I just simply got tired of waiting for people to build something in Java and built everything I needed in PHP (Laravel) possibly 10 times faster. Just because I needed to use certain features to help myself to do my job more efficiently. It took me about 6 weeks. Similar development in Java was going on for over 15 months and when it was done, it was sh!t. Terrible feedback when the process ran. My program provided a dynamic instantaneous update on every executed process. I don't blame Java for it, however, if you keep swapping developers you will run into these issues because there are very few good Java developers. In reality today I feel like Java development is bait to drag companies into endless development cycles to suck money out of them.

nyplace
Автор

I did years of Java development at a big corporation and then moved to a small company and used PHP.
I was really surprised by how productive PHP development is compared to Java.

shaonian
Автор

I come back to your videos just to absorb more and refresh. It is extremely useful, please keep it coming!

mushrafaltaf
Автор

Also with PHP 8.0 we have type checking which makes it even more appealing for large scale projects.

therealgunny
Автор

I appreciate the thorough response on this. It gives me insight into why corporations contract with large agencies also. The appearance of having done everything to cover their backside and be risk averse is something companies will pay a premium for.

busyrand
Автор

I was waiting for that ruby joke... keep'em coming lol

ThePublicTutorials
Автор

I think the "easy of use" argument is really important here. I mainly do C#, I initially learned how to code properly in C#, that's why I'm heavily in favor of for example proper typing in languages, unlike python or javascript.
But I was fairly surprised how quickly I can make something work in python/js. But it comes at a price, properly written C# Code would be a lot "safer" and would handle errors much better.

bruderdasisteinschwerermangel
Автор

No mention of static typing and the benefits it has for large codebases?

DanEllis
Автор

Hi Stefan,
This video is very useful. Thanks for sharing it.

visruthcv
Автор

I am working for a big compay (6+ years), with Siemens as customer and we are using PHP. Started with Documents management system, Oli and Windmil surveillance to Special situations app (fire, earthquake, etc) and now to Inventory management system for hospitals, all around the world. And as long we are using LDAP, 2-3 authentication factors, certificates and implement all OWASP recomandations I would say that we are on the good track and that the big comanies, use PHP. ;)

razvanbodnariu
Автор

Hi Stef, do you provide code review/audit services? We want to make sure our web app has an adequate architecture and is rock solid. Thanks a lot!

Foodcooklove
Автор

PHP was developed for the web (originally just as a customization layer for C based web-applications), Java as a competitor to C/C++ for conventional applications (write once run everywhere). Therefore you can't compare PHP and Java. PHP is not the right language for non-web applications. You can use Java for the web but it is not a big player there (reg. market-share). Java is a (sort of) compiled language what has pros and cons compared with an interpreted language like PHP. Sure, over the years the borders got blurry (see Hack). IMHO Java is great where you need a conventional application (which needs to get installed) but not for the agility which you need in the web. Mobile device apps have made Java much more popular than it was 10 years ago but dedicated (compiled) apps are not the future for most mobile applications. Web-app technologies are more promising on the long run. The heavy reliance on JavaScript techniques seems to me not being a perfect solution so that there will still be sufficient room for server-side web-languages. And here I see PHP being much better positioned than Java or .NET despite the great quality of these big company supported languages. True open source projects (like PHP) are also more flexible in reacting to what developers want (instead of what Oracle and Microsoft shareholders expect).

HaraldEngels
Автор

What are your feelings about using something like Laravel 6.x and Java vs Asp.net Core MVC and Java?....

JacobWard
Автор

Wow, the clarity of the video and the background fade are amazing, I'm speechless toward the quality of this video, I wait for your everyday video, it adds a lot to me, thank you for being here with us, Stef (y) <3

ahmedzaki
Автор

One more to add, the reason why Java is being used by the enterprise is because the JVM is powerful and scalable plus Java has tons of supporting library for your development need. The language itself (pure Java) is not very pleasant to work with in 2018; it is a 1990s design and very verbose for modern standard. That's why now we have languages like Kotlin (newcomer), Groovy, or Scala that enables us to leverage the power of the JVM while being more productive and developer friendly.

deweycox