A close encounter with PHP Xdebug
- Details
Xdebug is an extension for PHP to assist with debugging and development. It works based on the DBGP protocol. The magic of the debugging starts when the PHP development IDE (in my case VSCode) calls the Xdebug service, and it calls back to the client establishing the two-way channel. In most cases, the configuration between the IDE and Xdebug is solved with a few tweaks of both components. I have contributed to maintaining this page with the instructions to configure Visual Studio Code for Joomla and integrate it with Xdebug: Visual Studio Code. Besides all these notes, there is always one more twist. This week, on Wednesday afternoon, all the sudden Xdebug stopped working, and none of the usual suspects was the cause. If you face a similar issue, these are my notes about the process to find out why the IDE and Xdebug stopped working.
The Xdebug boot process is clearly shown in this graph:
Best practices riding Tailwind CSS
- Details
A lot is going on in the Tailwind CSS, if you want to catch on with the latest news and the success that the framework is having now, please, check Adam's post Tailwind CSS: From Side-Project Byproduct to Multi-Million Dollar Business.
This post is about the best practices that I'm currently applying to the development of templates based on Tailwind CSS. Tailwind CSS is a utility-first framework, powerful and expressive, but a lot has to be adapted down the line to have a final product.
My HOW-TO: Migrate PrestaShop from one server to another
- Details
Every time that I have to move a PrestaShop site, developing or supporting XT Search for Algolia, I face the same dilemma. I follow the steps recommended in the official Best Development Practices: How can I migrate my PrestaShop store to a new server? Still, after downloading the backup, restoring the files, restoring the database and configuring app/config/parameters.php I got redirected to the original domain!
The problem is simple, you restore the site, you test the new site and ...
Tailwind Update for Joomla: CSS Grid, Transitions, Components and more
- Details
Since the last post about Tailwind and Joomla, a world of improvements and new features! I've just released the new version of the template for Joomla v3.3.0 that includes the latest news anibalsanchez/XT-Tailwind-for-Joomla
Tailwind CSS has been growing exponentially, and the team behind the framework has been working restlessly. These are the latest news and updates included in the template for Joomla:
Page 3 of 12
Aníbal Sánchez
Versatile Software Engineer | Full-Stack Developer (PHP, Laravel, Java, Spring, Vue.js/Vite) | Data Science Enthusiast | Open Source Contributor | Tech Entrepreneur
- PHP-Prefixer / Product Manager
- PHP-Prefixer is an automated online service powered by a complex rule-based system that applies prefixes to Composer dependencies.
- Extly Tech / Team Leader
- Empower your project with our web solutions. Today, working on Laravel, Amazon AWS, and Ionic. A Joomla Volunteer.
- linkedin.com/in/anibalsanchez
- github.com/anibalsanchez
- @anibal_sanchez
- facebook/anibal.sanchez
- stackexchange/anibal