Posts list

Magento 1. Creating a module. Part 4. Adding a table to the database for our module

In this article we will create a table for our module.

June 18, 2017 25 Yehor Rykhnov MagentoeCommercemagento start

Install composer globally for Linux/Unix/OSX

A simple example of a quick installation of the composer dependency manager for UNIX-like operating systems.

June 13, 2017 20 Yehor Rykhnov ConsoleLinuxUbuntuInstallComposer

Installing Composer on Windows

Short description Composer. And the installation instructions for Composer on Windows.

June 13, 2017 29 Yehor Rykhnov WindowsPHPComposerСonsole

Add the composer to the application on Yii

Composer (the dependency manager for PHP) is already pretty tightly integrated into the programmer's daily work, which is understandable, because it simplifies the installation of various extensions for your project.

In Yii2, the composer dependency manager helps not only to add extensions, but also to install the Yii2 Framework itself, but it is often necessary to work with the project (projects) of the earlier version of Yii, namely on Yii1, and it happens that the composer is very lacking, because You can add the required extension or dependency package by running one command.

The article will describe how to add a composer to Yii1 and not just to add the composer, but to make it work. Let's start ...

June 13, 2017 26 Yehor Rykhnov Yii FrameworkComposer

Yii2. Working with multiple databases

A simple example of working with several databases in Yii framework 2.

June 12, 2017 33 Yehor Rykhnov Yii Framework 2yii2Database

Vagrant PHP Yii2 or how not to bother with the peculiarities of its OS to customize the development environment

A little bit about Vagrant. For me, the most convenient operating system for PHP development is Ubuntu. Here all the software is free, easy to configure, lots of documentation, etc. But if you have to work with other OSes (Windows, Mac, etc.) sometimes, you encounter problems installing one or another module or plugin for PHP. Vagrant helps a lot to get around this rake the tenth way. How it is done and what advantages Vagrant has - read in the article. We will install Vagrant for development on PHP and install Vagrant to work with Yii2 advanced.

June 10, 2017 28 Yehor Rykhnov Yii Framework 2yii2PHPVagrant

Magento 1. Installation

In this article, we will install Magento using the composer.

June 4, 2017 14 Yehor Rykhnov MagentoeCommercemagento start

Working with PDO in PHP

Functions mysql in PHP to work with the database has long been obsolete, for today it is desirable to use mysqli or PDO (PHP Data Objects).

In addition, PDO supports a large number of different types of databases, such as: MySQL, PostgreSQL, SQLite, Oracle, Firebird, etc. And so let's figure out how to work with PDO, consider the most frequently used queries.

May 31, 2017 14 Yehor Rykhnov PHPPDODatabase

Magento 1. Creating a module. Part 2. Create configuration files for our module

In this article, we'll look at the minimal settings in the configuration files of our module.

May 22, 2017 16 Yehor Rykhnov MagentoeCommercemagento start

Magento 1. Creating a module. Part 1. A bit of theory

Create a module for Magento 1. In this part, in a nutshell about the architecture and configuration of Magento.

May 21, 2017 8 Yehor Rykhnov MagentoeCommercemagento start