Magento 2

Routing in Magento 2

Routing in Magento 2

We can say that routing in Magento is one of the most important parts. Complete application (Magento 2) flow depends on processing URL request and router classes which are responsible for matching and processing that requests. This article covers routers flow in Magento 2 and analyses some routers that come with default installation. Also it will be shown how to create one custom router. It will be mentioned how routers match action (Controller class), and more info about Controllers will be covered in a separated article.

Read more

Magento 2 Luma Theme Under The Scope

Magento 2 Luma Theme Under The Scope

Magento 2 brings new default theme under the name “Luma”. Luma is a very clean, easy on the eyes and elegant theme that has adopted better usability practices than it’s predecessor, Magento 1 default “Madison Island” theme.

In this blog post I’ve prepared an overview of the main differences between these two themes and the crucial UX issues that were found in Beta version of Luma theme. As Magento 2 is still in the development phase, this article will be updated when some major changes occur.

Read more

Talking Merchant: migrating to Magento 2

Talking Merchant: migrating to Magento 2

Delivering a top notch web shop is never easy.

Factors such as requirements or desires (because, there is a difference!) accompanied with resources, experience and dedication make for the challenge of creation. Choosing the right partner now, thanks to Magento, comes with a new set of factors which should be looked after. All of them are connected with Magento’s new baby – Magento 2.

Since we’ve seen a lot of questions connected with the before mentioned factors (probably due to the fact that Magento officially published the date of Magento 2 release and we are talking about 15th of November now), we’ve decided to tone down the tension with telling you all about “what to expect when you’re expecting”.

Read more

MageMeter – a new way to present and share Magento performance benchmarks

MageMeter – a new way to present and share Magento performance benchmarks

When Marko Martinović started working at Inchoo, we asked him what he likes to do in his free time. Enthusiastically enough, he replied: ”I write some code.” That was a bit over two years ago. He has been a member of the Inchoo family since April 2013 and today, we talked about his new project – MageMeter. All that ”I write some code.” wasn’t only talk, he made a catalog of Magento and Magento2 benchmarks metered using official Performance Toolkit.

We couldn’t restrain ourselves from asking a few questions and getting more info on the subject.

Read more

Implementing payment gateway in Magento 2

Implementing payment gateway in Magento 2

This is a revised article originally written in September 2014 when I started to play with Magento 2 for the first time. Since there were a lot of changes in Magento 2, this article also needed some refreshment. We will glance over the backend, and proceed with the development of a simple module. For this task, I picked up the payment gateway API integration. This relatively simple task will help us demonstrate some key changes in Magento 2.

More precisely, we will be focusing on implementation of Stripe payment gateway. Even though Stripe has a rich set of features, here we will be focusing only on most basic functionalities to get you started with Magento 2 extension development.

Read more

Basics of dependency injection and its usage in Magento 2

Basics of dependency injection and its usage in Magento 2

One of the biggest changes in Magento 2 is the usage of dependency injection design pattern. With this pattern, a lot has been changed inside codebase, and many new things have been introduced. In this article, I will try to explain the very basics of this design pattern, and its implementation in Magento 2 to help those who are beginners in the field of dependency injection.

Read more

Magento 2 frontend architecture

Magento 2 Logo

Although still in development phase, Magento 2 comes with a distinctive set of changed/improved frontend approaches compared to its predecessor Magento 1.X. The big difference is that frontend is now updated with newer technologies such as HTML5, CSS3 and jQuery.

There are also significant changes/improvements to overall layout manipulation, file structure and a brand new introduction to Magento UI library heavily based on LESS preprocessor with built in compiler.

One of the main goals besides performance and scalability was to serve RWD out of the box. In this article I’ll try to cover some of the main differences, dive into development and demonstrate some practical examples.

Read more