万本电子书0元读

万本电子书0元读

顶部广告

Magento 2 Development Cookbook电子书

售       价:¥

9人正在读 | 0人评论 6.2

作       者:Bart Delvaux

出  版  社:Packt Publishing

出版时间:2015-12-28

字       数:139.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Over 60 recipes that will tailor and customize your experience with Magento 2 About This Book Solve common problems encountered while extending your Magento 2 store to fit your business needs Delve into the exciting and enhanced features of Magento 2 such as customizing security permissions, intelligent filtered search options, easy third-party integration, among others Learn to build and maintain a Magento 2 shop via a visual-based page editor and customize the look and feel using Magento 2’s offerings on the go Who This Book Is For This book is for every developer who has knowledge of PHP and wants to extend or customize the functionality of their Magento 2 system. If you have prior experience of the Magento platform, you will find this book useful in exploring the advanced features. What You Will Learn Install a Magento 2 shop with sample data Upgrade the data in a Magento 1 shop to a Magento 2 shop Manage the look and feel of the shop with custom themes Extend the shop with custom functionality such as forms, grids, and more Accelerate your store with some performance tool Build and structure your own shipping module Test your shop with automated tests and manage your product display In Detail With the challenges of growing an online business, Magento 2 is an open source e-commerce platform with innumerable functionalities that gives you the freedom to make on-the-fly decisions. It allows you to customize multiple levels of security permissions and enhance the look and feel of your website, and thus gives you a personalized experience in promoting your business. Style and approach This book is packed with a wide range of techniques to modify and extend the functionality of your online store. It contains easy-to-understand recipes starting with the basics and moving on to cover advanced topics. Many recipes work with code examples that can be downloaded from the book’s website.
目录展开

Magento 2 Development Cookbook

Table of Contents

Magento 2 Development Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Upgrading from Magento 1

Introduction

Creating a Magento 1 website with sample data

Getting ready

How to do it...

How it works…

Creating a Magento 2 website

Getting ready

How to do it...

How it works...

There's more...

Preparing an upgrade from Magento 1

Getting ready

How to do it...

How it works...

Upgrading the database

Getting ready

How to do it...

How it works...

There's more...

See also

Using an IDE

Getting ready

How to do it...

There's more...

Writing clean code with PHP MD and PHP CS

Getting ready

How to do it...

How it works...

There's more...

2. Working with Products

Introduction

Configuring the catalog defaults

Getting ready

How to do it

How it works

Working with attribute sets

Getting ready

How to do it

How it works

Working with product types

Getting ready

How to do it

How it works…

There's more…

A simple product

A configurable product

A bundle product

A grouped product

A virtual product

A downloadable product

Adding social media buttons

Getting ready

How to do it

How it works

Embedding an HTML object

Getting ready

How to do it

How it works

Changing the URL of a product page

Getting ready

How to do it

How it works

There's more

3. Theming

Introduction

Exploring the default Magento 2 themes

Getting ready

How to do it...

How it works...

Creating a Magento 2 theme

Getting ready

How to do it...

How it works…

There's more…

Customizing the HTML output

Getting ready

How to do it…

How it works…

Adding extra files to the theme

Getting ready

How to do it…

How it works…

There's more…

Working with LESS

Getting ready

How to do it…

How it works…

There's more…

Changing a page title

How to do it…

How it works…

Working with translations

Getting ready

How to do it…

How it works…

Adding widgets to the layout

Getting ready

How to do it…

How it works…

Customizing email templates

Getting ready

How to do it…

How it works…

4. Creating a Module

Introduction

Creating the module files

Getting ready

How to do it...

How it works...

Creating a controller

Getting ready

How to do it...

How it works...

There's more...

Adding layout updates

Getting ready

How to do it...

How it works...

Adding a translation file

Getting ready

How to do it...

How it works...

Adding a block of new products

Getting ready

How to do it...

How it works...

Adding an interceptor

Getting ready

How to do it...

How it works...

See also

Adding a console command

Getting ready

How to do it...

How it works...

See also...

5. Databases and Modules

Introduction

Creating an install and upgrade script

Getting ready

How to do it...

How it works...

Creating a flat table with models

Getting ready

How to do it...

How it works...

Working with Magento collections

Getting ready

How to do it...

How it works…

Programmatically adding product attributes

Getting ready

How to do it...

How it works...

Repairing the database

Getting ready

How to do it...

How it works...

6. Magento Backend

Introduction

Registering a backend controller

Getting ready

How to do it...

How it works...

Extending the menu

Getting ready

How to do it...

How it works...

Adding an ACL

Getting ready

How to do it...

How it works...

Adding configuration parameters

Getting ready

How to do it...

How it works...

Creating a grid of a database table

Getting ready

How to do it...

How it works...

Working with backend components

Getting ready

How to do it...

How it works...

Adding customer attributes

Getting ready

How to do it...

How it works...

Working with source models

Getting ready

How to do it...

How it works...

7. Event Handlers and Cronjobs

Introduction

Understanding event types

Getting ready

How to do it...

How it works...

See also

Creating your own event

Getting ready

How to do it...

How it works...

Adding an event observer

Getting ready

How to do it...

How it works...

Introducing cronjobs

Getting ready

How to do it...

How it works...

Creating and testing a new cronjob

Getting ready

How to do it...

How it works...

8. Creating a Shipping Module

Introduction

Initializing module configurations

Getting ready

How to do it...

How it works...

See also

Writing an adapter model

Getting ready

How to do it...

How it works...

Extending the shipping method features

Getting ready

How to do it...

How it works...

Adding the module in the frontend

Getting ready

How to do it...

How it works...

9. Creating a Product Slider Widget

Introduction

Creating an empty module

Getting ready

How to do it...

How it works...

Creating a widget configuration file

Getting ready

How to do it...

How it works...

Creating the block and template files

Getting ready

How to do it...

How it works...

Creating a custom configuration parameter

Getting ready

How to do it...

How it works...

There's more...

Finalizing the theming

Getting ready

How to do it...

How it works...

10. Performance Optimization

Introduction

Benchmarking a website

Getting ready

How to do it...

How it works...

Optimizing the frontend of the website

Getting ready

How it works...

How it works...

There's more...

Optimizing the database and MySQL configurations

Getting ready

How to do it...

How it works...

Optimizing the Apache web server

How to do it...

How it works...

Finding performance leaks in Magento

Getting ready

How to do it...

How it works...

Configuring OPcache, Redis, and Memcached

Getting ready

Zend OPcache

Memcached

Redis

How to do it...

How it works...

Optimizing the PHP configurations

Getting ready

How to do it...

How it works...

11. Debugging and Unit Testing

Introduction

Logging into Magento 2

Getting ready

How to do it...

How it works...

Getting started with Xdebug

Getting ready

How to do it...

How it works...

Running automated tests from Magento

Getting ready

How to do it...

How it works...

Creating a Magento test case

Getting ready

How to do it...

How it works...

There's more...

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部