Make Magento 2 & Docker on MacOS faster with docker-sync
Joaquín Ruiz - 12th June 2019
Docker on MacOS for development have serious performance problems, especially working with Magento 2 & Docker, why? On Linux systems, Docker directly leverages the kernel of the host system, and file system mounts are native. On Windows and Mac, it’s slightly different. They do not provide a Linux Kernel, so Docker starts a virtual machine […]
What Is ads.txt? How Does It Work?
Joaquín Ruiz - 29th May 2019
ads.txt (Authorized Digital Sellers) is an Interactive Advertising Bureau initiative that uses a file (in the root directory of the domain) to list all the companies authorized to sell online advertising on that website. This is designed to allow online shoppers to check the validity of online advertising sellers to prevent Internet fraud. Which is […]
WordPress Login 2019 or How To Keep Your Site Safe
Joaquín Ruiz - 13th May 2019
Starting a blog, eCommerce, or online business site requires an upfront investment with hosting, themes, plugins, and website development. And sometimes we forget to make our site safe. Today we are going to learn how to protect the WordPress Login, the most dangerous part of our platform. The most important element we need to protect […]
How to set up Docker for Sylius projects
Joaquín Ruiz - 21st April 2019
Why using Docker for Sylius projects? I used to develop my projects locally, installing all the dependencies and managing all the configuration myself… That’s OK when you code only under one framework, one technology. But then you want to upgrade your OS (Scary time for Mac OS users right?) The Docker platform is the only […]
How to Display Popular Posts by Views in WordPress
Joaquín Ruiz - 21st February 2019
It is very easy to display WordPress posts ordered by date, by name… But you might need to order or display them by views. How to do that? It is easier than you think. You just need to do three things: to create a post_meta called for example “joki_post_views_count” increase this post_meta when someone visit […]
The Importance of JSON in web development
Joaquín Ruiz - 15th February 2019
How to run Magento 2 from a sub-directory
Joaquín Ruiz - 4th February 2019
Imagine you need to run a Magento 2 installation from a sub-directory, using Nginx, but you don’t have ownership of the main site, just the sub-directory. So we are not talking here about store view codes, redirect loops etc, we are talking about this: Server 1 : www.website.domain /shop/ -> IP Server 2Server 2 : […]
WordCamp Zaragoza 2019
Joaquín Ruiz - 28th January 2019
Last weekend was the second edition of the WordCamp Zaragoza. In this edition I participated as Speaker, like I did in the 2018 edition. A WordCamp is a conference that focuses on everything about WordPress. The talk: This year (2019) I talked about how to identify if you have a good website, or you have […]
Import customers with hashed passwords into Magento 2
Joaquín Ruiz - 23rd August 2018
Whether you are migrating your site from Magento 1, or from another platform, like WordPress, Prestashop, Symfony... you likely have a customer database you are interested in migrating to your new Magento 2 site. Once you have imported customers to Magento 2 with personal data, hashed passwords, addresses, etc.. If you have not taken into account the change of the Magento 2 encryption in passwords, you will face problems.
MageTitans España 2018. The UI Component… Ally or Enemy?
Joaquín Ruiz - 4th July 2018
On June the 29th, I gave a presentation at the MageTitans España 2018, in Valencia, about the UI Components. The Magento 2 UI Components are considered by a large part of the Magento community to be one of the most painful (new) features of Magento 2.
WordCamp Zaragoza 2018 – My experience as a speaker
Joaquín Ruiz - 14th January 2018
I spoke at the WordCamp Zaragoza 2018 about the plugins and the WordPress.org official repository. If you couldn't attend my presentation, you can review it here! :D
The step-by-step guide to set up PhpStorm for Magento 2
Joaquín Ruiz - 24th May 2017
Magento 2 is a complex platform/framework, therefore we need to use all of the tools we have to help us to develop Magento properly. I present you The step-by-step guide to set up PhpStorm for Magento 2 to help the developers to develop properly Magento 2 projects by following 4 easy steps.
Magento – show empty grouped products
Joaquín Ruiz - 19th December 2016
Magento doesn't show in the catalog view empty grouped products. In other words, Grouped products with no associated products. I'm showing how to show empty grouped products by removing the price index from the catalog query.
Running Cron Jobs in Magento 2
Joaquín Ruiz - 16th September 2016
Running Cron Jobs in Magento 2 can be very useful to automate repetitive tasks. A cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date.
Update WordPress without FTP
Joaquín Ruiz - 27th August 2016
In some cases, WordPress asks you for your FTP details when trying to update the core or the plugins. This is a common issue whereby the WordPress system can’t write to your /wp-content folder. This post shows you How to Update WordPress Automatically Without Using FTP.
Magento Left Join on Attribute filters with EAV tables
Joaquín Ruiz - 2nd August 2016
One of the most used method when developing Magento (both 1 and 2) is to filter collections, by attributes or fields. But sometimes, when working with multiple models and complex queries, we need to identify how to make in Magento Left Join on Attribute filters with EAV tables. addAttributeToFilter is a method that can be […]
Cleaning Magento before going live
Joaquín Ruiz - 6th June 2016
Cleaning Magento before going live is something you must do before going live in your production server. Magento 1.9 database structure is hard to understand, therefore if you don't do this cleaning properly, you may end up with integrity database problems.
Magento Timezones and Timestamps
Joaquín Ruiz - 29th April 2016
Understanding Magento Timezones is essential and very useful. Did you know that all of the dates in your Magento are stored using UTC? You should know that your store times may be wrong for half of the year as the time-zone switches between GMT to BST or DST.
Working with Magento product attributes programmatically
Joaquín Ruiz - 5th April 2016
Magento Product attributes are one of the most powerful features in Magento. With this guide you will understand how Magento Product Attributes work within the EAV Model of Magento. And you will learn how to create and work with them.
Solid Principles and PHP
Joaquín Ruiz - 8th December 2015
The SOLID principles, five agile principles that should guide you every time you write code. The principles, when applied together, intend to make it more likely that a programmer will create a system that is easy to maintainand extend over time. This guide will help you to adapt them to PHP and make your code better and your life as programmers much easier.
Best PHP Frameworks for 2015
Joaquín Ruiz - 24th October 2015
Using a framework also facilitates scalability and long-term maintenance by complying with development standards. It keeps your code organized. And it also allows your application to evolve and grow over time. But which are the best php frameworks? This guide will help you to choose one.
PHP Design Patterns
Joaquín Ruiz - 28th April 2015
PHP design patterns are solutions to software design problems you find again and again in real-world application development. This guide introduces the, in my opinion, most common Design Patterns used in PHP.
Security tips for Web Services
Joaquín Ruiz - 21st January 2015
A Web service is a method of communication between two electronic devices over a network. I explain the main security problems and I present some technologies and mechanisms to ensure safety in your Web Services.
PHP best practices guide
Joaquín Ruiz - 29th December 2014
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. I present this guide with 15 good practices, so that your PHP code is as effective as possible.
4 Plugins to improve your WordPress Admin
Joaquín Ruiz - 13th December 2014
WordPress is one of the most popular Content Management Software (CMS) systems out there. It's relatively easy to use, but can be made even simpler when you include a modular and ordered administration panel for users.