Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Mastering Adobe Commerce Frontend
Mastering Adobe Commerce Frontend

Mastering Adobe Commerce Frontend: Build optimized, user-centric e-commerce sites with tailored theme design and enhanced interactivity

Arrow left icon
Profile Icon Winkler
Arrow right icon
₱579.99 ₱1428.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (10 Ratings)
eBook Mar 2024 402 pages 1st Edition
eBook
₱579.99 ₱1428.99
Paperback
₱1785.99
Subscription
Free Trial
Arrow left icon
Profile Icon Winkler
Arrow right icon
₱579.99 ₱1428.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (10 Ratings)
eBook Mar 2024 402 pages 1st Edition
eBook
₱579.99 ₱1428.99
Paperback
₱1785.99
Subscription
Free Trial
eBook
₱579.99 ₱1428.99
Paperback
₱1785.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Mastering Adobe Commerce Frontend

Installing the Magento/Adobe Commerce Application

In the previous chapter, we prepared our local forge with all the required tools and services. Now, it’s time to put this preparation to work. Previously, our focus was on setting up your machine for a local development environment. In this chapter, we will apply that knowledge to successfully install Adobe Commerce or its open source alternative, Magento Open Source, as a prerequisite for our frontend development course in subsequent chapters.

In this chapter, we will cover the following topics:

  • Getting to know the platform
  • Getting a copy of Adobe Commerce/Magento Open Source
  • Installing Adobe Commerce/Magento Open Source

Upon completing this chapter, you will possess the vital expertise to set up and operate the platform. So, let’s dive in and examine the steps in depth.

Technical requirements

Before we dive into the installation process for Adobe Commerce or Magento Open Source, it is crucial to ensure that your system meets the necessary technical requirements. I hope you decided to follow the installation process for Warden, as explained in Chapter 1.

You can find this chapter’s code in this book’s GitHub repository: https://github.com/PacktPublishing/Mastering-Adobe-Commerce-Frontend. This repository contains a VirtualBox image with everything already configured, as well as some scripts to help you out with the installation process.

Getting to know the platform

The eCommerce framework Magento was created by Varien Inc. and launched on March 31, 2008. It was made available as a fully open source platform for all to use. Some significant companies, including eBay and PayPal, have been involved with Magento since then. It was offered in two versions:

  • Community Edition: Fully open source version for everyone
  • Enterprise Edition: A paid version of the Magento platform with extra features and some performance improvements that were not part of the open source version

Magento 1 was – and remains – an excellent platform. The development of a new version, simply called Magento 2, was ongoing for several years and was released on November 17, 2015. In my personal opinion, the platform was released too soon, and it took Magento over 2 years to produce something much more stable that could be used on production sites.

In 2018, Adobe acquired Magento. After Magento 2 was released and Adobe...

Getting a copy of Adobe Commerce/Magento Open Source

Is it not that easy to get the Adobe Commerce version for local development, especially if you are a freelancer and you are just staging your journey with Adobe Commerce/Magento frontend development. It is much easier if you work for a larger agency that does have multiple projects on this platform already and they can share a pair of composer keys with you.

Wait… a pair of what? This is where we need to introduce another tool that will be required to run Adobe Commerce/Magento Open Source on your local instance – Composer:

Figure 2.1 – Composer logo

Figure 2.1 – Composer logo

Now, I don’t want to dive into too many details again, so let me explain this in a very simple way. If you know a little about npm for Node.js or Bundler for Ruby, Composer is the same tool for PHP – it is a package manager. Some people say that Composer is the best package manager. Its role is to manage code dependencies...

Installing Adobe Commerce – preparing Docker

We will install the platform from scratch using Warden, so let’s get started! Open your terminal application (we will be using it a lot more from now on) and follow these steps:

Working on Windows WSL

For this book, all coding tasks and operations will be done on a Windows machine to cover all based related to file sync between your local drive and the WSL 2 drive. The next few steps have been done on a Windows machine.

  1. Make sure your Warden environment is working by typing the following:
    warden svc up

    You should see the following output:

Figure 2.10 – Checking whether Warden is running

Figure 2.10 – Checking whether Warden is running

  1. Create a folder for your project. For our purposes, we will name it packt1 by using the mkdir command:
    mkdir packt1

    You can also create a folder by navigating to a proper folder, but you will still have to access it via CLI | terminal.

  2. Enter the folder you created using cd:
    cd packt1
  3. ...

Installing Adobe Commerce using the CLI

This is the moment when things might get a little complicated as we will be working with the CLI a lot and we’ll be running many commands in the next few chapters. To get started, follow these steps:

  1. In your terminal application/CLI, log into your application container by typing the following:
    warden shell

    This will log you into the Docker container that is running the PHP code:

Figure 2.14 – Logging into the Docker container

Figure 2.14 – Logging into the Docker container

Here’s the bad news: Adobe Commerce has no web installer available, so you have to install everything using the CLI. To do this, run all those commands in the Docker container you’ve just logged into.

  1. Next, configure the Magento keys:
    composer global config http-basic.repo.magento.com <username> <password>

    Here, username is a public key and password is a private key.

    When you are taking over a project, it is very important to check magento...

Summary

In this chapter, you learned about some of the history behind AC and Magento. You created the required accounts and learned about the importance of Composer keys. You also learned how to get the platform running in a Dockerized environment from scratch and dipped your toes into CLI commands.

In the next chapter, I’ll guide you through the basic concepts of AC theming and I’ll share much more knowledge about the platform itself – knowledge that, in my opinion, is a must-know for any Adobe Connect/Magento Open Source developer, as well as eCommerce managers.

We will create a new theme and understand the concepts and the role of the Adobe Connect caching system before I describe more areas of the platform itself so that will never run into any issues during development.

You will also learn the basics of the fallback system and how to compile fewer files to produce the CSS files used by Adobe Connect. Simply put, things will finally be more development...

Practical exercises

To solidify your understanding of this chapter, please try out the following practical exercises:

  1. Create a new project called packt2 from scratch and install Adobe Commerce/Magento Open Source with sample data.
  2. Move one of your existing Adobe Commerce/Magento Open Source projects to Warden.

    Note that this might require at least three key elements:

    1. Repository access.
    2. Media files package.
    3. Latest database dump.
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn techniques for customizing templates and layouts for an optimal user experience
  • Use the command-line interface for efficient and streamlined theme development and deployment
  • Implement best practices for using JavaScript and frontend optimization techniques for improved performance and customer satisfaction
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

Navigating the frontend realm of the Adobe Commerce platform can often feel like a labyrinth, given its multifaceted systems and intricate layering. This book demystifies Adobe Commerce frontend development, guiding you through its paths with clarity and precision. You'll learn how to set up your local environment, paving the way for a smooth development experience and navigate the platform's theming ecosystem, exploring layout XML systems and the power of templates. As you progress through the book, you'll leverage an array of JavaScript libraries and frameworks that Adobe Commerce boasts of, with special emphasis on RequireJS, jQuery, Knockout.JS, and UI Components. Additionally, you'll gain an understanding of the intricacies of Adobe Commerce CMS, explore frontend-related configurations in the admin panel, and unlock the secrets of frontend optimization. Practical exercises provided in the book will enable you to create top-notch Adobe Commerce sites that are functional, optimized, user-centric, and a step ahead in the ever-evolving frontend landscape.

Who is this book for?

The book is ideal for storefront developers proficient in frontend technologies such as HTML, CSS, and JavaScript, aiming to broaden their knowledge of Adobe Commerce and Magento Open Source applications. If you've encountered challenges with frontend development for Adobe Commerce and struggled to find solutions online, this book is tailored to assist you.

What you will learn

  • Set up your own Dockerized environment in the Adobe Commerce platform
  • Customize page structure using Layout XML, templates, and a fallback system
  • Build and personalize system emails to match website themes
  • Work with various JavaScript frameworks and libraries in the project
  • Create and manage content using the Adobe Commerce CMS system
  • Validate your solutions with the practical examples provided

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 29, 2024
Length: 402 pages
Edition : 1st
Language : English
ISBN-13 : 9781837637386
Vendor :
Adobe
Concepts :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Mar 29, 2024
Length: 402 pages
Edition : 1st
Language : English
ISBN-13 : 9781837637386
Vendor :
Adobe
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₱260 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₱260 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 6,633.97
Mastering Adobe Commerce Frontend
₱1785.99
The Definitive Guide to Power Query (M)
₱2806.99
 Building Full Stack DeFi Applications
₱2040.99
Total 6,633.97 Stars icon
Banner background image

Table of Contents

17 Chapters
Chapter 1: Setting Up the Local Environment Chevron down icon Chevron up icon
Chapter 2: Installing the Magento/Adobe Commerce Application Chevron down icon Chevron up icon
Chapter 3: Introduction to Adobe Commerce Theming Chevron down icon Chevron up icon
Chapter 4: The Layout System Chevron down icon Chevron up icon
Chapter 5: Working with Templates Chevron down icon Chevron up icon
Chapter 6: Styling an Adobe Commerce Theme Chevron down icon Chevron up icon
Chapter 7: Customizing Emails Chevron down icon Chevron up icon
Chapter 8: Introduction to JavaScript Libraries and Frameworks Chevron down icon Chevron up icon
Chapter 9: RequireJS and jQuery Chevron down icon Chevron up icon
Chapter 10: Knockout.js and UI Components Chevron down icon Chevron up icon
Chapter 11: Commonly Used Libraries Bundled with Adobe Commerce Chevron down icon Chevron up icon
Chapter 12: Storefront-Related Configuration in the Admin Panel Chevron down icon Chevron up icon
Chapter 13: Working with Magento CMS Chevron down icon Chevron up icon
Chapter 14: Frontend Optimization Techniques Chevron down icon Chevron up icon
Chapter 15: Common Tools that Help with Local Development Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(10 Ratings)
5 star 90%
4 star 10%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Luke Collymore Oct 22, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Great book that does well to cover a wealth of information about Magento development, from an optimized local development setup to tools that help in all aspects of development.
Amazon Verified review Amazon
Soda Pop Tops, LLC Apr 29, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is written really well, and very succinctly and clearly explains some of the topics which normally trip up new Magento developers. Jakub does a great job coming up with practical explanations to these complexities, and does so in a way which makes sense to those new to the platform. I highly recommend this book for anyone starting off in Magento development or looking to digest these topics in written form.
Amazon Verified review Amazon
mark313 May 07, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is written really well, and very succinctly and clearly explains some of the topics which normally trip up new Magento developers. Jakub does a great job coming up with practical explanations to these complexities, and does so in a way which makes sense to those new to the platform. I highly recommend this book for anyone starting off in Magento development or looking to digest these topics in written form.
Amazon Verified review Amazon
dspirito Apr 24, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have been developing Magento sites for 15 years. This book is an excellent primer on the latest updates to the platform and focuses on theming but gives an overview of the platform as a whole. It is comprehensive and also very well written and easy to digest. If you have never touched Magento or if you are well-versed this book has something for you. I highly recommend this book.
Amazon Verified review Amazon
Rahul Chhlotre Mar 30, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
An awesome book! My knowledge has increased after reading it. It provides good examples and easy explanations for each Magento frontend topic.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.