Getting Started with Magento Extension Development

This practical guide to building Magento modules from scratch takes you step-by-step through the whole process, from first principles to practical development. At the end of it you’ll have acquired expertise based on thorough understanding.

Getting Started with Magento Extension Development

Branko Ajzele

This practical guide to building Magento modules from scratch takes you step-by-step through the whole process, from first principles to practical development. At the end of it you’ll have acquired expertise based on thorough understanding.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$14.70
RRP $20.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$14.70
$34.99
$29.99p/m after trial
RRP $20.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781783280391
Paperback128 pages

Book Description

Modules, are a group of php and xml files meant to extend the system with new functionality, or override core system behavior. Most of the base Magento system is built using the module system, so you can see why they are an important feature for this rich open-source e-commerce solutions. This book explores key module development techniques and teaches you to modify, understand and structure your modules making it easy for you to get a strong foundation for clean and unobtrusive Magento module development.

Getting Started with Magento Extension Development is a practical, hands-on guide to building Magento modules from scratch. This book provides an in depth introduction and helps you discover features such as; blocks, controllers, models, configuration files, and other crucial elements which contribute to the Magento architecture. This book introduces the you to real-world modules and helps provide a strong foundation which you need to become a professional Magento module developer. The book further explores best practices and tips and tricks offering you the ultimate go to guide.

Getting Started with Magento Extension Development focuses on three areas. First you are guided through the entire Magento structure, where each important directory or file is explored in detail. Then the essence of the module structure and development is explained through the detailed coverage of models, blocks, controllers, configuration, and other files that manifest a single module. Finally, a detailed set of instructions is given for building four real-world modules, including a payment and shipping module.

Table of Contents

Chapter 1: An Overview of Magento Extensions
The root directory structure
Code pools
The theme system
Basic extension configuration
Controllers
Blocks
The model, resource, and collection
The event/observer pattern
Cron jobs
Helpers
System configuration options
Summary
Chapter 2: Building the Extension – Maximum Order Amount
Planning your extension
Registering your extension
Building the configuration options interface
Adding the business logic
Summary
Chapter 3: Building the Extension – Logger
Planning your extension
Registering your extension
Summary
Chapter 4: Building the Extension – Shipping
Shipping methods
Planning your extension
Registering your extension
Dissecting the existing shipping method
Defining your shipping method
Adding the business logic
Summary
Chapter 5: Building the Extension – Payment
Payment methods
Planning your extension
Registering your extension
Dissecting the existing payment method
Defining your payment method
Extension business logic
Summary
Chapter 6: Packaging and Publishing Your Extension
Magento Connect
Packaging your extension
Creating an extension profile
Uploading the extension package
Summary

What You Will Learn

  • Explore the module structure
  • Learn about Block classes, Model classes, and Controller classes
  • Get to grips with Configuration files
  • Understand the importance of Event/Observer programming
  • Learn CRON jobs
  • Discover the key module functionality

Authors

Table of Contents

Chapter 1: An Overview of Magento Extensions
The root directory structure
Code pools
The theme system
Basic extension configuration
Controllers
Blocks
The model, resource, and collection
The event/observer pattern
Cron jobs
Helpers
System configuration options
Summary
Chapter 2: Building the Extension – Maximum Order Amount
Planning your extension
Registering your extension
Building the configuration options interface
Adding the business logic
Summary
Chapter 3: Building the Extension – Logger
Planning your extension
Registering your extension
Summary
Chapter 4: Building the Extension – Shipping
Shipping methods
Planning your extension
Registering your extension
Dissecting the existing shipping method
Defining your shipping method
Adding the business logic
Summary
Chapter 5: Building the Extension – Payment
Payment methods
Planning your extension
Registering your extension
Dissecting the existing payment method
Defining your payment method
Extension business logic
Summary
Chapter 6: Packaging and Publishing Your Extension
Magento Connect
Packaging your extension
Creating an extension profile
Uploading the extension package
Summary

Book Details

ISBN 139781783280391
Paperback128 pages
Read More

Read More Reviews

Recommended for You

Magento PHP Developer's Guide Book Cover
Magento PHP Developer's Guide
$ 26.99
$ 18.90
Mastering Magento Theme Design Book Cover
Mastering Magento Theme Design
$ 32.99
$ 23.10
Magento 1.8 Development Cookbook Book Cover
Magento 1.8 Development Cookbook
$ 26.99
$ 18.90
Magento 2 Developer's Guide Book Cover
Magento 2 Developer's Guide
$ 35.99
$ 25.20
Mastering Magento Book Cover
Mastering Magento
$ 29.99
$ 21.00
PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax Book Cover
PHP Oracle Web Development: Data processing, Security, Caching, XML, Web Services, and Ajax
$ 29.99
$ 21.00