Viktor Khliupko

Magento 2 DIY

Viktor Khliupko

Duesseldorf, Germany

Any source code or other supplementary materials referenced by the author in this text is available to readers at www.apress.com . For detailed information about how to locate your book’s source code, go to www.apress.com/source-code/ .

ISBN 978-1-4842-2459-5

e-ISBN 978-1-4842-2460-1

DOI 10.1007/978-1-4842-2460-1

Library of Congress Control Number: 2016961257

© Viktor Khliupko 2017

This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.

Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.

While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.

Printed on acid-free paper

Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail [email protected], or visit www.springer.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

Acknowledgments

We’ve finally decided to publish our first Magento 2 book. It is its first edition, and we are going to update Magento 2 DIY when more opportunities related to the platform are available. The book in its current form consists of the following chapters:

  1. Overview

  2. Technology Stack

  3. Resources/Tutorials/Guides

  4. Installation/Download

  5. Hosting

  6. Composer

  7. API

  8. Templates

  9. Extensions (New Magento 2 Modules)

  10. SEO

  11. Performance

  12. Migration

  13. Generating New Sales

  14. Security

  15. Certified Partners

Since the Magento 2 platform is absolutely new, the available information is not yet enough to write a book which is as informative as our Magento 1 DIY, but Magento 2 DIY is an ongoing project, so we will update the book as new information is available. Thus, having bought it, you get free lifetime updates as well as useful tips and recommendations from the Firebear team. We are going to create a manual which will cover all aspects of the platform, making it possible to master e-commerce on the basis of Magento 2 without any third-party specialists. If you are looking for a complete guide to Magento e-commerce, check our first book, Magento 1 DIY (Apress, 2016).

In addition to Magento 2 DIY, we also recommend you read the official developer documentation 1 and The Official Magento 2 User Guide, 2 since they fully describe the platform. As for our book, we are going to release several more editions within this year, because the platform is constantly evolving and we get new information, which is worth sharing.

The book has been created by Viktor Khliupko 3 in collaboration with the Firebear team. Andrii Pechatkin, Demyd Maiornykov, Rita Aloshkina, Konstantin Sokolov, Oleg Pomjanski, and Andrey Nikolaev have contributed a lot to make this happen. They've shared their ideas as well as edited my thoughts. The team is:

  • Andrii Pechatkin 4 —lead editor, co-author;

  • Rita Aloshkina 5 —editor;

  • Demyd Maiornykov 6 —editor;

  • Oleg Pomjanski 7 —art direction, design;

  • Konstantin Sokolov 8 —consulting, editor;

  • Andrey Nikolaev 9 —Magento consulting;

  • Jewgeni Faktorov 10 —business support;

  • Ewgenij Sokolov—legal advisor.

The Magento platform is constantly changing, so it is impossible to create a book that will cover all its aspects. Therefore, check the Firebear blog 11 and sign up for updates. All the latest news, reviews, and advice related to both Magento 1 and Magento 2 are available there.

Contents

  1. Chapter 1:​ Overview
    1. New architecture
    2. Better performance and scalability
    3. Revamped shopping experiences
    4. New productivity features
    5. Beta Merchants
    6. Magento 2 Extensions
    7. Magento 2 Courses
    8. Magento 2 Migration
    9. New Licensing Model
  2. Chapter 2:​ Technology Stack
    1. Magento 2 Technology Stack:​
    2. PHP
    3. Zend Framework
    4. PSR
    5. Composer
    6. HTML5
    7. CSS3
    8. JQuery
    9. RequireJS
    10. Symfony
    11. Apache
    12. Nginx
    13. MySQL
    14. Gulp
    15. Twig
    16. Conclusion
  3. Chapter 3:​ Resources /​ Tutorials /​ Guides
    1. Learning Magento 2
      1. Other useful Magento 2 resources and blogs are:​
    2. The Real Magento Community
  4. Chapter 4:​ Installation /​ Download
    1. 4 Types of Magento 2 Installation
      1. Simple installation on your own server
      2. Simple installation on shared hosting
      3. The metapackage
      4. Cloning the Magento 2 repository
    2. Magento 2 Installation Guide
      1. Magento 2 System Requirements
      2. Composer and Magento
      3. Magento GitHub Repository Cloning
      4. Installation Dependencies Update
    3. Magento Software Installation With The Setup Wizard
      1. Running the Setup Wizard
      2. Magento Software Installation From The Command Line
    4. Installing the Magento 2 software from the command line
      1. Sample localhost installation
      2. Reinstalling the Magento software
    5. Magento 2 sample data
    6. Magento 2 Setup Verification
      1. Verify the Magento 2 Admin
    7. How To Create A Virtual Machine For Magento 2
      1. Magento 2 Vagrant Box
      2. vagrant magento2 apache base
    8. How to Install Magento 2 with Docker
      1. PHP 7 Docker Image for Magento 2
  5. Chapter 5:​ Hosting
    1. Magento 2 System Requirements
    2. Magento 2 Hosting Requirements
  6. Chapter 6:​ Composer
    1. Magento 2 Composer Integration
    2. Magento 2 and composer.​json
      1. Naming conventions in Magento 2 and Composer
      2. Package Types
    3. How to Install Composer
    4. How to Deploy Magento 2 CE with Composer
    5. How to clone the Magento 2 repository via Composer
      1. How to package a module in Magento 2
      2. Magento 2 Composer file
      3. Packaging and publishing extensions
    6. Useful Links
  7. Chapter 7:​ API
    1. Magento 2 API Framework
    2. Magento 2 API Opportunities
    3. Getting Started With Magento 2 API
    4. API Integration in the Magento 2 back end looks as follows:​
      1. System/​Integration:​
      2. Stores/​Configuration/​Services/​Magento Web API and OAuth:​
    5. Magento 2 REST API
    6. Magento 2 REST API Reference
    7. Magento 2 SOAP API Reference
    8. Magento 2 and Swagger
  8. Chapter 8:​ Templates
    1. Magento 2 Templates and Themes
      1. Ketty Magento 2 Beta
      2. Crafts
      3. Themeforest
      4. TemplateMonster
    2. Useful Links
      1. Magento 2 Developer Documentation
      2. Front-end Architecture of Magento 2
      3. Magento 2:​ Serving Frontend Files
      4. Magento 2 Theme Structure by DCKAP
      5. Magento 2 Theming by Shero
      6. Core Principles for Theming in Magento 2
      7. How to create a Magento 2 theme
      8. Magento 2 Templates and RequireJS
      9. Handlebars and Magento 2 templates
      10. Grunt and Magento 2
      11. Knockout in Magento 2 theme development
  9. Chapter 9:​ Extensions
    1. How to Install Magento 2 Modules
      1. How to Install Magento 2 Extension via Composer
      2. Installing Magento 2 extension by copying code
    2. Must-have Magento 2 Extensions
      1. Key features
  10. Chapter 10:​ SEO
    1. Magento 2 SEO Features
      1. Product Page Optimization
      2. Category Page Optimization
      3. Pagination Optimization
      4. Layered Navigation Optimization
      5. XML Sitemap
      6. Rich Snippets
      7. Robots.​txt
      8. Schema.​org Integration
      9. Product Image Labels
      10. Related products, Upsells, and Cross-sells
      11. Universal Google Analytics, E-commerce Tracking, and AdWords Conversion
      12. Google Tag Manager
      13. SEO configuration
      14. Conclusion
  11. Chapter 11:​ Performance
    1. Full Nginx Support
    2. Magento 2 and Redis
    3. Different Cache Types
    4. Full Page Cache (FPC)
    5. Varnish Cache
    6. CSS Preprocessing
    7. CSS and JS minification
    8. Catalog images caching
    9. Code Generation
    10. RequireJS for Improved JS Performance
    11. Session Storage Management
    12. Out-Of-The-Box CDN Support
    13. PHP 7
    14. Magento 2 vs Magento 1
    15. Magento 2 Extensions
    16. General Server Side Improvements
  12. Chapter 12:​ Migration
    1. Magento 2 Migration:​ Requirements
    2. Magento 2 Migration:​ Current conditions
    3. Magento 2 Migration:​ The migration procedure
    4. Magento 2 Migration:​ More tips on migration to Magento 2
    5. Magento 2 Migration Tools
      1. Code Migration Toolkit
      2. Official Magento CE Data Migration Tool
      3. Magento 2 DB Migration
      4. Magento 2 Data Migration Tool by Ubertheme
  13. Chapter 13:​ Generating New Sales
    1. Evaluate your marketing campaign
    2. The main traffic sources
      1. Direct traffic
      2. E-mail marketing
      3. Organic search engine results
      4. Paid search results
    3. Other useful traffic-driving techniques…
      1. …to use on your web site
      2. …to use outside of your web site
    4. Banner Ads
      1. How to use
      2. Where to buy
    5. AdWords
      1. How it functions
      2. How to fit into budget
      3. How to structure your ad campaign
      4. How to manage your resources
      5. How to launch an AdWords campaign
      6. Creating a shopping campaign
      7. AdWords conversion pixel
    6. Alternatives to Google AdWords
    7. Social Media Advertising and SMM campaigns
      1. Facebook
      2. Twitter
      3. Instagram
      4. Pinterest
    8. Best blogging platforms worth using
      1. Best Magento 2 modules for blogging
    9. Real Time Social Experience with Periscope and Meerkat
    10. Social influencers for promoting your products online
    11. Amazon Product Advertising
  14. Chapter 14:​ Security
  15. Chapter 15:​ Certified Partners
    1. Inchoo
    2. Alpenite
    3. Forix
    4. Session Digital
    5. Briteskies
    6. Space 48
  16. Chapter 16:​ Final Thoughts
  17. Index

About the Author and About the Technical Reviewer

About the Author

A435230_1_En_BookFrontmatter_Figb_HTML.jpg

Viktor Khliupko is an e-commerce expert, consultant, and developer. He is also a traveler and metal music fan. He has built successful Magento-based e-commerce businesses and startups worldwide. He is the founder of the FireBear Studio.

About the Technical Reviewer

A435230_1_En_BookFrontmatter_Figc_HTML.jpg

Richard Carter is a seasoned web designer and front-end developer based in the north of England. His interest in SEO comes from a desire to help clients, and fully understand the implications in the ways web sites are built with how they perform in search engines.

He lives in Newcastle upon Tyne, and is founder of established UK web design agency Peacock Carter. Richard has worked with clients including the University of Edinburgh, NHS, City & Guilds, University College Dublin, and the Scottish Government.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.185.180