Cấu trúc file, install, module views trong Drupal 8

Cấu trúc file, install, module views trong Drupal 8

Over the last few months, we've been covering the Drupal community's progress towards releasing Drupal 8.

Now that the first major deadline is only a week away, it's time to provide another update.

What's the state of Drupal 8?

Decemeber 1st is the feature freeze. What does that mean in practice? According to Dries, "No new features are allowed (unless specifically exempted), focus turns instead to API and UI clean-ups and polishing of existing features."

media_1353448009580.png

Here's the situation the seven official initiatives: http://drupal.org/community-initiatives/drupal-core.

Of the original six initiatives for Drupal 8, five are nearing completion. One initative (Design) was dropped and two new ones (Layouts) and (Views in Core) were added. All seven current initiatives are making good progress.

Cấu trúc file, install, module views trong Drupal 8

The File Structure

You can download and test Drupal 8 from http://drupal.org/node/572834.

When you extract the package, the first thing you might notice is that the file system has been altered.

Here's the current file and folder structure for Drupal 7:

media_1353436419429.png

And here's the file and folder structure for Drupal 8.

media_1353447250400.png

What happened is that as many of the core files as possible were moved into the /core/ folder.

With previous Drupal versions, the folder system was confusing. Many people uploaded modules and themes directly to the /modules/ and /themes/ folder, not knowing that those were core files.

Here's the content of the /core/ folder. You can see the similarities between this and the main Drupal 7 folder.

media_1353436452864.png

Installation

People who have installed Drupal 7 won't notice any difference with the Drupal 8 installation process.

However, both the requirements for running Drupal have changed with version 8. Drupal 8 requires PHP 5.3.5 and also that PHP magic quotes be turned off. Click here for the solution to that problem and click here for a full list of requirements.

media_1353439100323.png

Hello New Modules, Goodbye Old

The Modules link in the toolbar has been renamed to Extend, but the changes to much deeper than that. There have been widespread changes to the default modules. Many of those changes were made by the initiative teams.

media_1353439319202.png

Here are the new modues in Drupal 8:

  • Actions: Perform tasks on specific events triggered within the system.
  • Ban: Enables banning of IP addresses.
  • Breakpoint: Manage breakpoints and breakpoint groups for responsive designs.
  • Configuration manager: Allows administrators to manage configuration changes.
  • E-mail: Defines a field type for e-mail addresses.
  • Entity Translation: Allows entities to be translated into different languages.
  • History: Records which user has read which content.
  • JSON-LD: Serializes entities using JSON-LD format.
  • Language: Lets you configure a number of languages to be used on your website and provides language negotiation functionality.
  • Layout: Makes it possible to swap different page layouts.
  • Picture: Provides an image formatter and breakpoint mappings to output responsive images using the HTML5 picture tag.
  • RESTful Web Services: Exposes entities and other resources as RESTful web API.
  • Views: Create customized lists and queries from your database.
  • Views UI: Administrative interface for Views.
  • XML-RPC: Provides XML-RPC functionality.

And here are the Drupal 7 modules that haven't made the move to Drupal 8:

  • Blog: this was dropped.
  • Content translation: this was modified into Entity Translation.
  • Trigger: this was modified into Actions.

Views in Core

Out of all the new modules listed above, one has caused the most excitment. Views is here already! If you've used Views in Drupal 7, you'll feel at home and won't notice much of a difference in design or features.

media_1353439291043.png

Themes

Three of the default themes from Drupal 7 have been ported to Drupal 8: Bartik, Stark and the admin theme Seven. Garland has been dropped.

media_1353439270140.png

Going Forward

Look for another Drupal 8 update early next year. By that time, more radical improvements will probably be in the core, perhaps including a WYSIWYG editor, the Pathauto module, in-place editing and a new administrator toolbar.

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Hacker Jeremy Hammond - Anonymous từng bị FBI truy bắt

Hacker Jeremy Hammond - Anonymous từng bị FBI truy bắt

Tạp chí Rolling Stone kể về hành trình bắt giữ hacker Jeremy Hammond cuối năm 2012 cũng như mô tả sự hỗn độn của thế giới tin tặc với những con người tài năng, lập dị.

Hội thảo Drupal 8 xoay quanh sprint designed tại Belgium

Hội thảo Drupal 8 xoay quanh sprint designed tại Belgium

During the 5-day sprint, we worked on an impressive 51 critical issues, 28 of which are already fixed.

5 lý do để register for Drupal Dev Days tại Szeged

5 lý do để register for Drupal Dev Days tại Szeged

As you may have heard, Drupal Dev Days is going back to DrupalCon Europe 2008's host town Szeged, Hungary on March 24th to 30th, 2014!

Công ty diệt chuột T&C

 

Diet con trung