In this article, Leonardo explains how to use a “multi-monorepo” approach for making the development experience faster, yet keeping your PHP packages private. This solution can be especially beneficial for PRO plugin creators.
Read more…
The Laravel-powered October CMS enables to extend the functionality of the application through the use of plugins. In this article, Leonardo Losoviz will do a tour around October CMS: You will first see how to install it, then check some of its coding and usability features in a bit more detail, and finally get your hands dirty implementing an e-commerce website through one of its most popular plugins, Shopaholic.
Read more…
If you like writing object-oriented and easy-to-read code, then this article is for you. You’ll learn how to write your own plugin and why October may be a good choice for your next project. Today, Andriy Haydash aims to give you an overview of what to expect from the platform and give you a taste of it before you decide to commit to using it. Don’t be afraid to create a custom plugin for your project if you can’t find an existing one that fits your needs.
Read more…
Many people are currently looking for alternatives to WordPress. In this article, Leonardo Losoviz compares WordPress to the arguably similar yet more modern October CMS on a wide arrange of both technical and non-technical topics, by exposing the important concerns that need to be kept in mind when looking for a suitable CMS for your projects. The goal of the article is not to convince people to stick to WordPress or to switch to October CMS, but simply to demonstrate what aspects must be taken into account before concluding the move to a different platform. The same comparison could (and should) also be done with other platforms before making a sensible decision.
Read more…
WordPress is modernizing, allowing us to rethink how to make the most out of newer tools and technologies. In this article, Leonardo Losoviz explains how you can integrate WordPress with Composer, Packagist, and WPackagist in order to produce better code. He will review two projects which provide an integration between WordPress and Composer: manually setting our composer.json file depending on John P. Bloch’s mirror of WordPress’ core, and Bedrock by Roots.
Read more…
Due to backwards compatibility, WordPress hasn’t taken advantage of new PHP features released after PHP 5.2.4. Fortunately, WordPress will soon require PHP 5.6+ and even PHP 7.0+ not long after that. The recent release of Gutenberg could be a sign of the good times to come. In this article, Leonardo Losoviz makes a tour of the PHP features newly-available to WordPress, and attempts to suggest how these can be used to produce better software.
Read more…
The most important step anyone can take to make sure that a site is secure is to keep in mind that no single process or method is sufficient to ensure nothing bad happens. WordPress itself provides a sizable library of functions, some of which can be dangerous. Beyond that, there are lots of PHP functions that a WordPress (PHP) developer will use with some frequency that can be dangerous when used. Before deploying a new plugin in WordPress, it’s a good idea to keep a list of easy-to-misuse functions by your side. In this article, David Hayes will take a closer look at some functions which you can and should use as part of a broader security strategy.
Read more…
You really don’t want to spend hours manually testing every part of your WordPress plugin to ensure nothing is broken every time you deploy a new version — do you? In this tutorial Collins Agbonghama will teach you how to test efficiently with automated testing, and help you recognize the importance of writing tests and how to start writing one for your own WordPress plugin.
Read more…
Today, Rachel Andrew will be taking a look at how to build a simple yet robust workflow for developing sites that require PHP and MySQL. She’lI also demonstrate a process for using a hosted service to deploy files in a robust way to your live server. By the end of this article, you should be in a position to develop one or many sites locally, using a setup similar to how the site will run on the live server. You will deploy in the confidence that what ends up on the live server is exactly what should be on that server — no more, no less. Once you understand this type of workflow, you can explore how to streamline it further, making time to do more interesting things than fight with servers and hosting!
Read more…
The PHP community is big. A lot of best practices have been learned over the years. The bigger the codebase, the harder it is to keep track of all the working parts and their relationship to one another. And you can add to that the limitations imposed by working in an antiquated version of PHP, 5.2. It’s good to always look beyond the walled garden of WordPress to look for answers. With autoloading and a plugin container we are one step closer to better code. In this article Nico Amarilla will explore an alternative way of developing WordPress plugins, using the lessons learned from the greater PHP community, the world outside WordPress.
Read more…