473,666 Members | 2,517 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reasons to Learn PHP?

1 New Member
Hi everyone,

I'm relatively new to web development. I know JavaScript and work primarily with JavaScript frameworks - Vue, Angular, Node/Express, and so forth.

I'm wondering if it would be worth it to learn PHP and at least one PHP framework like Laravel. Is there any advantage to using PHP? Any major differences in capabilities between PHP and JavaScript?

I'm just wondering because I know many freelancers do a lot of their work with sites like WordPress, Shopify, etc., and that these run on PHP. At the same time, I've had coworkers mention that PHP is slowly on its way out.

So my question is - are there still good reasons to learn PHP?
Dec 15 '20 #1
3 8403
dev7060
644 Recognized Expert Contributor
Is there any advantage to using PHP? Any major differences in capabilities between PHP and JavaScript?
So my question is - are there still good reasons to learn PHP?
In my opinion, this would depend on the application and the situation itself. More like a 'vs battle' to make a selection. PHP is simple and is supported by many hosting services. One has to know PHP to be able to work with the things powered by PHP such as WordPress and Drupal. It can be considered a good choice for content-driven websites. On the other hand, the js runtime node is asynchronous and much faster than PHP; hence more viable. But it may require a VPS with ssh access which could add up to the hosting costs.
Dec 15 '20 #2
bakertaylor28
45 New Member
At the same time, I've had coworkers mention that PHP is slowly on its way out.
Simply put, NO, its not. PHP is like half the internet, with several BIG websites being run on PHP. (Facebook and Wikipedia are notable examples.)The major alternative to php is ASP (which is proprietary being the reason it hasn't really taken off). Things like GO, Perl, C#, Ruby, C++, etc. are much tougher to learn and tend to have much more difficult syntax, and therefore can be problematic to learn well enough for the average programmer to be able to deploy it efficiently. Also, some of these have inherent security issues. (For example C-derived languages tend to produce more security issues than what it's worth at times.)

Any major differences in capabilities between PHP and JavaScript?
The major disadvantage to JavaScript is that the client can read all of your code (because while you can obfuscate JavaScript, its not a complete solution, and you can't use things like .htaccess to hide the code as includes), and can even "block" your code from executing- because JavaScript is client-side not server-side. Also JavaScript is particularly prone to being used maliciously, as was seen in operation Torpedo, for example.
Mar 1 '21 #3
Vanisha
25 New Member
There are several reasons why you might want to learn PHP:

Popularity: PHP is one of the most widely used programming languages on the web. It powers popular websites like Facebook, Wikipedia, and WordPress.

Versatility: PHP can be used for a variety of purposes, including web development, server-side scripting, and command-line scripting.

Easy to learn: PHP is a relatively easy language to learn, especially if you have prior programming experience. The syntax is simple and easy to read, and there are plenty of resources available online to help you get started.

Open source: PHP is an open source language, which means that it is free to use and modify. This makes it an accessible option for individuals and businesses with limited budgets.

Also do PHP training in Delhi
Feb 16 '23 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

17
3419
by: Rob | last post by:
i know javascript, vbscript, asp css and alot more and im only 14 i was wondering which is easier to learn php or cgi. any help?
7
2837
by: python | last post by:
Hello folks, I have been programming with Perl then with Python for about 7 years. But I have heard a lot of praise about PHP but I would like to know what is so nice with PHP and if it is worth starting to learn PHP. Cheers, L.B.
77
5668
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a database from SQL Server to Oracle or DB2 or vice versa... and that's it.... And a lot of these enterprises don't need it as they already know what database they are going to use and they don't plan on switching in and out database in the first...
8
4033
by: Hermawih | last post by:
Hello , I want your opinion about this . In order to say it clearly , I think I have to describe it in long sentences . I could consider myself as Intermediate/Advance Access Developer ; Intermediate/Advanced Database designer . Because of the requirements , I must create Web Application . Access Pages is not suitable for that so I think about learning VB Net / ASP Net . I am
15
2249
by: Charles | last post by:
Hi folks, I would like to create an email client and organizer like MS Outlook, and I would give myself a year to do this, in the evening & week-ends. I have been looking for information on how to do it, and I found out I can develop such a program using C, C++, or Delphi. I am new at programming, I just know some PHP, and JavaScript that I use for my job, I like it. I don't know other languages, such as object-oriented languages. What...
5
2005
by: Anonieko | last post by:
HttpHandlers - Learn Them. Use Them. Introduction There are many features in ASP.NET that are unfortunately underused. Sometimes a feature gets looked over because it's too complicated. Other times, like in the case of HttpHandlers, it's because they are poorly understood. For the longest time I understood the concept and
34
3130
by: pandit | last post by:
hai all, i want to become a good programmer. one of my friends ( named "arnuld", he posts here infrequently), taught me Lisp. so i am not a programming beginner. i have heard these 2 points. i want to know how : 1. C gives you a strong base of Procedural style of programming which forms the basis of learning other paradigms e.g OOP
16
1872
by: Raxit | last post by:
Hi, i was reading/learning some hello world program in python. I think its very simillar to Java/C++/C#. What's different (except syntax) ? what can i do easily with python which is not easy in c++/java !? Tnx, Raxit
5
13210
by: Palaksinghla | last post by:
Angular, is the most popular javascript framework. The self proclaimed Super heroic framework is gaining a lot of traction from professionals over the globe. With features like less coding and time efficiency, it has emerged as an integral tool for web development. Almost every major website is running on Angular these days. Some big names in the list are Intel, PayPal, Netflix, Youtube etc . So there is no doubt that an aspiring developer...
1
8256
by: manchun | last post by:
James Cod took the wrong path to learn SQL and even after two years of his graduation; he is still searching for a job in the IT industry. You must be wondering what is the best way to learn SQL to become a database pro. Sometimes, learning technology is not enough, but you should know how to implement knowledge in the workplace. If you know how to implement your skills and theoretical knowledge, it is easy to bag a job in the database world. ...
0
8362
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8878
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8785
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8560
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8644
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7389
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6200
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5671
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4200
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.