Clicky

Blog

Content migration to Drupal 8

Drupal 8 brought a lot of changes to our CMF, to someone it seemed superfluous and very complex, but indifferent clearly didn`t remain. Today, it is, probably, the most popular type of work for freelancers - the transition to Drupal 8.

In a new branch, there is no such thing as an upgrade of the kernel; we can`t copy Drupal 8 files to the root of our site, for example on Drupal 7 and run update.php - as we did in previous releases of the engine.

Work with the database in Drupal 8

One of the innovations Drupal 7 was an object-oriented approach in the system of building queries to the database. The system was built on functions such as db_select, db_update, db_insert, etc. Direct query writing based on the db_query and db_query_range functions was also supported. The main advantages of this campaign are the lack of binding to a particular database and the convenience of code support.

New Improvements in Drupal 8

  Recently, in Drupal 8 has appeared significant improvements, unlike Drupal 6 and 7. Now, after the release of Drupal 8, it's easy to create and edit content, even for those who are not an expert in writing code, since the content editing options "on place ", improved preview and the ability to drag uploaded images greatly simplify life.

Creating modules in Drupal 8

In this article, we will look at the process of creating a module under Drupal 8.Namely: we will create two pages, one of which will add data to its "own" plate, and the second - will display its content in the desired form for
us. So let's start.

Setting up the environment

To start, you need to configure the environment for ease of writing code. You can use phpstorm to do this.

Microdata, JSON-LD and schema.org

What is MICRODATA?

   Microdata (also RDFa or Microformats) is a semantic markup HTML pages for describing their content.
Google and other major search engines support schema.org to structure the data. This dictionary notes the standard definitions of the main types of information on the page for the key elements. More than 10000000 of the sites use the dictionary shema.org for marking up its web pages.

The data on the page can be structured in three different formats:

Site. Why do you need it?

   It is unlikely that you will find today the company (at least in large cities),that don`t has its own internet site. Internet commerce and Internet advertising every year more and more gaining momentum because it is extremely advantageous over conventional methods of trading and advertising.

Pages

Quick Free Quote
We respect your privacy. NO SPAM No selling your personal data.
We will respond to your query & collect further details within 24 hours. Guaranteed!

Support

We are friendly people who love to talk. So go ahead and contact us.

Technologies

Awards & Certification