Magento 1.8 Development Cookbook

Magento 1.8 Development Cookbook

Language: English

Pages: 274

ISBN: 1782163328

Format: PDF / Kindle (mobi) / ePub


Over 70 recipes to learn Magento development from scratch

About This Book

  • Customize the look and feel of your Magento shop
  • Work on theming, catalog configuration, module, and database development
  • Create modules to modify or extend Magento's standard behaviour

Who This Book Is For

If you are a developer with minor PHP knowledge and you want to start with Magento development, this book is for you. With its specially tailored recipes, we will guide you from simple development in Magento to the more advanced stuff. Even if you are an experienced Magento developer, some recipes in this book will interest you. The other recipes will serve as a good reference to look at.

What You Will Learn

  • Install Magento on a custom webserver
  • Add your own touch to a Magento store with a custom theme
  • Speed up your store with some performance tools
  • Customize and extend backend functionality with forms, grids, and more
  • Build your own shipping module
  • Manage the display of your products
  • Understand database design patterns

In Detail

Magento is an open source e-commerce platform which has all the functionality to function from small to large online stores. Its architecture makes it possible to extend the functionalities with plugins where a lot of them are shared by the community. This is the reason why the platform is liked by developers and retailers.

A practical developer guide packed with recipes that cover all the parts of Magento development. The recipes will start with the simple development exercises and get the more advanced as the book progresses. A good reference for every Magento developer!

This book starts with the basics. The first thing is to create a test environment. Next, the architecture, tools, files and other basics are described to make you ready for the real work.

The real work starts with the simple things like theming and catalog configuration. When you are familiar with this, we will move on to more complex features such as module and database development. When you have survived this, we will move on to the last part of making a shop ready for launch: performance optimization and testing. This book will guide you through all the development phases of Magento, covering the most common pitfalls through its recipes.

OpenStack Operations Guide: Set Up and Manage Your OpenStack Cloud

UNIX Operating System: The Development Tutorial via UNIX Kernel Services

Tales from Facebook

CWDP Certified Wireless Design Professional Official Study Guide (Exam PW0-250)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Setting up the Master database 1. Log in to the server with SSH and open the /etc/mysql/my.cnf file. 2. Look for the bind-address section in the file and comment it out. By commenting this, you make it possible to make connections from different servers: #bind-address = 127.0.0.1 3. Paste the following code in the my.cnf file under the [mysqld] section: server-id = 1 log_bin = /var/log/mysql/mysql-bin.log expire_logs_days = 10 max_binlog_size = 100M binlog_do_db = magento_dev 4. Restart

following folders: ‰‰ app/code/local/Packt/ ‰‰ app/code/local/Packt/Shipme/ ‰‰ app/code/local/Packt/Shipme/etc/ ‰‰ app/code/local/Packt/Shipme/Model/ ‰‰ app/code/local/Packt/Shipme/Model/Carrier 2. Create the module file named Packt_Shipme.xml in the folder app/etc/modules with the following content: true local 3.

create in this recipe. We will create all the required files to initialize a new module that can be used for the creation of a widget. Getting ready Open your code editor and prepare yourselves to create a new module called Packt_Productslider. How to do it... When you perform the following steps, you will create an empty Packt_Productslider module: 1. Create the following folders for the module: ‰‰ app/code/local/ ‰‰ app/code/local/Packt/ ‰‰ app/code/local/Packt/Productslider/ ‰‰

this file: Category product slider Displays the products for a given category in a slider widget 3. Clear your cache and check whether the configuration works. 4. At the backend, navigate to CMS | Widgets, click on the Add New Widget Instance button, and confirm that the widget is in the list, as shown in the

following command in the terminal: sudo apt-get install git How to do it... The following steps show you how you can add the Magento code to the version control system Git: 1. We have to initialize the Git repository. To do this, navigate to the source folder and enter the following command: git init 15 Getting Started with Magento 2. Run the following command and you will see that all the files are marked as untracked: git status In the next steps, we will add the other folders to the

Download sample

Download

About admin