Let’s get it out of the way early: PHP is a strange and ugly language. It’s not exceptionally fast. It’s not beautiful syntactically. It’s not formulated around a clear opinion about good software development practices. And it’s still what I write a lot of software in. The obvious question is: why? Why use PHP today?
There are lots of good reasons for it, above and beyond personal idiosyncratic preferences. Here’s the space to cover exactly that. Why is PHP my language of choice for web development?
What is PHP?

“What is a PHP?” Or, more commonly, “what’s PHP?” In short, PHP is a programming language made for the web, built up from the C programming language, and which uses idiosyncratic HTML-like tags (or sigils) to contain its code. The PHP programming language is mostly used server-side, which means that it runs on your web server software, which is customarily going to serve HTML to your visitors.
PHP initially stood for “Personal Home Page.” Because that pretty thoroughly constrained the meaning and desirability of using the language for general use, the language now stands for “PHP: Hypertext Preprocessor”. This is what’s called a recursive acronym (a name that contains the name). Nerds love them.
What can PHP do?
What is PHP used for? Basically, anything that you want to do on a web server, you can do with PHP. Make a blog? Yep. Create a full fledged software-as-a-serivce application? Absolutely. Write a little script to process some data in a few seconds? PHP is great for that. Write a complicated set of scripts that accidentally becomes a successful software business? PHP is used like that a lot.
If you don’t trust me, the PHP website lists the following uses:
- Server-side scripting
- Command-line scripting
- Writing desktop applications
I’m not so sure I’d encourage the last bullet point, but it is possible. But the first two are common and good reasons to use PHP in 2019.
This leads to one important and unavoidable fact…
PHP is EVERYWHERE
There are a lot of reasons to know and love PHP, probably the most potent and valid of which is this: it’s used and runs EVERYWHERE the web does. Your cheap little $3 per month hosting account may let you run a web application in Python or Ruby if you shop carefully. But it’ll definitely run PHP. This means that you can count on it wherever you are.
And because it runs everywhere, and is easy to get started with, a lot of very popular software is written in PHP. WordPress is the example that’s both largest and most familiar to me, but tools like Joomla, Drupal, Magento, ExpressionEngine, vBulletin (yep, that’s still around), MediaWiki, and more are all running PHP on the server.
And there are more PHP application frameworks than you can shake a stick at as well: Symfony, Zend, Laravel, Aura, CakePHP, Yii, and even the venerable CodeIgnitor. Surely you can make a list of web frameworks of some length for almost any other language. And for the commonly used web languages like Python, Ruby, or Node/JavaScript you may even be able to amass a numerically competitive list. But the sheer volume of sites running PHP is immense.
WordPress proudly boasts that it powers more than 30% of the internet. You don’t need to even trust that fact to realize that a lot of the internet must be using PHP if that fact is even conceivably true.
PHP has some very good qualities
Easy Dynamism is Baked into PHP

PHP does HTML rendering and programming easier than almost any other language. So it’s pretty simple to change HTML to PHP. Just change your file.html
to file.php
, add a bit of dynamism inside some <?php
and ?>
tags. Most web servers will have already been configured to take care of the rest for you. It’s so simple that almost anyone can get started without a need for much more of an understanding of programming than this. Because PHP is so friendly to cut your teeth with, a lot of bad code is written in it.
Once you realize that most bad PHP is written by novice programmers, most of the fear and hatred of PHP you encounter in the world comes from one other essential problem: PHP has never had a grand design with a visionary idea about why it was the perfect language for your web server. Instead, its the result of wide collaboration through an open process which serve as a crucible through which any good idea — and a few bad ones — must pass.
Object-Orientation with (Great) Package Management is now the Norm in PHP
And bad ideas can make it through that crucible. The most popular example is that PHP 5.3 — separately widely regarded as the first modern version of PHP — introduced the goto
statement, which is generally either scoffed at or thought an easy source for errors.
Similarly bad thing in PHP that have resulted from the process through which the language has grown: object-orientation was first implemented as a flawed and limited concept, the standard library is full of inconsistent names and parameter ordering, and (in an example that recently got a fair amount of attention) the ::
token is called by the interpreter by the inscrutable-to-English-speakers: T_PAAMAYIM_NEKDOTAYIM
.
But today, OOP is fully-realized in PHP. Few languages have as much Java-like OOP practice than PHP. What’s more, unlike Java, PHP has a single and widely-love package manager, called Composer. It was very good, and so the ease of pulling in other well-written and well-maintained libraries in PHP is nothing to be trifled with.
PHP Has Gotten a Lot Faster

But those thing said, PHP is evolving in interesting ways. It’s growing toward being a pretty fully-featured Java-like (for better or worse) object-oriented language. And much like Java, it’s gaining easy abstractions for functional programming — arguably the current hotness. It’s also growing a pretty awesome set of tools — PHP loves Composer, and for good reason — and a commendable effort to make all of these large open source projects in PHP work a little bit better together.
Oh, and we shouldn’t forget the current hotness: speed gains PHP has made in the PHP 7 series of releases. This is widely regarded as having been initiated by the HHVM coming out of Facebook. For a short time, there was a risk that the speed of the HHVM would fracture the PHP community. But it didn’t. Instead PHP just got so much faster that people have mostly forgotten that the HHVM exists.
PHP has a HUGE Community; it’s Learning-Friendly
If you’re deciding what cool new technology to use, a thing I think often gets to little attention is what’s its like to come to terms with the language. What’s it like to learn PHP? PHP tutorials are common and often quite good.
One downside of PHP’s popularity is that you can find some not-so-good training from people who don’t know enough about what using the tool is really like. Or who last were following “best practices” that were current a decade ago. But on the whole, that’s rare-enough that I don’t think it should discourage you. Finding out a practice you’ve used for a few months isn’t great is rare, and not a huge problem.
Common Comparisons to PHP
A lot of people new to programming are looking for very general face-offs of languages. So, here they come. All the languages I’m going to write up here have the following traits in common with PHP:
- They’re open-source. What this means is that you can use the underlying language for free (no cost), and you are able to see and understand the underlying program if you wish to.
- They’re often used for web development. Pretty straight-forward, these are languages used a lot for web development. Some are also widely used outside of that venue, but not all.
- They’re high-level, loosely- and dynamically-typed. This means that a variable can change types, and that you don’t have to define when you define a variable what type of things (numbers vs strings vs objects, etc) it’ll store. This is generally favored for web programming, but not universally.
- Their communities are good-sized or better. There are a lot of interesting languages that have the qualities listed above, but which don’t have a large community of practice. I’m leaving them aside here.
Why use PHP? Why not JavaScript?

Perhaps the most important language to compare PHP to is JavaScript. Modern development requires that every project uses at least a little bit of JavaScript for client-side development and interactivity. With Node, it has became relatively easy to use JS on the server as well. The idea of using the same language “isomorphically” on the client and the server is very appealing.
Like PHP, JavaScript is an eclectic and sometimes ugly language with a lot of warts and “gotchas”. But JavaScript has gotten hugely fast in the last decade, so the case for it is real. Why pick PHP over JavaScript? You’ve got expertise or need to use libraries in PHP. Otherwise, I think JavaScript may be a better choice.
PHP vs Active Server Pages ((.Net) Core)
Active Server Pages started life as a closed-source Microsoft language for web programming. It was pretty directly comparable to PHP, but ran in Windows Server environments. That was replaced by ASP.net. Which has now been replaced by ASP.NET Core. The latter two are now open-source languages, like PHP is. And I’ve personally never written a lick of ASP, in any variation.
I would favor ASP if I used and loved Microsoft servers. Otherwise, give me PHP please. The size and scale of communities are not really comparable.
Should I Use Ruby or PHP?

Ruby, specifically Ruby on Rails, was very popular a decade ago. Ruby is still a much-loved language, which is much more elegant than PHP to my eyes. That said, its community is smaller. And I sense that Ruby has stopped being the “hot language” (being superseded in that role by JavaScript). Ruby’s beautiful, and there are enough people good at it that I’d not avoid it for that reason. But hiring people already-familiar will remain harder than doing so in PHP. (Though I think the skill of an average Ruby developer is likely higher than the same for PHP.)
Python vs PHP: Which is Better?
The last language that makes sense in a one-to-one comparison with PHP is Python. Python is used in many more contexts than web development (it’s also very popular for statistics and data analytics). It’s also one of the more stable and well-designed languages around, in popular consensus.

Python (like Ruby, and JavaScript) is a little bit harder to get running on a web server than PHP. But it’s a prettier language, and more diversely used than PHP. It’s one of the languages I’d think hard about favoring over PHP, all other things (access to external library, access to hiring expertise, etc) being equal.
PHP vs Go? Scala? Java? etc?
I mentioned at the top that there was a lot of similarities with all prior direct language comparisons I made. But if we drop those constraints, there are tons of other languages we could compare. So to briefly touch on a few:
- Java is hugely popular, and very fast. It’s used for building Android apps, desktop apps, and web apps. It’s not dynamically typed though, which has better performance guarantees, but worse ease of web programming.
- Go is a newer and growing Google-backed language. It’s focused on web servers, but slightly lower-level (more like C) than PHP. It’s fast, but the community of practice is smaller.
- Scala is a popular JVM-running (Java-compatible) language that still seems to be growing in popularity. It’s more elegantly designed than PHP, but I can’t say much else about it with confidence.
Again, that’s all I feel like I’ve got enough context to touch. But there are even more options you can consider. But that’s the end of the specific alternatives I’ll consider to PHP.
Programming Language Choice is About Context
Given those comparisons, why use PHP? I’ve enumerated some of the things that are bad about PHP, and I feel some of them regularly. Needle and haystack inconsistency in search functions bites me at least once a month when I’m quickly doing something without autocomplete.
For a true and complete greenfield project, with no need to interoperate with any other system, or need to run in any arbitrary environment, with no existing expertise on the team, I’d think pretty deeply before I recommended PHP. Python really appeals to me in that scenario. But those are a lot of caveats. There are great reasons for even a fresh greenfield project to be written in PHP.
Any modern web language can help you make good websites and apps. And every one of them has features that aren’t ideal. PHP, like any of them, requires you to truly understand its trade-offs for you in your project to determine whether or not it makes sense for you. But for me, personally, I continue to find that it’s possible to be — as Keith Adams put it in a great talk — “shockingly productive in PHP.”
If you’ve got a team of Python programmers, write your application in Python. If you’ve got a cofounder who knows Java, write your SaaS in that. The personnel considerations of software should always outweigh the languages ones.
Thanks for the explanation. I decided to take up PHP as a new language this year. Based on what you have written, seems like it is quite easy to learn PHP, especially when I recently set up my own WordPress blog.
Number 1 result on Google, and it boils down for me to: “It has a large community.”
All the other reasons are just nonsensical rationalizations to the fact that thousands of developers keep using a language that’s inferior by design and execution.
I think there’s a little more to the argument than that. But I wouldn’t argue that PHP (or JavaScript) are “more beautifully designed and executed” as languages than Ruby or Python. Partly because I don’t fully believe that, partly because it’s too big an argument to make.
I touched a little more about why both PHP and JavaScript have succeeded, despite inelegant designs in “All Programs Have a Surrounding Human Context”.
For me, what’s make our life much easier, it’s the best, ignore all the bad reputation about php, it’s sufficient, to the point, and fast development, that set we don’t need any thing else, just pick it and start enjoying but try to be professional I mean write good code, nice and clear structure, don’t use the flexibility of the language in crappy code.
I have programmed before mostly using VB products from Microsoft, experience with C and C++, some Java, and Front End Development. I’ve never developed any Web sites before but would like to begin. Having PHP, Python, NodeJS, as possible options, which way would you recommend to create a site which must hold sensitive data, something like SalesForce, for example (not that big, I’m just referring to the type of data stored).
Consider either language I’d have to learn from scratch pretty much. I don’t know enough about community, frameworks, etc to make a decision.
Hi Oscar,
Much as I love PHP, I’d tell anyone in you shoes to learn Node/JavaScript. If you’re building a wholly-custom application, I think JS is a better base than PHP, because you’ll be able to use the same language on the client (web browser) and web server. That doesn’t mean there aren’t complex differences between those two environments, but at least for you the underlying programming language will be the same in both places.
Hope that helps,
David
The common refrain that “you can use the same language on the front-end and back-end,” is often a shallow evaluation of the particulars. All web developers need to learn JavaScript, but not all applications should be written with Node.js. The key to using Node.js for server-side development is to understand when and where a single threaded, non-blocking, asynchronous event loop run-time makes sense.
Suddenly, the idea of being able to use the same language on the front and back ends is less important than finding the best solution for a particular use case. Very few people develop software starting off with raw Node.js, if they can even get it setup, and fault tolerant (with high availability). Again, it gets more complex than just “Uga, uga, same language.”
Those who are starting off would be wise to learn the classical model object-orientation before taking on the prototypal model that JavaScript uses. Also, the efficiency gains that Node.js can provide are sometimes outweighed by the need to get going!
Node types run to frameworks faster than PHP types because JavaScript is truly a strange animal of a programming language when you get to the guts of it. Even Douglas Crockford (before ES6+) wrote a book, “JavaScript: The Good Parts.” Nicholas Zakas’ books “The Principles of Object Orient JavaScript” and “Understanding ECMAScript 6: The Definitive Guide”, in addition to Flannagan’s “JavaScript: The Definitive Guide (5th and 6th), clearly demonstrate that praise for JavaScript is fan boy marketing, not reality.
I came from C. C++, and Perl, so PHP was a God Send. 🙂 The bottom line is, PHP does not have native support for UNICODE, and this is the number one fault with the language, compared to Perl, JavaScript, Java, and others. Otherwise, PHP is a great language to learn to program in. You will appreciate more things (security, databases, web servers, operating systems) starting with PHP, than if you consume your life with JavaScript and user-agent related issues.
In the end, Node.js is more than what the average person needs, or needs to worry about (npm anyone?). Advanced developers with deep understanding of use cases benefit most from Node.js. They can design applications that require less computing resources, but that advantage is trivial for everyday business applications and websites generally made by beginners.
Node. js is unnecessary for most web applications, but it is an outstanding option to go to if your use case justifies it!
Dear David,
I don’t think there’s anything on the web quite like what you’ve published here
I grew up on PHP and JavaScript always feeling like they were weird scripting languages, tho I think you said it… a) they’re not anymore with all the recent software produced around PHP b)software is about community
Thank You
You are enlightening 🙂
Hello,
Pretty great post but there’s one thing I’d like to point out is that ASP.NET can run on Apache and Nginx through Mono although only partially, not all features are implemented and at this point it’s probably not recommended or worth the hassle; however, ASP.NET Core is fully and completely supported on Windows, Linux and macOS. https://docs.microsoft.com/en-us/dotnet/core/about
DEAR DAVID.
HEY, Thanks for posting this blog. This is very useful for me and I want to know some questions. is it important to learn PHP in 2019? and why I learn this how many benefits it gives? Is it still worth it? How can we persue common comparisons to PHP?
Hi David:
Nice write-up.
I’ve been programming for over 50 years and now as a Professor at a local college I teach Application Development in 12 different languages. I use PHP for all my Web Application Development for both the college and for clients I’ve served over the last 20 years.
I claim PHP is a Master Language because it can create code for the five primary domains of the net, namely content (HTML), presentation (CSS), behavior (Javascript), function (PHP), and persistence (MySQL).
While some may say these Web Languages have their own purposes, which is true, but it is PHP that can deliver them to the Browser. In other words, as a PHP Developer, you have complete control of delivering these scripts as needed. Additionally, PHP has a huge assortment of problem-solving tools (i.e., text processing, image generation and alteration, URL data collection, bots, data analysis, AI, and many, many more) you can use to serve your clients.
Lastly, the PHP community has an vast number of professionals and supporters who often lend their time to welcome and educate new-comers and assist them in developing code. If you’re new to Web Programming, then you will be hard-pressed to find a better Web Language than PHP.
Cheers,
Tedd
I’ll take Net Core any day over PHP. It’s fast as hell (so is very good at scaling), it has a very good language (C#), has its own package library NuGet, it’s Open Source, it runs everywhere (Windows, Mac, Linux you name it), and the community is very large.
And .NET is definitively not OpenSource lol.
Thanks for sharing this. I’ve been trying to learn a little PHP. Great post for me and people who already use other languages like asp or asp.net and want to explore PHP. This is very helpful. Keep on the great work. I just want to say that there is no need to dive too deep in PHP if you don’t want to. A versatile coder can just pick what they need for a particular scenario.
This is an amazing blog! Thank you. I too work for a PHP development company so I completely agree!
If code really is about poetry as you claim, there are better choices than PHP.
PHP is about quantity, not quality. It says so on their website too: “popular, pragmatic, flexible”. PHP solves trivial business problems at alsmost no cost.
Of course, that too is a big quality if it is on the scale of what you need at some point in time.
But once your application starts to become more serious, you can’t even compile it with Zend Guard which only supports outdated PHP versions. You definately need to move away from PHP and MySQL. You’ll wish you’d started with C++ and PostgreSQL right from the start of your project, instead of having to rewrite everything over again.
Both PHP and MySQL have problems with time anyway. PHP reinvented that wheel again with DateTime which still has many annoying bugs as of today to be reliable. Next to that, MySQL can’t even store date/time fully with timezone information, leading to all kinds of problems once your initial assumptions (or installation details) change.
To think that the inventor of PHP, Rasmus Lerdorf, once started PHP to demonstrate the ease of C…
Great article. You misspelled comparison in the last paragraph.
Just fixed. Thanks for pointing out the missing P 🙂
A very informative post – thank you for sharing, David
I am an absolute novice to programming with a business background. I am getting a website developed (the developer is using Laravel framework) and would like to educate myself sufficiently in PHP so that I understand how the code works.
Where do I start (a course, tutorial, etc.)? I would be grateful for your advice.
Syed, for a situation like you’re describing Laracasts is my most common recommendation. Cheers!
You can host your web application written with ASP.NET Core on linux servers too ! ASP.NET Core has great tooling for free (Visual Studio Community), Backed by C# language (C# 8 is becoming a really great language) and lots of other things and also .NET Core is the most loved framework based on StackOverflow survey !
Good article, but could be little deeper.
I have been using php for last 15 years making so so many projects with it, mostly small and medium size, but even one webshop with 30 000 products.
Aaand it’s fast and cheap to run! You can get it running in Google App engine less than 10 usd/month and if it gets more visitors, just put extra 10 usd and you are good to go.
But when using all these fancy node.js and others, you will be in h*ll if your service gets too much traffic! I mean just 100 concurret visitors.
But what is sad, that the train of php has already gone. All the apps in my country is made with node and react. So I need to learn them as well and I recommend to everybody to skip learning php for this reason.
Absolutely right , PHP is a great platform to use, but however we cannot totally forget about Node.Js.I recently moved from Node.js to PHP and made an article to share my experience: https://hackernoon.com/nodejs-vs-php-which-is-better-for-your-web-development-he7oa24wp Kindly go through it and choose which platform to use.
Python really appeals to me in that scenario. But those are a lot of caveats. There are great reasons for even a fresh greenfield project to be written in PHP.
How David, I hope you are doing well. You have written a well-detailed article about the use of PHP in 2019. The main advantage of PHP is a wide developer community support. And above all, it fastens up the web development process by a considerable margin.
I use Ruby, PHP and Go on a daily basis.
No offense but, in my opinion, you failed to mention the actual advantages of PHP over other languages that you were comparing it to. I suspect that it’s because you don’t have enough experience with the other languages and you’re basing your opinion on Wikipedia-like theoretical information.
Ruby is indeed more elegant but PHP has a lot of advantages over it. For example, type declarations in PHP allow failing early and help with better static code analysis, PHP’s IDE support is undeniably better and PHP is considerably faster than Ruby. In fact, I enjoy using PHP over Ruby just because of the aforementioned advantages.
While I love Go and I think that it’s probably the best language among these three, in comparison to PHP it’s a lot harder to work with dynamic data. For example, I hate working with JSON in Go and I think that it’s one of the few poorly designed parts of this language. Is it low-level as you mentioned? Not really. In my opinion, Go is a higher-level language than PHP as its standard library is reacher and allows doing much more without tons of additional layers (e.g. frameworks).
*enjoy more using PHP than Ruby
First of all, thanks for sharing this overview.
PHP was the first language I ever wrote code and I remember building great things with it – from simple websites to e-commerces in Magento and complex applications using Zend 2. Later I’ve decided to focus on front-end development only, and, the last time I touched PHP was aroung 2015, with Laravel.
Almost at the end of 2019, I’m considering playing with it again and I want to take a look at Symphony or just play Laravel again. I believe it would be easier to get back on track even with the changes from version 5 to 7, because, as you said, PHP is learning-friendly.
I appreciate you taking the time to consider different tools for the job and writing this out. Though, it’s a little concerning when you say, “The personnel considerations of software should always outweigh the languages ones”. Personnel can learn languages, and rather easily.. a language cannot change and has cases where one should be used over another. Why even write the article if you’re just going to shrug it off and say use what you want.
I prefer PHP, since it is easy to learn and implement. Plus having lots of features.
I love PHP . It’s so easy to develope page. My opinion is PHP will be used for long time. However , I realy need a feature from PHP.
**Converter text language to native language and ran it on server. This will improve more security by hacking.
This feature is very important for bigger project. I think it will unlock the language to growth up.
Jokes …. Comparing the programming language based on community size is like comparing cars based on colors. Size of the community as well can indicate every code dolphin can become a programmer. I’m not surprised as PHP is actually a template system grown up to object oriented and partly controlled memory leak. PHP community finally discovered package management and dependency management (composer). Laravel is clone of Ruby on Rails, congrats PHP community, but at least you’ve learnt something. Projects like virtPHP, nice try, good direction, but quite late and lame. Command line scripting in PHP is like prototyping in assembler, you’re just not doing it, because it’s stupid. These days, learn Golang, TypeScript or Python even if you’re just a PHP dolphin trying to rewrite linux network stack in PHP because you just don’t understand how it works (I swear there are really such people, I’ve seen it in my eyes, hand to install that on servers ….. they did it because they wanted CDN). What I’m saying, 9 out of 10 PHP programmers are not programmers, just poorly educated chaos makers.
PS: Agree with Shamt.
“I would favor ASP if I used and loved Microsoft servers.” – .NET Core is cross platform so there is no need for you to use Microsoft servers
David, thank you for your thoughts. I enjoyed what you had to say. Why use PHP in 2019? It works, it is designed with web development in mind, and it gives the layman a chance to build something (usually a website).
PHP allows developers to focus on building, even if there are some technical deficiencies (native multi-threading and unicode support) and language conventions that tended to be more popular in the pasts (80s, 90s, Perl, object->member, $someVariable).
The views of younger and modern computer scientists, software engineers, academics, hobbyists, deep corporate professionals, and others that disparage PHP might appreciate the linage of not C/C++/Java/C#, but not that of C/sh/csh/ksh/bash/Perl/PHP.
It is easy to say one does not like something about PHP when they never had to do it in Perl, or never programmed in C. PHP is like the capstone of a pyramid of progress for a set of coding norms, but in a web development context (yes, you can do more with PHP).
Python has the strongest argument (in features and modern coding conventions) against PHP for traditional web development, even though I despise some of its coding conventions and syntax (lack of ++,–), especially the class syntax.
JavaScript zealots already hated PHP, so Node.js just gave them more ammunition to say “See, see, I hate PHP,” even when Node.js might not be the way to go for basic web applications (especially for someone building their own thing, or just starting out). Node.js might use JavaScript, but that does not mean you will be using JavaScript the same way that you do on the client-side (a point many tend to gloss over).
Suddenly, everything is “real time” and in need of “non-blocking”, which is not true. Of course, if you take Node.js people literally, then every web application MUST be able to handle millions of requests per minute.
Java is overkill for basic web applications. Beginning web developers should not be concerned about checked and unchecked exceptions (please).
Why use PHP in 2019? It never stopped working and making people money in 2019, that’s why. If you have to build gigantic websites/applications, that’s your problem, not mine (take that Node.js people).
Python, Java, and C# people, well, hey it’s what they are learning in school so it MUST be the solution for everything.
Get paid. Let others have their purist debates. Save the other languages for their best use cases. PHP is the best language that aligns well with the history, progress, paradigm, practice and soul of server-side web development.
If you never went through C, shell programming, and Perl, it is hard to appreciate PHP to the fullest. PHP puts most of the plumbing together for you and it is very accessible. That matters. That’s valuable.
PHP has evolved and moved forwards, not backwards. It’s better today than ever. Use it to get ahead. Save Java and the lot for building software in other contexts. Use PHP to build, build, build, baby! There is no profit in claiming superiority if you have nothing to show for it.
I really enjoyed your article. I was a developer for many years in VB & ASP (ASP Classic mostly). Nowadays, I’m depending on others to develop some mobile apps for me, and I find that they’re using E2C/I2M (Easy to Create / Impossible to Maintain) apps, and I’m frustrated by the attitudes of “it can’t do that” limitations.
I want a simple language that can use a SQL style database, where *I* can code it and stop depending on the naysayers. My biggest fear is simple security. (prevention from being hacked – no I don’t have super sensitive data).
In the past, I developed a core set of features that answered MOST business problems… which almost always lead to a series of simple tables with a LISTING page and a DETAIL page for each data table, with a few other small bells and whistles.
Is PHP a good tool for simple data access applications like this? What databases are good to use?
Thanks for considering,
“Java is hugely popular, and VERY FAST”. I’m done
I learned PHP in 2011 in about 2 hours of coaching. Since then I’ve been writing internal and simple external facing web apps in PHP (with either MYSQL or Oracle backend). Previously I’d built systems using Perl CGI. Having learned C and Shell scripting, I found Perl easy to learn, and I found PHP easy to learn.
I still use PHP because it is for me the quickest way to cobble together a working web site.
I have also used JSP/Java and I have to say I find I am having to a LOT more coding to get the same result as with PHP.
I like the simplicity of the setup, developing on XAMPP (Windows) and deploying to Apache on Linux or Windows. I am getting concerned about being forced down the road of package management via Compose. I do avoid that. I also avoid frameworks like Lavarel etc as it just seems to be like dumbing down the development process, whilst at the same time complicated it by having to learn another set of commands.
As my boss said I’m lazy too lazy to move from PHP, but people should let PHP and Ruby die in peace. It’s time to move on to JS or Python.
PHP 8 with its just-in-time (JIT) compiler is worth to watch.