In computer science, type conversion, typecasting, and coercion are different ways of, implicitly or explicitly, changing an entity of one data type into another.
PHP does not require (or support) explicit type definition in variable declaration; a variable’s type is determined by the context in which the variable is used. That is to say, if a string value is assigned to variable $var, $var becomes a string. If an integer value is then assigned to $var, it becomes an integer.
Type Coercion means dealing with a variable type. In PHP a variables type is determined by the context in which it is used. If an integer value is assigned to a variable, it becomes an integer.
$phpcodez= 10; // $phpcodez is an integer
$bar = (boolean) $phpcodez; // $phpcodez is a boolean
API stands for Application Programming Interface to allow you access the data from an application. API can be called as a middleman between a programmer and an application. When the programmer calls for a request via the middleman, if the request is approved, the right data will be turned back.
Follow the below steps to create APIs
Web API configuration
In webapi.xml we are configuring access rights and API Interface that specified method will use.
File : app/code/PHPCodez/First/etc/webapi.xml Continue reading Magento 2 Create API
Here I am creating a module PHPCodez_Customers that will help us to create customers from commandline.
Create folders for the modul app/code/PHPCodez/Customers Continue reading Magento 2 Create Customers Using CLI
php bin/magento indexer:reindex
Typically, cache:clean deletes all enabled cache related to magento whereas cache:flush deletes the whole cache storage, whether its magento cache or any third party cache (whether enabled or disabled)
Architecture, testing, and performance. Changes in these areas empower developers to write better-quality code with higher performance and stability. Additionally, the re-architecture will provide developers with a more streamlined approach to customizations.
The system testing part of a testing methodology involves testing the entire system for errors and bugs. This test is carried out by interfacing the hardware and software components of the entire system (that have been previously unit tested and integration tested), and then testing it as a whole. This testing is listed under the black-box testing method, where the software is checked for user-expected working conditions as well as potential exception and edge conditions.
Abstraction is a conept that OOPs support where implementation are hidden,User can only see the representation of data or function.
Pramod T P
Email : firstname.lastname@example.org
Phone : +91 9961313773