php
-
July 28, 2022
A page in Magento 2 is a result of an Action Controller execution. Each controller either returns HTML content or redirects to another controller for further processing. In this lesson, we will create a Page, that shows a JSON message in a browser when it has been accessed via a custom route.
Before we begin
For this tutorial, I've created the MageMastery_FirstPagemodule with the registration.php and module.xml files. And the module has been successfully registered with the bin/magento setup:upgrade CLI command.
The registration.php file:
-
July 13, 2022
In this lesson, we are going to learn how to create a user registration form in a PHP file. The HTML registration form is used to submit data into the signup.php script.
In order to create a user registration in a PHP application, we have to create an HTML form. The form is responsible for allowing a user to submit the required registration information.
The information that we are going to process is the following:
- Username
- Password
- Confirm Password
Both ‘Username’ and ‘Password’ are going to be used by a user to login into the application. An email is used to send the confirmation email to the user so the registration can be confirmed when the user hits the confirmation link.
-
June 30, 2022
We have created a series of tutorials where we explained in detail how to build user registration and merged them into one course.
Learn about:
1. User Registration Form
2. Form Validation
3. Creating users database table
4. Connecting to a Database via PHP PDO class
5. Creating Flush Messages with Session
6. Adding New User to Database Table
7. Verifying if a user exists in the database
8. Generating
-
June 23, 2022
When you start learning to program, most likely you will start by choosing a specific language and algorithms. Same with Magento 2. As you know Magento 2 has several programming languages including PHP, JavaScript, HTML, and CSS.
More about languages read in the blog: Programming languages in the Magento 2.
When you start studying you should systematically do programming tasks and practice diligently. Your back will be cover as we have prepared free Magento 2 courses for your smoothly start! Check them below.
Magento 2 for Beginners: this course is for developers who want to start developing with Magento 2.
-
May 19, 2022
Topics discussed in the video:
- How to authenticate user via login form using PHP
- How to check username and password with data stored in database
Learn more about the authentication of users in the new video: https://youtu.be/OyrNWpmMzh0
-
April 08, 2022
Before starting learning Magento 2, you must be familiar with some of the programming technologies listed below :
- PHP (Hypertext Preprocessor)
- HTML (Hypertext Markup Language)
- CSS (Cascading Style Sheets)
- JS (Javascript)
- XML (Extensible Markup Language)
PHP
PHP is a recursive acronym for a “PHP: Hypertext Preprocessor” and is an open-source server-side scripting language widely used in full-stack web development since 1995.
-
January 26, 2022
Let's create a simplest routing system using PHP programming language.
The source code from the video is available at GitHub.
-
November 20, 2020
Magento 2 Commerce provides a powerful set of tools for PHP developers to work and simplify their lives when building Magento 2 extensions. Magento 2 Framework includes various components and sub-components allowing you to write less code in your extensions.
Today we are going to talk about a utility class, that helps when working with giant arrays of data and configurations.
It is not a secret, that Magento 2 uses XML files for storing critical parts of system's configurations. Behind the scenes, when an XML file is opened by Magento 2, the file is converted and presented as an array. It is much simple working with array than with an
DomDocument
object in PHP.Let's take a checkout configuration in Magento 2. Every time a value should be added into the checkout configuration
-
November 12, 2020
Introduction
Programmers design almost 80 percent of websites using the PHP framework. PHP helps developers create high-quality and popular websites such as Facebook, Flickr, Wikipedia, MailChimp, Twitter, etc. This framework is the first choice for every professional developer. Many developers consider web development one of the most challenging tasks when designing a website. It becomes even more challenging when you need to perform a repetitive task. However, the PHP framework helps web developers to develop high-quality and accurate websites quickly.
What is a PHP Framework?
PHP framework helps in developing PHP web applications. This platform includes solutions that help developers solve problems they face while designing a website. The reason why this platform