Magento performance is a recurrent problem for all developers and store owners. But PHP 7 has been released and you should think about using it, benchmark is amazing!
Posts tagged ‘php’
A tip to disable flat tables on the fly in your Magento scripts.
Official documentation of Silex provides a lot of very useful examples to start a project. However, there is no complete example of setting up MySQL authentication. Here are the needed steps to accomplish that.
Sometimes you absolutely want your module to be installed after the default ones defined in Magento. You have propably tried to play with the dependencies between modules, but this has no impact on the prioritization of modules. Here is a little code snippet to keep Magento default installation and to install your module afterwards.
We have already seen in a previous post how to override a controller into Magento. This time I’ll show you how to create your own controller in admin panel in an efficiant way, because there are many solutions here and there but they do not always work and are sometimes obsolete. We will access our […]
With Magento, the stock of a product is not stored each time it’s changing. However, the stock may be modified in many ways (product ordered, canceled order, manual changes, imports, etc..) and it may be useful to know how and when the stock has changed. Here is a simple extension that saves over time the […]
When developing Magento modules, it is quite tedious to create packages for Magento Connect. That is why there are often modules that are not present in this one but available elsewhere, eg on GitHub. I will present here a very fast way to install Magento modules available on Git repositories through modgit tool.
In a Magento project, we have sometimes the desire to associate an image with attributes options of our products. This can be useful in the layered navigation to highlight a list of colors rather than text alone, or associate a logo with the brand of a product and display it in the product view. I […]
Caching data in Magento can have a significant impact on the performance of your site. Here’s how a few lines of code you can easily cache any data type.
Here is a sample code showing how to easily add your own configuration settings in Magento.