0%

Book Description

Create an interactive online store and customize it further using Magento

Key Features

  • Straightforward guide to developing with Magento
  • Examples of different types of extension
  • Customize the Magento storefront and admin areas

Book Description

Magento is an open source, enterprise-level e-commerce platform with unlimited scope for customization. This makes it a great choice not only for vendors, but for developers as well.

This book guides you through Magento development, teaching you how to develop modules that extend or change its functionality, leading to more flexible and proftable Magento stores. You start with a structural overview of the key Magento development components.

You will learn where things such as plugins, events, models, controllers, layouts, and UI components ft into the development landscape. You will go through examples of using these components to extend Magento. As you progress, you will be building a diverse series of small but practical Magento modules.

By the end of this book, you will not only have a solid foundation in the Magento development architecture; you will also have practical experience of developing modules to customize and extend Magento stores.

What you will learn

  • Develop a simple shipping module
  • Build admin interfaces with the built-in form and listing UI components
  • Implement JavaScript components for improved customer experience
  • Accommodate vendor needs by adding new catalog-related features
  • Develop your way to a better checkout
  • Improve customer interaction with new customer-related extensions
  • Create new web APIs to make your modules more extensible

Who this book is for

This book is for competent PHP developers, with only basic knowledge of the Magento platform required.

Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. Magento 2 Development Quick Start Guide
  3. Packt Upsell
    1. Why subscribe?
    2. Packt.com
  4. Contributors
    1. About the author
    2. About the reviewer
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
    4. Code in Action
      1. Conventions used
    5. Get in touch
      1. Reviews
  6. Understanding the Magento Architecture
    1. Technical requirements
    2. Installing Magento
    3. Modes
    4. Areas
    5. Request flow processing
    6. Modules
      1. Creating the minimal module
    7. Cache
    8. Dependency injection
      1. Argument injection
      2. Virtual types
      3. Proxies
      4. Factories
    9. Plugins
      1. The before plugin
      2. The around plugin
      3. The after plugin
    10. Events and observers
    11. Console commands
    12. Cron jobs
    13. Summary
  7. Working with Entities
    1. Technical requirements
    2. Understanding types of models
      1. Creating a simple model
      2. Methods worth memorizing
    3. Working with setup scripts
      1. The InstallSchema script
      2. The UpgradeSchema script
      3. The Recurring script
      4. The InstallData script
      5. The UpgradeData script
      6. The RecurringData script
    4. Extending entities
      1. Creating extension attributes
    5. Summary
  8. Understanding Web APIs
    1. Technical requirements
    2. Types of users
    3. Types of authentication
    4. Types of APIs
    5. Using existing web APIs
    6. Creating custom web APIs
    7. Understanding search criteria
    8. Summary
  9. Building and Distributing Extensions
    1. Technical requirements
    2. Building a shipping extension
    3. Distributing via GitHub
    4. Distributing via Packagist
    5. Summary
  10. Developing for Admin
    1. Technical requirements
    2. Using the listing component
    3. Using the form component
    4. Summary
  11. Developing for Storefront
    1. Technical requirements
    2. Setting up the playground
    3. Calling and initializing JS components
    4. Meet RequireJS
    5. Replacing jQuery widget components
    6. Extending jQuery widget components
    7. Creating jQuery widgets components
    8. Creating UI/KnockoutJS components
    9. Extending UI/KnockoutJS components
    10. Summary
  12. Customizing Catalog Behavior
    1. Technical requirements
    2. Creating the size guide
    3. Creating the same day delivery
    4. Flagging new products
    5. Summary
  13. Customizing Checkout Experiences
    1. Technical requirements
    2. Passing data to the checkout
    3. Adding order notes to the checkout
    4. Summary
  14. Customizing Customer Interactions
    1. Technical requirements
    2. Understanding the section mechanism
    3. Adding contact preferences to customer accounts
    4. Adding contact preferences to the checkout
    5. Summary
  15. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think
3.235.120.15