Magento 2 Development Essentials

Book description

Get up and running with Magento 2 to create custom solutions, themes, and extensions effectively

About This Book

  • Create unique solutions for Magento 2 by developing and implementing solutions, themes, and extensions
  • Be proficient in the main functionalities, resources, and system structure of Magento 2
  • Get to grips with this practical and hands-on guide to raise your web development skills to the next level

Who This Book Is For

If you are a PHP developer who wants to improve your skills in e-commerce development by creating themes and extensions for Magento 2, then this book is for you.

What You Will Learn

  • Install and set up the Magento Ecosystem
  • Choose the best options for Magento's Sell System features
  • Work with Search Engine Optimization in Magento
  • Create and customize themes for Magento
  • Develop extensions for new Magento functionalities
  • Package extensions to publish in the Magento Connect network
  • Create Magento solutions for mobile devices
  • Carry out performance adjustments to speed up your Magento system

In Detail

Magento is the e-commerce software and platform trusted by the world's leading brands. Used by thousands of merchants for their transactions worth billions, it provides the flexibility to customize the content and functionality of your website. By strengthening your fundamentals in Magento development, you can develop the best solutions and take advantage of the growing market.

This fast-paced tutorial will provide you with skills you need to successfully create themes, extensions, and solutions to Magento 2 projects.

This book begins by setting up Magento 2 before gradually moving onto setting the basic options of the Sell System. You will take advantage of Search Engine Optimization aspects, create design and customize theme layout, develop new extensions, and adjust the Magento System to achieve great performance. By sequentially working through the steps in each chapter, you will quickly explore all the features of Magento 2 to create a great solution.

With ample examples and a practical approach, this book will ensure your success with this astonishing e-commerce management system.

Style and approach

This book would be a fast-paced tutorial guide that uses hands-on examples to developing new solutions for Magento e-commerce system. Each topic is explained sequentially in the process of creating a Magento solution, along with detailed explanations of the basic and advanced features of Magento 2.

Table of contents

  1. Magento 2 Development Essentials
    1. Table of Contents
    2. Magento 2 Development Essentials
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. eBooks, discount offers, and more
        1. Why subscribe?
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. Magento Fundamentals
      1. XAMPP PHP development environment
      2. XAMPP installation
        1. XAMPP for Windows installation
        2. XAMPP for Linux installation
        3. XAMPP for OS X installation
      3. Magento
        1. Magento installation
        2. Magento MVC architecture
      4. Summary
    9. 2. Magento 2.0 Features
      1. The revolution of Magento 2.0
      2. An introduction to the Magento order management system
        1. Sales operations
        2. A simplified checkout process
          1. Orders
          2. Payments
          3. Promotions
      3. Magento 2.0 command-line configuration
      4. The command-line utility
      5. Summary
    10. 3. Working with Search Engine Optimization
      1. Magento SEO management
      2. Store configuration
      3. SEO and searching
      4. SEO catalog configuration
        1. XML sitemap manager
      5. Google Analytics tracking code
      6. Optimizing Magento pages
        1. CMS pages
        2. Product pages
        3. Category pages
      7. Summary
    11. 4. Magento 2.0 Theme Development – the Developers' Holy Grail
      1. The basic concepts of Magento themes
      2. Magento 2.0 theme structure
      3. The Magento Luma theme
      4. Magento theme inheritance
      5. CMS blocks and pages
      6. Custom variables
      7. Creating a basic Magento 2.0 theme
        1. Creating and declaring a theme
        2. Simple product image configuration
        3. Creating static files' directories
        4. Creating a theme logo
        5. Applying the theme
      8. Summary
    12. 5. Creating a Responsive Magento 2.0 Theme
      1. The CompStore theme
      2. Composer – the PHP dependency manager
        1. Installing Composer on Unix-like operating systems
        2. Installing Composer on Windows
      3. Building the CompStore theme
      4. CSS preprocessing with LESS
      5. Applying new CSS to the CompStore theme
      6. Creating the CompStore logo
      7. Applying the theme
      8. Creating CompStore content
      9. Customizing Magento 2.0 templates
      10. Summary
    13. 6. Write Magento 2.0 Extensions – a Great Place to Go
      1. Magento development overview
      2. Using the Zend framework
      3. Magento 2.0 extension structure
      4. Developing your first Magento extension
      5. The Twitter REST API
      6. The TweetsAbout module structure
      7. Using TwitterOAuth to authenticate our extension
      8. Developing the module
        1. Controllers
        2. Blocks
        3. Observer
        4. Views
        5. CSS
        6. Deploying the module
        7. Magento Connect
        8. Packaging and publishing your module
      9. Summary
    14. 7. Go Mobile with Magento 2.0!
      1. Testing the website on different devices
        1. The Google Chrome DevTools device mode
          1. Changing the device preset
          2. Network connectivity
          3. Inspecting media queries
          4. Viewing CSS
          5. Adding custom devices
        2. Responsive Web Designer tester
      2. Adjusting the CompStore theme for mobile devices
      3. The Magento 2.0 responsive design
      4. The Magento UI
      5. Implementing a new CSS mixin media query
      6. Adjusting tweets about extensions for mobile devices
      7. Summary
    15. 8. Speeding up Your Magento 2.0
      1. Magento Entity-Attribute-Value
      2. Indexing and caching Magento
      3. Indexing and re-indexing data
      4. The Magento cron job
      5. Caching
      6. Fine-tuning the Magento hosting server
      7. Selecting the right Magento hosting service
      8. Apache web server deflation
      9. Enabling the expires header
        1. PHP memory configuration
        2. Optimizing the MySQL server
      10. Minifying scripts
        1. CDN for Magento
      11. Summary
    16. 9. Improving Your Magento Skills
      1. Magento Connect extensions
        1. Installing a Magento extension
        2. Debugging styles with the Grunt task runner
      2. Magento knowledge center
      3. Improving your Magento skills
      4. Summary
    17. Index

Product information

  • Title: Magento 2 Development Essentials
  • Author(s): Fernando J. Miguel
  • Release date: February 2016
  • Publisher(s): Packt Publishing
  • ISBN: 9781785289897