Drupal 8.4.x New Features
Submitted by Rogue Surfer on Fri, 01/12/2018 - 21:33
Drupal 8.4.x New Features
- OOPS not Procedural Coding
Drupal 8 is object oriented and Drupal 7 is primarily procedural. You need to work with Classes to implement your code rather than writing simple functions. OOPS programming is more flexible for module development.
Drupal 8 uses namespace. Namespacing ensures that your class does not conflict with another class of the same name.
- YML files
Drupal 8 uses .yml files instead .info files. .yml files
hook_menu() is now replaced menu class and route for URL to a callback function
Drupal 8 uses PHP annotations. Annotations are included in PHP comments and hold vital information about a class.
- Easy Authoring
Content Editors are now more than happy with new authoring tools, with WYSIWYG editor CKEditor now bundled with the core.
Preview of changes made, Content editing on the front-end, Rich Text and Quick Image attribute addition are key features for authoring in Drupal 8.
- Theme Engine : TWIG Format
TWIG is the new theme engine for Drupal 8, completely PHP-based, fast, secure and flexible. Web Developing process is now easy for front end developers as templates are written in a syntax that’s less complex than a PHP template.
TWIG documentation -> https://twig.sensiolabs.org/doc/2.x/intro.html
- Mobile Responsive
All themes are mobile responsive in Drupal 8 along with Admin theme. Mobile first approach is used for Drupal that adapt to all different screen sizes. Admin pages are also works on all mobile devices.
Drupal 8 boasts extensive multilingual features right out of the box. The admin interface has built-in translations. You can also create pages with language-based Views filtering and block visibility.
- Quick Edits
There’s something great about seeing something that needs changing and having the ease of access to change it—directly and quickly. Now Quick Edit is a backport of the Drupal 8 In-Place Editing For Fields. So if you’re logged into Drupal content is in front of you, edit the text directly for quick fixes and additions from the front-end.
- New Fields are added in the core
Date, Email, Link, Reference, Telephone
Views are included in the core.
- Built-In Web ServicesDrupal 8 now makes it possible to use itself as a data source, and output content as JSON or XML.
User can use font end to post data. Hypertext Application Language (HAL) is implemented in Drupal 8 and makes exploitation of web service capabilities less painful.
All entities are now using aching mechanism and Java scripts are used on demand. Page loading is fast now.
- Big Pipe
Big Pipe is part of core now and developers can optimize the site load performance for the end-user significantly.
- Guided Tour
Now the descriptive text is right under the help link. Users can click and then take the tour; pop-ups appear, explaining how this all works, one of the most helpful Drupal 8 features to newcomers. This feature helps to understand CMS activities for non-technical user.
Completely rewritten and are mostly standalone.