Magento is super easy to do product table !

You must understand what Magento does when it creates the MySQL tables of flat products. And you will soon find that, if you do not touch the parameterization of the attributes, you do not obtain at all the expected result !

Model EAV and flat catalog

What makes Magento flexible ? It is the management of its attributes by an EAV model. Each entity (product, customer, order, etc.) is composed of attributes (price, color, country, etc.) each of which has a value ("$ 100", "green" ...). As a site evolves quickly, we must be able to add or remove attributes to entities. The EAV (Entity Attributes Values) model is designed for this purpose, it allows to easily manage attributes and their values, without modifying the structure of the database and without writing a single line of code.
This is a huge advantage, but there is a size constraint : when Magento has to retrieve an entity (a product for example), it has to browse a large number of tables in the database to assemble the attribute values ​​and reconstitute information. When you need to display a category page with 50 products that each have 50 attributes, you quickly reach the tolerable limit. As the response time of a site is the number one criterion in the success of an e-commerce site, it was necessary to find an answer. Remember? Magento does it!

To speed up the read requests on the database, Magento will build new tables where each field (or column) will represent an attribute. And each record (or row) will represent the values ​​of the attributes of an entity. It's quick and easy ! This is the flat catalog !
In short, we first define the database structure via the back end (EAV) and then with the option flat catalog activated, Magento generates the corresponding database. It is simple and easy ! For any questions on the best ecommerce platform, contact Gentflow here !

PHP Development in Montreal: What Companies are Asking For

php montreal is a bustling city with a thriving economy. Many companies are looking for php developers, and they are willing to pay top dollar for the best talent. So what exactly are these companies asking for? In this blog post, we will take a look at some of the most common requirements that businesses are looking for in php developers. If you're considering a career in php development, this information will be very useful to you! First and foremost, companies want php developers who are [...]

The History of Crypto Mining: How Long Has It Been Around?

crypto mining has been around for a long time. In fact, the first crypto coins were mined back in 2009! Miners are responsible for verifying transactions on the blockchain and adding them to the public ledger. They are rewarded with crypto tokens for their efforts. In this blog post, we will take a look at the history of crypto mining and how it has evolved over the years. Crypto mining has come a long way since its inception in 2009. In the early days, miners used their computers to solve [...]

PHP Programming Services That Are in High Demand by Businesses

There are many php programming services that businesses require in order to run efficiently. However, there is one service in particular that is high in demand - web development. A php programmer who is skilled in web development can create dynamic and interactive websites for businesses. In this blog post, we will discuss the different types of php programming services that are in high demand by businesses. We will also provide tips on how to find a php programmer who specializes in the type [...]

webmypageup.com last publications

Web