Magento 2 Configuring multi-store local

Today I needed to create a multi-store quickly and in my local, in this same case just to test in Magento 1 we used to change the $mageRunCode and $mageRunType direct in the index.php to test something quickly in our local environment without using the right customization in the .htaccess or httpd.conf. In Magento 2 to test quickly you can use that code changing your index.php:

»
Author's profile picture Rafael Corrêa Gomes on magento2

Magento 1.9 vs Magento 2 differences?

The major part of the developers that I know don’t know how to explain or list the main tech differences out of the pattern like PHP 7 support or LESS native. So I’m listing these great differences that you need to know to explain to your client why to migrate, using a technical perspective.

»
Author's profile picture Rafael Corrêa Gomes on magento2

8 habits to become a better software engineer

I’ve read some weeks ago an interesting topic at the Quora, it’s a question about how to become a better software engineer. I liked the answers and I guess that it will be useful to improve your techniques of development your skills with these 8 habits to become a better software engineer.

»
Author's profile picture Rafael Corrêa Gomes on career

Highlights of Magento 2.1.6

Today the new version of the Magento 2 was launched, with this release includes important performance enhancements, especially for operations that involve the category page as well as image resizing.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Best Magento API method for Apps

What’s the best Magento API method to communicate with your apps Android, iOS and SPA (Single Page Application)? Normally the options are SOAP, REST, create a custom module with JSON response or Magento 1 default mobile apps using XML Connection. Then the workflow necessary is to use authentication, to be fast to data fetch and fast to develop.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Deploying Magento 2 with Redis on Platform.sh

At 5 weeks ago I a friend showed me a new method to host Magento using a PAAS platform, the infra technical knowledge and commands used are less required to you be more productive focusing in your application, so this solution will fix your issues related to infrastructure optimizing your workflow. Using my technical overview I see like the best feature the configurable micro-container architecture, Platform.sh uses it to run each system component, such as the web server, a PHP application, a database, or a search-engine. Like I’m working in many Magento 2 projects recently I resolve to write this article explaining how to configure your Magento 2 + Redis + Platform.sh.

»
Author's profile picture Rafael Corrêa Gomes on magento2

2 New features of Magerun

I’m with fewer projects with Magento 1 at the lasted months, but when I saw this new tool I thinked “I need use this to improve my workflow”. It’s a Magerun plugin created by Hypernode that was updated and on this new version have two exciting features that will check if you have any module outdated installed, so show the most updated version, and check if you need to apply some official security patch all on your terminal using the CLI.

»
Author's profile picture Rafael Corrêa Gomes on magerun

Magento 2 Create the Contact page on CMS

Normally the Magento 2 has the contact page on the URL www.your-store.com/contact, but if you want to change the URL or change the page using the CMS will be necessary create the CMS page and implement this script bellow to call the form. When you created the page will necessary change the view method on the Content tab clicking Show / Hide Editor and paste this code below using two tags { on start and finish.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Magento 2 Compiling on server or client side? (Pros and Cons)

What’s the better way, Server or Client side? I had this question for many time, and I after learn I forgot all points when the other developers have asked me about. So I decided to list all on this simple list below, and adding the Local Compilation too. A disclaimer, I ever use server-side compilation on admin panel and local compilation on my local environment. ;)

»
Author's profile picture Rafael Corrêa Gomes on magento2

Install Magento 2 on Docker to development

Since when I start to work with Docker I had some challenges to adjust for to be a better environment to develop and to be replicable with my team that works with multiple platforms like MacOS, Windows and Linux. I’m trying to change the process for to be more practical and faster in every update, I’m open to suggestion and waiting for your Pull-Request.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Magento 2 Enterprise vs Community Edition differences

With this new version come new doubts, what are the differences between these two, it’s a constant question in sales what are the benefits included to the client and the most difficult is explain fast, so I have listed and I hope to help you in your next sales.

»
Author's profile picture Rafael Corrêa Gomes on magento2

API Differences - Magento 2 Enterprise vs Community Edition

In a REST call, a user could potentially specify one ID in the URL and another in the request body. Whenever this type of conflict occurs, Magento uses the value specified in the URL.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Connect PHPStorm with Docker on Mac, Windows and Linux

Docker is an open platform for building, shipping and running distributed applications. It gives programmers, development teams and operations engineers the common toolbox they need to take advantage of the distributed and networked nature of modern applications.

»
Author's profile picture Rafael Corrêa Gomes on docker

Install Docker on Windows

Docker is a full development platform for creating containerized apps, and Docker for Windows is the best way to get started with Docker on Windows systems. The installation provides Docker Engine, Docker CLI client, Docker Compose, and Docker Machine.

»
Author's profile picture Rafael Corrêa Gomes on docker

Install Docker on Mac

Docker is a full development platform for creating containerized apps, and Docker for Mac is the best way to get started with Docker on a Mac. Docker for Mac requires OS X El Capitan 10.11 or newer macOS release running on a 2010 or newer Mac, with Intel’s hardware support for MMU virtualization. The app will run on 10.10.3 Yosemite, but with limited support.

»
Author's profile picture Rafael Corrêa Gomes on docker

Magento 2: Display custom attribute in catalog list products

This customization is very common in creating a theme for Magento 2, and several developers use more complex paths that are not required to achieve the same result. This step-by-step will help you in 5 simple steps.

»
Author's profile picture Rafael Corrêa Gomes on magento

Top Contribution Awards 2016 Magento Partners

Very good is the recognition for a job well done. I was surprised by the award, we were honored to win “spirit of excellence” in the first year of independence from Magento Inc.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Magento Imagine 2016 Highlights

For those who could not go on Imagine 2016 like me, these are the main news given. I thought it interesting to come by as an overview, an event that left them eager Magento professionals mainly for having recently launched its new version Magento 2.

»
Author's profile picture Rafael Corrêa Gomes on magento

New PhpStorm Magento 2 Plugin

Use the PhpStorm a few years, but one thing that always displeased me was he not opensource, I understand the value it has and I agree. But this limits developers who can contribiur and make it even better. Today I am already using this new plugin, I am willing to contribute to make it increasingly stronger. For developers who have interested in contributing to my extension Magento Magento 1 and 2 to Brackets, VSCode and Atom, follow the link:

»
Author's profile picture Rafael Corrêa Gomes on news and mangento2

Por que decidi escrever em inglês?

Minha necessidade de praticar inglês foi me fazendo pensar em tudo no meu dia que poderia mudar para inglês, nisso veio a idéia do blog em inglês sem deixar de publicar em português claro, na minha idéia inicial eu faria os posts em português e assim que possível faria em inglês, mas o tempo não deixava nunca e então resolvi inverter (fazendo inglês e depois convertendo para o português).

»
Author's profile picture Rafael Corrêa Gomes on news

Feel the Power of the Cloud - Magento Enterprise Cloud Edition.

Today the Magento Imagine was officially launched Magento Enterprise Cloud Edition, but what it is?

»
Author's profile picture Rafael Corrêa Gomes on magento2

Parábola do Velho Lenhador

Certa vez, um velho lenhador, conhecido por sempre vencer os torneios que participava, foi desafiado por um outro lenhador jovem e forte para uma disputa. A competição chamou a atenção de todos os moradores da localidade. Muitos acreditavam que finalmente o velho perderia a condição de campeão dos lenhadores, em função da grande vantagem física do jovem desafiante.

»
Author's profile picture Rafael Corrêa Gomes on career

Novas funcionalidades no Magento 2.0

Magento 2.0 foi oficialmente anunciado em 2010, quando Yoav Kutner, co-fundador e CTO Magento, disse que ‘finalmente, a plataforma Magento é madura suficiente para se exigir uma nova versão’.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Parábola da Formiga Desmotivada

Resolvi postar essa famosa parábola seguida de meu ponto de vista por já ter passado por isso no inicio da minha carreira profissional, acredito que todos já passaram por isso e iram se identificar com a história da formiga que foi demitida por estar desmotivada.

»
Author's profile picture Rafael Corrêa Gomes on career

Extensão Brackets Magento 2 Hint

Olá Developers, faz algum tempo que comecei a desenvolver uma loja internacional em Magento 2 na empresa em que trabalho, percebi logo de cara a diferença que faz saber alguns comando de cabeça assim como sei do Magento 1, então lembrei de uma extensão que tinha feito para Brackets, revi o código e resolvi colocar em prática o desenvolvimento de uma versão semelhante para o Magento 2, assim ajudaria a equipe de desenvolvimento da empresa e também a comunidade. Comecei inspecionar o código no sábado e no domingo (28) planejei e desenvolvi a versão 0.1 que está no ar hoje.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Magento 2 - Mudando tempo de sessão no admin

O tempo da sessão no Magento 2 vem setado por padrão 900 segundos (15 minutos), vamos mudar para o valor padrão antigo do Magento 1 que são 86400 segundos (24 horas).

»
Author's profile picture Rafael Corrêa Gomes on magento2

Migrando para Magento 2: Criando um planejamento

Magento 2 foi finalmente lançado em novembro no ano passado, depois de uma longa espera. Aparentemente, a espera valeu a pena, porque a nova versão do Magento parece ser construído sobre uma arquitetura completamente diferente e é muito mais otimizado, rápido e fácil de usar. Se você está planejando construir uma nova loja Magento, é certeza que você deve usar 2 Magento para seu novo projeto de Magento.

»
Author's profile picture Rafael Corrêa Gomes on magento2

Por que escolhi Jekyll?

Assim que pensei em mudar de plataforma encontrei várias dúvidas, pesquisando com outros dev’s cheguei a conclusão que não era o único.

»
Author's profile picture Rafael Corrêa Gomes on news