PHP: BEYOND BUILDING WEBSITES
What you can do with PHP beyond building websites. Have you had to introduce PHP to a newbie and the newbie asks you what else PHP can do except for building websites and you can’t really say much? Lool! I have been in that situation. I don’t know about you but I have been caught in a situation where developers(A Python and Php developers) arguing where like “You cannot do anything except building websites alone with PHP”. I couldn’t convince this guys well and I decided to do a little research on other things PHP can do. I Hope You Enjoy This Post.
To start with, the scripting language has other capabilities apart from server-side scripting for building some basic web application or a complex web application or command-line scripting that we may not have thought of or explored. These functions will be briefly discussed below:
Artificial Intelligence Bot (AI)
Do you know that apart from building websites you can build Artificial Intelligence bots with PHP on Slack, Telegram, Facebook bot platforms without sweat. Here (https://chatbotsmagazine.com/how-to-create-facebook-messenger-bot-in-php-2620784d5583) is a reference to a medium post that teaches you how to get started on Facebook Messenger Platform. Slack also supports building your AI bot with PHP. Check it here (https://www.twilio.com/blog/2017/02/how-to-build-a-slack-bot-using-php.html). Also, check out how to build bots on one of PHP’s best frameworks (Laravel) here
Virtual Reality (VR)
PHP can be used for virtual reality on the web. So it means you can still spice up your normal web applications. Virtual reality (VR) deals with computertechnologies that use virtual reality headsets to generate the realistic images, sounds and other sensations that replicate a real environment or create an imaginary setting. IdeaSpaceVR is a good example of a PHP content management system (CMS) for the virtual reality web (WebVR). Check it out on their websites (https://www.ideaspacevr.org/)
Though many programmers prefer to write their desktop application in C++, Java or Cross-Platform technologies like Electron, but it is important to know that PHP can be used for building desktop Apps. You can use PHP-GTK to write a desktop application. You also have the ability to write cross-platform applications this way but you should know PHP-GTK is an just extension to PHP. You can learn more from this link (http://gtk.php.net/).
Machine Learning (ML)
Machine learning is teaching the computer how to learn by itself. It is far easier to be done, especially when you have small data set and a good level of expertise in your field. Pretty sure that many people do not know that with the release of PHP 7.0 late 2015, machine learning with PHP has been awesome. Awesome machine learning libraries have being written with PHP. One of them can be found in this Github repository (https://github.com/php-ai/php-ml)
Internet of Things (IOT)
According to Techprevue.com,
“Well PHP comes around as the best support for IoT with it being affordable and most flexible language platform out there. As they both come together, they will create new and exciting ways for users to interface the digital world like never before and offer ways so that developers can monetize new IoT Commerce opportunities. In the future, we expect these two to play brilliant role in just everything and make life no less than a movie for you, like create a drinks machine with PHP, to a real life alarm as when a door in Minecraft opens.”
That may not be enough to buttress my point. So, I have decided to bring out projects on IOT with PHP. Some are PHP IOT Examples (https://github.com/colinodell/php-iot-examples) on Github and Maintang’s IOT-PHP (https://github.com/Miantang/IoT-PHP) repository on Github.