The recipe for a good Data Model on Magento 2 - Part 1

3/22/2018 - #development #ecommerce #magento

by: Kévin Weyhaupt

The menu today : realise a good data model for your future projects on Magento 2, eventhough this is not French cuisine, we wanted to offer you our recipe. 

As a recipe, there will be different steps to realise and here is the list of ingredients and preparation to make :

  • Part 1 : preparing the main ingredients
  • Part 2 : adding flavour
  • Part 3 the Chef’s secret

Read more

The recipe for a good Data Model on Magento 2 - Part 2

3/22/2018 - #development #ecommerce #magento

by: Kévin Weyhaupt

Part 2 : Adding Flavour

At the moment we only have the business-class-model part, we need to add the relation with our datas. To do so, we will create our “resource models”. The resource models enable to link our models with the data base. Here the classes inherite from AbstractDb in order to accomplish some operations before or after different actions on the database, for instance « after/beforeDelete», « after/beforeSave » but above all to define in the constructor the table and the primary key related to our object using the “_init” method.

Read more

The recipe for a good Data Model on Magento 2 - Part 3

3/22/2018 - #development #ecommerce #magento

by: Kévin Weyhaupt

Part 3 : The chef's touch

The entity manager is available since version 2.1 of Magento. First and foremost I have to bring to your attention that since version 2.2, its use is not recommended by Magento anymore, here is what the framework says about the class “EntityManager” :
“It is not recommended to use the EntityManager and its infrastructure for the Persistence Entities. In the next version a new “PersistenceEntity Manager” will be created in order to cover the needs of the persistence with the API requests for the reading of the datas.”

Read more

The Incredible Gulp !

10/13/2017 - #development

by: Régis Grutter

The front-end web projects are usually highly complex lifelong adventures. They are sprouting with time and reflection to get fully developed. Before reaching this state of a ripeness fruit, front-end projects last in a fuzzy draft condition.

 

 

Read more

Create Custom Logs in Magento 2

8/31/2017 - #development #extensions #magento

by: Thomas Klein

In Magento 1, there were many log files to separate different logs (for payment methods, etc.) and it was easy to change the target log file just by changing the $file parameter of Mage::log. But Magento 2 has changed to build their logs with Monolog library. 

In this article we will discover how the logging system in Magento 2 is different compared to Magento 1, how it works and how could we reclaim it and make custom log files.

Read more

ACM contest

5/3/2017 - #Agency life


To celebrate his second birthday, Blackbird offers a free ACM license for Magento 1 or 2 to one of the customers of May.

A random draw will be done at Blackbird agency on June 16th, 2017 among all the people who have purchased the extension between 01/05/2017 and 31/05/2017.

You can find the detailed rules of the contest here below:

Read more

1-10 of 24

Page:
  1. 1
  2. 2
  3. 3

Ready
for take-off?

Blackbird is a web agency specialized in the development of eCommerce websites. We are Magento Experts and we offer our services and advice for e-marketing, strategy, branding, deployment and methodology.

Contact
+339 50 66 21 38


Legal terms
Agency 30, Avenue du Rhin
67100 Strasbourg
France
SEE MAP
FR - EN