CRUD, (Create, Read, Update, Delete) models are used to manage data contained in the database, simple implementations can be written quite quickly, ideally, the basic CRUD implementation would be backed by corresponding interfaces. It’s always best to work with the interface as opposed to concrete… Read More »Magento 2: CRUD Models, Repositories & Interfaces
When moving between environments you might want to clear down any test data that has been generated. The below SQL commands have been tested with Magento 2.3.5-p1. Start with this command SET FOREIGN_KEY_CHECKS = 0; To clear quotes and orders Remove customer data Remove reviews… Read More »Magento 2: Removing Test Data
/etc/php/php7.3/cli/php.ini settings: xdebug.remote_enable=1 xdebug.idekey=PHPSTORM xdebug.remote_autostart=1 xdebug.remote_handler=dbg xdebug.remote_mode=req xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.max_nesting_level=300 xdebug.ide_key=’PHPSTORM’ xdebug.remote_connect_back=1 Run script with : php -d xdebug.mode=debug -d xdebug.client_host=127.0.0.1 -d xdebug.client_port=9003 bin/magento
A solid understanding of the Magento 2 platform would not be complete without a foundation on the principles of best practice front-end design and development practises.