php
-
May 01, 2023
In the post, we are going to review new Payment Service Contracts (or Payment Gateway API) available in Magento 2. I will guide you through Command Interfaces and Service Classes which will help you to use them in further integrations with Payment Service Providers.
After reading this article you will:
- Understand Payment Gateway API
- Get best practices and examples of payment implementation
- Detailed overview of Gateway API classes and interfaces
Magento 2 Open Source has Payment Service Contracts or Payment Gateway API release. You can get the latest version of Magento 2 Open Source here on GitHub. In case you plan to implement Payment Integration
-
February 16, 2023
In the previous video, we’ve created functionality with you which allows us to delete a post from a database.
If you miss the previous series of videos, don’t worry! Click here to join Magento 2 Blog FREE course with the last 11 videos.
In this video, we will create functionality allowing us to render and show a blog page on a storefront. We’re going to:
- Create front end controller that will be responsible for the rendering
- Create a template
- Attach a template to the layout XML file
- Render information from a PHP file from a template on our page.
Discover a new part of our Blog creation playlist in the video.
-
February 09, 2023
Let’s go ahead!
In the previous video, we created a controller, Rosed XML layout, and a template file to render to a blog on a storefront. If you missed some videos, don’t be sad and join a free Magento 2 blog creation course. Go to the link: https://bit.ly/3FfxfJk
In this video, we will load posts from a database table. Learn more in the tutorial.
-
December 27, 2022
Would you like to learn about Test Driven Development and become a better PHP developer?
Test Driven Development is a coding practice where you write a test and then write the code to pass that test, usually in a short iterative cycle.
The new video will show you how to follow Test Driven Development and use the PHPUnit library.
-
December 20, 2022
With a routing system, you can split the different pages and handle these pages individually. Let’s find out what this URL is before we start to code.
URL consists of three parts:
- Scheme
- Domain
- Request URI.
To implement simple routing, we need to match the request URI and implement a logic responsible for processing this request URI. So, we can build as many pages as we need to, and each page will proceed by a separate PHP function or a road. Finding the right road for the request, URI is called a road, also known as dispatching a road.
Learn more in the video.
-
October 04, 2022
User registration is an essential function that an online store should have. Registered users can track their purchases, receive special offers, and communicate with the support team. It is just a small list of the features that registration implies.
Therefore, we have prepared a free course on building User Login with PHP and MySQL.
The course shows how to build User login and logout functionality with PHP and MySQL. In the study, we will learn all the essential basics of working with PHP sessions to preserve user authentication. After the course, you will be familiar with the PDO MySQL driver and PDO classes that can be used for working with the MySQL database.
In the course, you will learn:
- How to create an HTML
-
September 22, 2022
With routing system, you can split the different pages and handle these pages individually. Let’s find out what this URL is before we start to code.
URL consists of three parts:
- Scheme
- Domain
- Request URI.
To implement simple routing, we need to match the request URI and implement a logic that will be responsible for processing this request URI. So, we can build as many pages as we need to, and each page will proceed by a separate PHP function or a road. Finding the right road for the request, URI is called a road, also known as dispatching a road.
Learn more in the video.
-
September 08, 2022
Form UI Component in Magento 2 allows creating and updating entities. In this video, we will complete a Form for a blog post entity. It is a series of videos where we showed how to develop a blog functionality in Magento 2.
CRUD is an acronym that comes from the world of computer programming and refers to the four functions that are considered necessary to implement a persistent storage application: create, read, update and delete.
To create a form on a page in Magento 2, we should:
- Create an XML file that holds a Form Configuration
- Create a Data Provider PHP Class
- Add UI Component to Layout Configuration.
Watch the new video.
-
August 31, 2022
Would you like to learn about Test Driven Development and become a better PHP developer?
“Test-driven development” refers to a style of programming in which three activities are tightly interwoven:
- Coding
- Testing (in the form of writing unit tests)
- Design (in the form of refactoring)
It can be briefly described by the following set of rules:
- write a “single” unit test describing an aspect of the program
- run the test, which should fail because the program lacks that feature
- write “just enough” code, the simplest possible, to make the test pass
- “refactor” the code until it conforms to the simplicity criteria
- repeat, “accumulating” unit tests over time
-
August 30, 2022
Magento 2 is a modern PHP-based eCommerce framework. And as with every framework, it provides a command-line interface for performing different operations with the system. It includes installing a website, enabling additional plugins, modifying data, and performing maintenance activities such as caching, security, and performance-related commands. Magento 2 consists of a so-called Magento CLI that stands for Magento Command Line Interface that ships together with Magento 2.
How to run Magento 2 CLI with PHP?
Learn in the course: https://bit.ly/3SWKZ1I