Posts marked with “php”
finally{}: What’s in PHP Eight?
While much of the world shuts down, the PHP core developers have been hard at work preparing for the release of PHP 8.0 at the end of this year! The feature freeze is in just a few months (July 28th), so this is the exciting time when there is a push to get various features […]
PHP Puzzles: Factorials
Each installment of PHP Puzzles presents a small coding exercise typical of those we might encounter in a job interview, or on a coding challenge website. In the following month, we’ll look at a couple of possible solutions for today’s puzzle. Perhaps one of the most common coding puzzles, I recall this one from high […]
Machine Learning, OpenAPI, and the Business of PHP
This month, we chat with Sherri Wheeler about the Business of PHP and other topics from the April 2020 magazine. Topics Getting started using machine learning with PHP. API design and how the OpenAPI can automate and improve your architecture. Writing command line scripts with Symfony’s Console components. PHP communities that don’t realize it and […]
The Workshop: Easy CLI PHP with Symfony Console 5
Writing console commands with PHP is something I have always taken for granted. I started my career having learned Linux and command line server configuration and was very comfortable writing small applications with BASH scripts, Python, and even dabbling in C and Microsoft Qbasic. These commands copied files to a backup location, process batched data […]
Hands-On Machine Learning With PHP, Part One
When you’re dealing with data, sooner or later, someone is likely to ask about machine learning. Start researching machine learning, and you’d be forgiven for thinking you need to use Python or R, TensorFlow, or PyTorch. This doesn’t have to be the case! With PHP and some basic knowledge, we can start to experiment and […]
Magento’s Evolution, Ecommerce, Development Environments, and Enterprise Software.
In Episode 30 In this episode, we dive into How Magento is Evolving and chat with Magento evangelist Ben Marks. Topics The free magazine issue courtesy of Adobe and Magento. An interview with Ben Marks on how Magento went from an open-source project to its acquisition, the value of the community and ecosystem, how Magento […]
The Workshop: Managing LAMP with Virtualmin
Virtualmin is a web hosting and cloud computing control panel. A hosting control panel is a web-based application that runs on a server and manages all the aspects of a hosting account. This includes account information, websites, web servers, databases, mail servers, and all the other services which ultimately work together to allow you to […]
Never* Use Arrays
Arrays are a core feature of the PHP language, and so easy to use many developers don’t go beyond them. Fixating on arrays as the uber-data structure, while tempting, can rapidly lead to unmaintainable, unreadable code. Let’s look at better options and just how accessible those options are.
Object-Oriented Programming: A Primer, Part Two
The first article in this series, found in the November 2019 issue, focused on the “what” in object-oriented programming; that is, fundamental concepts and related features offered by PHP and what those features do. While this article does a bit more of the same, it focuses more on the “how” of object-oriented programming, particularly principles which guide how you use these features to build out your applications.
Object Oriented Programming, PHP 7.4, CPP extensions with Lochemem Bruno Michael, and Dependency Injection
In Episode 26 Just before the Thanksgiving holidays in the United States, we reviewed the November 2019 issue “Object Orientation.” Topics Evolution of object-oriented programing in PHP and understanding how to use objects effectively. Avoiding career stagnation and networking at conferences and user groups. PHP 7.4’s release and what features we’re looking forwards to. Eric […]