See Details Here
What's new?
I’ll list some changes with the theming system of Drupal 8 compared to Drupal 7. You may have got familiar with these in the Drupal 7 version. The bases are still remained, but they have changed in a new form. There may be some points you don’t understand, but don’t worry. I’ll explain them later. Now just take these as bullet points to remember.
Schema Api Drupal 7 and Drupal 8 not accept the datatypes Like data or datatime and generate the warning and sql syntax error while installing the drupal module in install
normally we Define like this:
'dob' => array( 'description' => 'Date of Birth', 'type' => 'date', 'not null' => FALSE, ),
See the dob datatype below the correct version of using
List of Most of File Type extension for drupal File field :
jpg, jpeg, gif, png, txt, doc, docx, xls, xlsx, pdf, ppt, pptx, pps, ppsx, odt, ods, odp, mp3, mov, mp4, m4a, m4v, mpeg, avi, ogg, oga, ogv, weba, webp, webm, zip, tar.gz, sql, sql.gz
Html Dom parser to Extract the HTML data from Html page
See the attached Zip file
Also you get the Whole description here LINK
To Enable Drupal 8 Error Reporting, Put This code at top of sites/default/settings.php.
error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('display_startup_errors', TRUE); $config['system.logging']['error_level'] = 'verbose';
https://stackoverflow.com/questions/3384204/what-are-namespaces
;Put this code in php.ini (C:\xampp\php\php.ini) zend_extension=php_opcache.dll [opcache] ; Determines if Zend OPCache is enabled opcache.enable=1 ; Determines if Zend OPCache is enabled for the CLI version of PHP opcache.enable_cli=0 ; The OPcache shared memory storage size. opcache.memory_consumption=64 ; The amount of memory for interned strings in Mbytes. opcache.interned_strings_buffer=4 ; The maximum number of keys (scripts) in the OPcache hash table. Only numbers between 200 and 100000 are allowed. ;opcache.max_accelerated_files=2000 ; The maximum percenta
Commands
Access monitor: mysql -u [username] -p; (will prompt for password)
Show all databases: show databases;
Access database: mysql -u [username] -p [database] (will prompt for password)
Create new database: create database [database];
Select database: use [database];
Determine what database is in use: select database();
Show all tables: show tables;
Show table structure: describe [table];
List all indexes on a table: show index from [table];