PHP has an exception model similar to that of other programming languages but not as much powerful as other language like java. In Java if your code have possiblity for exception then it should be in exception block like connect to database othewise you can't compile your code . But in PHP you can write code without handling the exception even if your code can generate exception. Let me expain the basic structure of exception before going to explain this topic with code .

read moreComment count(0)

To create a Drupal 8 theme , Please do the following steps and It is good practice to place the contributed themes in a sub folder named "contrib" and your own themes in a folder named "custom". Let we want to create theme with name "mncplanet_d8_1"
Theme folder structure
Create folder mncplanet_d8_1under custom folder

| |-contrib
| | |-zen
| | |-basic
| |-custom
| | |-mncplanet_d8_1

Create following files and folders

read moreComment count(0)

I except you have basic knowledge about Drupal and here I'm focusing on providing information required before to start developmnet in Drupal 8 . This information will speed up your custom development.

Drupal 8 Entity API
How to load data for particular node id

1st way

read moreComment count(0)

The oops refer to object oriented programming structure and it is technique to provide solution to business. Let me explain this topics with the help of pratical examle.

Requiremnts : Supose I have client  runing companey with name 'ABC Pvt Ltd' and have 50 employees, He want show the list of the employees on webpage. [Note : I have not implemented database in solution and just explained oops conept]

When I received the requirements then I analysed the requirements and design these requirements into oops conept

read moreComment count(0)

When you are doing develpoment on Drupal8 platform one is most important thing that you need to do is configure your developmnent environment so that when you done any modification in code you can immedately see effect in browser without clear cache.  
Edit your settings.php file
Edit your sites/default/settings.php file and un-comment the code that includes an optional settings.local.php file.

read moreComment count(0)

1) Performance

The PHP 7 uses a brand new model engine called PHP-NG or Next generation. This engine improve the performance double that is if you run same application in PHP 7 then it approximately decrease 50% response time for the application

2) Spaceship operator

The PHP 7 introduce new operator called spaceship operator(<=>) and it used in sorting and comparison


// Integers

echo 1 <=> 1; // 0

echo 1 <=> 2; // -1

echo 2 <=> 1; // 1

// Strings

read moreComment count(0)

What is Drupal?

Drupal is the #1 platform for web content management among global enterprises, governments, higher education institutions, and NGOs. Flexible and highly scalable, Drupal publishes a single web site or shares content in multiple languages across many devices. Technology and business leaders transform content management into powerful digital solutions with Drupal … backed by one of the world’s most innovative open source communities

What makes an open source technology popular and favourable is:

read moreComment count(0)

Queries, in the form of SELECT statements, perform all the lookup operations in the database. Tuning these statements is a top priority, whether to achieve sub-second response times for dynamic web pages, or to chop hours off the time to generate huge overnight reports.The main considerations for optimizing queries are:

read moreComment count(0)

1) Object Oriented Programming Design Patterns

The D8 used OOPS with Symfony framework and all the Drupal concept such as Nodes,Entities,Fields,Views are now implemented using OOPS while  The D7 used  procedural programming.

2) Popular D7 modules are ported into D8 core.

Here are the modules that are ported to D8 core 

read moreComment count(0)