The following command will disable all cache types
php bin/magento cache:disable
If you would like to disable specific cache type, you should type command line
php bin/magento cache:disable CACHE_TYPE
The following command will disable all cache types
php bin/magento cache:disable
If you would like to disable specific cache type, you should type command line
php bin/magento cache:disable CACHE_TYPE
Run the following command to see the cache status
php bin/magento cache:status
Current status:
config: 1
layout: 1
block_html: 1
collections: 1
reflection: 1
db_ddl: 1
eav: 1
customer_notification: 1
config_integration: 1
config_integration_api: 1
full_page: 1
translate: 1
config_webservice: 1
Following are the main diffrence
WAMP stands for windows, apache, mysql, php. • XAMPP stands for x-os, apache, mysql, php , perl. (x-os means it can be used for any operating system.)
xampp is easy to use than wamp. • The best advantage of using wamp is that it is easy to setup configuration in wamp.
xampp cpanel is very nice and good for beginner. • Xampp start, pause and stop button work very nicely by functionality. • You can add other services to xampp also
XAMPP is more powerful and resource consuming than WAMP. • WAMP provides support for MySQL and PHP. • XAMPP provides support for MYSQL, PHP and PERL.
XAMPP also has SSL feature while WAMP doesn’t. • WAMP provides support for MySQL and PHP. • XAMPP provides support for MYSQL, PHP and PERL.
If your applications need to deal with native web apps only, Go for WAMP. • If you need advanced features as stated above, go for XAMPP.
As of priority, you cant run both together with default installation as XAMPP gets a higher priority and it takes up ports. • So WAMP cant be run in parallel with XAMPP.
Follow the below steps to create controller in Magento 2
Step 1: Create routes.xml file.
File: app/code/PHPCodez/First/etc/frontend/routes.xml Continue reading Create Controller in Magento 2
Use the following command
Get-Content FileName -Wait -Tail 10
Use the following command
ls * -r | sls 'String To Be Searched For'
Use the following command
ls * -r | sls ‘String To Be Searched For’
Follow the below steps to create a Magento 2 module – PHPcodez_First
Step 1: Create the folder for the module
Step 2: Create etc/module.xml file
Step 3: Create etc/registration.php file
Step 4: Enable the module Continue reading Magento 2 Module Development
The static view files deployment command enables you to write static files to the Magento file system .
The term “Static” means it can be cached for a site( images ,JS and CSS )
The term “View” refers to the presentation layer (from MVC).
Static view files are located in the pub/static directory, and some are cached in the var/view_preprocessed directory as well.
Static view files deployment is affected by Magento modes as follows:
Default and developer modes: Magento generates them on demand, but the rest are cached in a file for speed of access.
Production mode: Static files are not generated or cached.
You can deploy the static content by running the below command.
php bin/magento setup:static-content:deploy