Monthly Archives: October 2014

Magento 2 Test Automation – is it Helping? YES!

Alan Kent's Blog

Magento 2 is more than a revamped platform – automating testing has also been a significant investment. But is it paying off? Is test automation worth the effort? YES! Here is the data to prove it.

Disclaimer: opinions expressed here are my own and not necessarily that of my employer. Please also note the data shown here has not been verified. Since this is not an official eBay communication I also removed absolute numbers – it’s the trend lines that matter anyway.

Development Practices

In a previous post I described the types of testing being employed on Magento 2. The team has continued to invest in a range of test cases for the different areas. The work is by no means complete or up to what the team believes is a satisfactory level. But the coverage has been improving, enough to see substantive benefits as a result.

Internally development…

View original post 863 more words

Understanding Magento Observers

Chimen, Magento Ecommerce Dev Team, Vietnam - Singapore

Magento has a pretty well implemented Event/Observer system, but before we dive into the specifics, let’s make sure that we have a clear understanding of the design patterns that are in play in the Magento application.

Specifically, lets’ talk about the concept of the event system, how it works and what it is. Though we’ve covered certain design patterns in other articles on Tuts+, we haven’t done so within the context of Magento.

To that end, let’s take a look at the pattern in order to gain a clear understanding of how it is, how it works, and how it’s beneficial.

Over the years a wide array of design patterns have been dveloped. But what is a design pattern exactly?

To quote Wikpedia:

“In software engineering, a design pattern is a general reusable solution to a commonly occurring problem within a given context in software…

View original post 711 more words

A Thought Experiment – Super-Scaling Magento

Alan Kent's Blog

SuperSizeMeThis post is a thought experiment on how to super-scale Magento. That is, how do you design a system to be able to scale in multiple order of magnitude increments. Because this is a thought experiment, I am not going to worry about minor details like how much effort to implement the solution or how much all the hardware would cost.

Before going too far, it is important to remember that there are many different dimensions that can be scaled: number of products, number of variations, number of concurrent users, number of price rules, number of concurrent administrators, and more. For Magento, it is also important to remember that no two sites are the same.  Different extensions may be installed, the HTML and CSS is likely to be adjusted to give the site its own look and feel, etc. So there is not a single rule of “do this and…

View original post 3,682 more words