Why do most website developers use PHP more than Java (servlet, JSP and JS)?

Asked by Last Modified  

2 Answers

Learn PHP

Follow 2
Answer

Please enter your answer

IT Corporate Trainer with 9 years of experience in Edu tech

Java is generally heavier and slower than PHP for smaller projects (consumes more resources and allocates a ton of stuff while bootstrapping a simple app). Almost all hosting vendors back then supported PHP and just a handful did that for Java. Java hosting plans were generally 4–6 times more...
read more
Java is generally heavier and slower than PHP for smaller projects (consumes more resources and allocates a ton of stuff while bootstrapping a simple app). Almost all hosting vendors back then supported PHP and just a handful did that for Java. Java hosting plans were generally 4–6 times more expensive (for seemingly the same expected output). Many simple applications required a blog, a gallery, a forum connected to their website back then. There was WordPress (before becoming a CMS), Gallery2, phpBB/vBulletin that people knew very well and ran on PHP. Finding freelance jobs for PHP was significantly easier (for me) than Java. Most companies looking for Java developers were only hiring full-time people or contractors for 6–9 month projects (due to the specifics and volume of a traditional Java application). Since Java is more verbose, plenty of simple activities required setting up XML configuration files, additional classes for Hibernate connections or sifting through complex components dynamically generating AJAX callbacks or simple dropdown menus. Sure, there are workarounds - but it was definitely taking significantly longer for simple activities. read less
Comments

AI Engineer | Full Stack Developer

Currently their are not that much future in PHP. If you are from PHP background then you need to learn any fromework of PHP. PHP does not have that much scope which have PHP framework.
Comments

Related Questions

What are global variable in php ?
A variable declared outside a function is global
Profile Photo
Ajay
it is charge for online course or not?
I found out from my experience that if there is no charge for the course, the students are not serious and even bunk classes. Also, the fees are one of the ways you can repay what a teacher provides you,:)
Profile Photo
Farheen
how to place freshers job opening here?
Hello Rajesh, As an PHP aspirant you should be able to handle Basic HTML and CSS with hands on Javascript like putting together PHP and JS, Good expertise of Jquery like handling all DOM manipulations,...
Profile Photo
Rajesh

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

What is Type Juggle in PHP ?
Type Juggling means dealing with a variable type. PHP does not require explicit type definition in variable declaration. A variable's type is determined by the context in which the variable is used. Example,...
Profile Photo

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...
Profile Photo

Student Project Development: How To Go About It?
A lot of students (count me as well) in their final year of IT course are confused and overwhelmed about their Project development. Final Year IT Projects are a crucial milestone in every IT students educational...
Profile Photo

SQL Union Vs Union ALL
SQL UNION vs UNION ALL Operator Usage UNION: UNION combines the result set of two or more queries into a single result set. UNION removes duplicate records (where all columns in the results are the same). UNION...
Profile Photo

Hiding .php extension Using HTACESS File
If you wish to hide.php extension from your website, then create a .htaccess file in your project root and paste the following code : RewriteEngine On RewriteCond %{THE_REQUEST} ^{3,}\s/(.+)\.php*...
Profile Photo

Recommended Articles

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for PHP Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you