Magento 2 Development Essentials
eBook - ePub

Magento 2 Development Essentials

Fernando J. Miguel

Share book
  1. 178 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Magento 2 Development Essentials

Fernando J. Miguel

Book details
Book preview
Table of contents
Citations

About This Book

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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Magento 2 Development Essentials an online PDF/ePUB?
Yes, you can access Magento 2 Development Essentials by Fernando J. Miguel in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in PHP. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781785289897
Edition
1

Magento 2 Development Essentials


Table of Contents

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

Magento 2 Development Essentials

Copyright © 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: February 2016
Production reference: 1220216
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78528-989-7
www.packtpub.com

Credits

Author
Fernando J. Miguel
Reviewers
Michel Artet...

Table of contents