Drupal

Drupal blog: A note from Dries on Drupal 8.6.0's release

Planet Drupal - 6 September 2018 - 8:35am

This blog has been re-posted and edited with permission from Dries Buytaert's blog. Please leave your comments on the original post.

Last night, we shipped Drupal 8.6.0! I firmly believe this is the most significant Drupal 8 release to date. It is significant because we made a lot of progress on all twelve of Drupal 8 core's strategic initiatives. As a result, Drupal 8.6 delivers a large number of improvements for content authors, evaluators, site builders and developers.

What is new for content authors?

For content authors, Drupal 8.6 adds support for "remote media types". This means you can now easily embed YouTube or Vimeo videos in your content.

The Media Library in Drupal 8.6

Content authors want Drupal to be easy to use. We made incredible progress on a variety of features that will help to achieve that: we've delivered an experimental media library, added the Workspaces module as experimental, providing sophisticated content staging capabilities, and made great strides on the upcoming Layout Builder. The Layout Builder is shaping up to be a very powerful tool that solves a lot of authoring challenges, and is something many are looking forward to.

The Workspaces module in Drupal 8.6

Each initiative related to content authoring is making disciplined and steady progress. These features not only solve for the most requested authoring improvements, but provide a solid foundation on which we can continue to innovate. This means we can provide better compatibility and upgradability for contributed modules.

The top 10 requested features for content creators according to the 2016 State of Drupal survey.

What is new for evaluators?

Evaluators want an out-of-the-box experience that allows them to install and test drive Drupal in minutes. With Drupal 8.6, we have finally delivered on this need.

Prior to Drupal 8.6, downloading and installing Drupal was a complex and lengthy process that ended with an underwhelming "blank slate".

Now, you can install Drupal with the new "Umami demo profile". The Umami demo profile showcases some of Drupal's most powerful capabilities by providing a beautiful website filled with content right out of the box. A demo profile will not only help to onboard new users, but it can also be used by Drupal professionals and digital agencies to showcase Drupal to potential customers.

The new Umami demo profile together with the Layout Builder.

In addition to a new installation profile, we added a "quick-start" command that allows you to launch a Drupal site in one command using only one dependency, PHP. If you want to try Drupal, you no longer have to setup a webserver, a database, containers, etc.

Last but not least, the download experience and evaluator documentation on Drupal.org has been vastly improved.

With Drupal 8.6, you can download and install a fully functional Drupal demo application in less than two minutes. That is something to be very excited about.

What is new for developers?

You can now upgrade a single-language Drupal 6 or Drupal 7 site to Drupal 8 using the built-in user interface. While we saw good progress on multilingual migrations, they will remain experimental as we work on the final gaps.

I recently wrote about our progress in making Drupal an API-first platform, including an overview of REST improvements in Drupal 8.6, an update on JSON API, and the reasons why JSON API didn't make it into this release. I'm looking forward to JSON API being added in Drupal 8.7. Other decoupled efforts, including a React-based administration application and GraphQL support are still under heavy development, but making rapid progress.

We also converted almost all of our tests from SimpleTest to PHPUnit; and we've added Nightwatch.js and Prettier for JavaScript developers. While Drupal 8 has extensive back-end test coverage, using PHPUnit and Nightwatch.js provides a more modern platform that will make Drupal more familiar to PHP and JavaScript developers.

Drupal 8 continues to hit its stride

These are just some of the highlights that I'm most excited about. If you'd like to read more about Drupal 8.6.0, check out the official release announcement and important update information from the release notes. The next couple of months, I will write up more detailed progress reports on initiatives that I didn't touch upon in this blog post.

In my Drupal 8.5.0 announcement, I talked about how Drupal is hitting its stride, consistently delivering improvements and new features:

In future releases, we plan to add a media library, support for remote media types like YouTube videos, support for content staging, a layout builder, JSON API support, GraphQL support, a React-based administration application and a better out-of-the-box experience for evaluators.

As you can see from this blog post, Drupal 8.6 delivered on a number of these plans and made meaningful progress on many others.

In future releases we plan to:

  • Stabilize more of the features targeting content authors
  • Add JSON API, allowing developers to more easily and rapidly create decoupled applications
  • Provide stable multilingual migrations
  • Make big improvements for developers with Composer and configuration management changes
  • Continually improve the evaluator experience
  • Iterate towards an entirely new decoupled administrative experience
  • ... and more

Releases like Drupal 8.6.0 only happen with the help of hundreds of contributors and organizations. Thank you to everyone that contributed to this release. Whether you filed issues, wrote code, tested patches, funded a contributor, tested pre-release versions, or cheered for the team from the sidelines, you made this release happen. Thank you!

Categories: Drupal

Vardot: Drupal 8.6 Released - 5 New Desired Features

Planet Drupal - 6 September 2018 - 8:33am
Mohammed J. Razem September 6, 2018

Drupal 8.6 was released yesterday and is being touted as the most significant update to Drupal 8 so far.  Browsing initiatives being undertaken by the Drupal community always gave an indicator towards the direction and future of Drupal. It’s easy to understand why the ever-growing community of Drupal users were eagerly anticipating this latest version which promises to focus on enhancing the user experience as a priority.

So, beyond the usual fixes and improvements typical of any update; Vardot decided to highlight the new features and capabilities included in the latest release.

 

1. Media Editing and Management

A new media library has now become a core feature of Drupal 8.6. This upgrade significantly enhances the experience of content publishers and content marketing teams’ performance in particular.

As an integrated feature of Drupal 8.6; the new media library can be customized based on your needs as a content editor and publisher. Upgrading your CMS to the latest update will enable you as a content marketer to easily edit, publish and manage your content:

  • High efficiency – The mundane task of re-uploading existing media content is a thing of the past now as all media content can be saved and browsed in the new media library available in Drupal 8.6.

  • Embedding made easy – the latest Drupal version features built-in stable support for embedding remote media. In particular; YouTube and Vimeo video content.

 

 

 

2. Workspaces

Since the Workflow module has become stable back in version 8.4; staging of multiple content changes at the same time (Workspaces) has been one of the Drupal community’s most requested improvements.

This has been duly delivered as an experimental Workspaces module in Drupal 8.6. A simple and intuitive user interface enables users to define workspaces, deploy multiple content items between them in a smooth manner.

The Workspaces module is steadily evolving but even at this experimental stage; it will prove to be a major upgrade especially for website who prefer or need to publish various changes at once.

 

 

3. Layout Builder

A much-anticipated tool that enhances the site-building experience and authoring capabilities.

Provide a drag and drop interface for creating layouts, which can apply both to overall site sections, as well as overridden on individual landing pages.

Web pages can be more dynamic, personalized and purpose-driven now that site builders can take advantage of the Layout Builder module in Drupal 8.6. The flexibility that users are provided to create unique layouts for unique content formats is an exciting feature which will undoubtedly continue to develop and become a stable key feature of the updates to come.

If you still need help enabling the layout features, OS Training made a clear and simple guide.

 

 

4. Meeting Evaluators Needs

Drupal has introduced a smoother installation out-of-the-box experience in the form of a demo profile dubbed ‘Umami Food Magazine’ which showcases the most powerful capabilities of Drupal and an overview of a variety of sample views and field types.

Recognizing the importance of a positive evaluator experience; Acquia CTO Dries Buytaert has outlined the Drupal 8.6 installation process in response to challenges that faced evaluators of early Drupal version experiences.

Importantly, the latest update includes major improvements to the download experience and documentation. Users can now download and install fully functional Drupal demo applications in under 2 minutes, whilst new users in particular can benefit from the revamped documentation found on Drupal.org.

 

 

5. Migration

According to the official release announcement; migrating your website from Drupal 6 and 7 to Drupal 8 has never been easier as almost all migration modules are stable.

Drupal Association’s Marketing Communications Manager writes: “Drupal 8.6 sees both Migrate Drupal (migrations from previous major Drupal versions) as well as Migrate Drupal UI (upgrade user interface) modules provide a solution to update older sites. This means that if you have a monolingual Drupal 6 or 7 site, you can now use a supported and built-in user interface to migrate your site to Drupal 8. Multilingual migrations are still experimental and now wrapped in the Migrate Drupal Multilingual module.”

This update has been anticipated by content editors and developers alike and we are sure that Drupal 8.6 will afford users and the community as a whole to pursue opportunities to innovate and improve upon the great advances made so far.

Did the latest update address your priority issues? If not, what are they?

Let us know what you think of the new update.

Categories: Drupal

OpenSense Labs: Drupal 8.6 Release and The Road Ahead

Planet Drupal - 6 September 2018 - 6:35am
Drupal 8.6 Release and The Road Ahead Akshita Thu, 09/06/2018 - 19:05

The Drupal community is relentlessly working towards achieving the goal of easy usability with each version. 

Not only has Drupal granted its users the ability to integrate futuristic technologies but also provided the marketers with compelling digital solutions. 

On September 5, 2018, Drupal 8.6 was released. And started the wave of enthusiasm and whispers among the stakeholders. 


Here's how much it has succeeded in living up to the expectations and what is to be expected from Drupal 8.7 release due in January 2019.

Drupal 8.6 is released. And this what you should be excited about! 

The Drupal core team releases new (minor) versions every six months. These contain bug fixes, security patches, or both.
  • Drupal Installation is Boring. Not Anymore. 

That’s true. My first experience was as blank as the fresh installed Drupal 8.3. “What am I supposed to do with this?”, I thought. 

WordPress, on the other hand, had something to fiddle with, at least. 

Version 8.6 brings with it Umami

A demo food magazine website to demonstrate features of Drupal core, Umami gives you dummy content to explore the CMS. Although released with 8.5, Umami is now part of the core under the out-of-the-box initiative. 

The goal is to add sample content presented in a well-designed theme, displayed as a food magazine. 

Using recipes and feature articles this will make Drupal look much better right from the start and help evaluators explore core Drupal concepts like content types, fields, blocks, views, taxonomy, quite easily. 

Upgrade to Drupal 8 with Complete Migration Guide

“This minor release provides new improvements and functionality without breaking backward compatibility (BC) for public APIs.”
  • Migrate With Ease

While not all Migration challenges are covered. Here are two of the important migration challenges addressed. 

  1. Backward compatibility
  2. ID Conflict with Node translation

You can read more about Drupal 8 migration challenges

When launched, Drupal 8 didn’t provide any sort of backward compatibility in modules and hence they were to be rebuilt in Drupal 8. 

However, this is solved with version 8.6. In fact, this is the first release of Drupal 8 to offer a fully supported migration path from Drupal 7. Several changes were needed to Migrate APIs to make this possible.

The most important migration module - Migrate - is not only, stable but adds up the ability to re-run migrations to pick up new content that was not available previously.

Another conflict with the multilingual website related to conflicting Node ids. Translations in Drupal 8 are stored in a completely different way than in Drupal 7 and Drupal 6. 

When migrating node data from Drupal 6/7 to Drupal 8, a lot of data would point to things that no longer existed.

The Drupal Release Cycle

Starting with Drupal 8.0.0, Drupal core releases moved to a new release cycle schedule, and begin using the semantic versioning numbering system. 

A release Window is decided for the site administrators (in advance) to look up for the days for a possible bug fix, security release, and minor feature releases. 

For any change in release date, a public service announcement is issued before the release.

First Wednesday of every month is fixed for    Bugfix release window for Drupal 8.5.x and 7.x
Third Wednesday of every month is fixed for security release window for Drupal 8.5.x and 7.x

  • Improved Editorial UI with Media Library

As an editor, you always want a seamless experience when editing. Be it with browsing blogs, or media that has been uploaded to the website.

The Media Library provides a views-based browser for previously uploaded media. 

With the new version, you can add media to content via a media field, either by selecting from existing media or by uploading new media (including basic bulk upload support).

  • Building a Custom Layout is a No-Brainer Anymore

Choosing a custom layout no more requires you to write down long lists of codes. But this is not the only thing that makes layout interesting. The layout feature applies to much more than just content types. 


Which implies that it can be used for media, contact forms, taxonomy, users, and more. 

Layouts allow you to build one of the individual fieldable entities which are completely customizable.

As a marketer, it won’t take much time for you to implement new ideas into a landing page. No more do you require adding contrib modules like Display Suits or Stacks for the job. 

The Layout helps to create one or more page sections and to choose from predefined options within them.

Seeing all the different issues and contributors in the release notes is a good reminder that many small contributions add up to big results. 
-Dries Drupal 8.7 - The Roadmap
  1. Streamlined bulk-upload form - An improved media bulk upload experience which exposes all fields on a single form.
     
  2. Media Metadata improvements - A simple and intuitive tool to configure the metadata-to-drupal-fields mappings on media entities.
     
  3. Faster Upload - Drupal 8 will officially support PHP 7 and drop support for PHP 5.5 and 5.6 with 8.7 release. PHP 7 is much lighter and faster than its previous versions, which means your site becomes quicker to load. 
     
  4. Bring migrate_source_csv to the core - The imported content remains in the CSV files and there is a code to read it and create the relevant entries. Having migrate_source_csv in core would allow the developers to remove that code and use migrate instead. This is important because the contenta CMS uses this for migrations.
     
  5. WYSIWYG integration - Ability to embed media into the content from the WYSIWYG editor. This will allow content creators to select from media library or create one by uploading an image without requiring any new APIs. 
     
  6. Editorial workflow config moving from content_moderation into a standard profile. This would help in smoother content staging. 
Drupal 8 to Drupal 9 Upgrade. What to Expect?

Over time, maintenance of backward compatibility would become more intricate. Thus, the point will be reached when too much of deprecated code is there in Drupal 8. At that time, deprecated systems will be removed and released as Drupal 9.

So, Drupal 9.0 should be almost similar to the last release of Drupal 8 excluding the deprecated code. Upgrading from Drupal’s latest version to Drupal 9.0.0 should be as streamlined as the upgrading of minor versions of Drupal 8 (eg. Drupal 8.5 to Drupal 8.6). Therefore, Drupal 9 offers a clean slate to innovate more swiftly.

Here’s What Content Editors Want...

Let me be a little selfish here. Yes, Drupal 8.6 looks really good to me and I look forward to working around that editor soon (because that is what concerns me, directly).  

As a content editor, I have numerous times faced issues which leave me frustrated. 

Improved media bulk upload, smart alt texts for code snippets, and meta information is something I actually look forward to. 

Uploading video (non-youtube content) can sometimes be a headache. 

There is still scope for major improvements to Drupal’s content workflow, preview and staging capabilities. It will be done by improving aspects of the Entity API in the core.

Future Important Dates

8.7.0 Feature Freeze: January 2019
8.7.0 Release: March 19, 2019

With all the mentioned features, I believe, the community is successful in making Drupal more intuitive and easy to use.  We provide upgrade assistance, connect with us, drop a mail at hello@opensenselabs.com for a faster upgrade. 

blog banner blog image Drupal 8 Drupal theme Drupal Umami Content Editing Drupal Layout Drupal Migrate Drupal Upgrade Drupal Multilingual Blog Type Articles Is it a good read ? On
Categories: Drupal

AddWeb Solution: ‘Promote Drupal Initiative’ - Drupal 8 will go places!

Planet Drupal - 6 September 2018 - 4:43am

Drupal, the most favoured open source platform, took a huge leap with the launch of its latest version - Drupal 8. Today, it is not a mere open source platform; rather an enterprise level web content management that is pledged to provide an ambitious digital experience. Despite of being the best on the technical front, Drupal 8 is facing issues in terms of visibility on a larger level. Today, the digital world is not just reigned by the technical people. A whole lot of non-technical and new decision makers has arrived, which affects and influences the market. This is where Drupal 8 was lagging behind and was missed from the eyes of these key influencers. And hence, arose the need of promoting it globally. Hence, ‘Promote Drupal Initiative’ came into the picture.

 

DrupalCon, Nashville, 2018 was when the founder of Drupal talked about the ‘Promote Drupal Initiative’ extensively. Highly suggested by the technical experts, Drupal 8 now needed to touch the base of non-technical influencers of the market and influence them. A hell lot of marketing, promotion, and upgradations was needed to be done in order to penetrate the radar of non-technical influencers of today. And Dries shared his plan to promote Drupal, divided into 4 different phases:

  1. Strategy and Planning

  2. Drupal.org Improvements

  3. Public Relations

  4. Events & Advertising

 

Drupal 8 has seen an impressive rise of 51% increase in its adaption over past 1 year. The technical experts were aware of the strength of Drupal 8, but the absence of the 3rd ‘P’ of marketing i.e. ‘Promotion’ made the non-technical decision makers unaware of what Drupal 8 is capable of doing. Dries in his keynote at the DrupalCon, Nashville mentioned that ‘Drupal Promote Initiative’ aimed at gathering the support of $100,000. The enthusiastic supporters of Drupal had already contributed, as a result of which the initiative had already yielded $54,000. Addweb too has contributed to this growth-oriented initiative with a very humble contribution, alongside other eminent contributors from across the globe.

 

This voluntary-based initiative has gained a huge momentum so far, which is enough to prove the robustness and competence level of Drupal 8. As a member of the most ambitious digital experience that Drupal 8 is, each member of the community is inclined towards fostering the ‘Promote Drupal Initiative’ and Drupal at large. Destined to meet the goal, the ‘Promote Drupal Initiative’ is going to elevate the market of Drupal 8 and eventually raising the bar of open source community a notch higher!

Categories: Drupal

Content type and batch example

New Drupal Modules - 6 September 2018 - 2:38am
Categories: Drupal

Image Sizes

New Drupal Modules - 6 September 2018 - 2:03am

Responsive image styles depend on the parent element width.

Using event driven dimensions change detection from http://marcj.github.io/css-element-queries .

Categories: Drupal

TIP Solutions: Great times to be working with Drupal

Planet Drupal - 6 September 2018 - 1:32am

Image by @grohsfabian

 

There is a lot going on in the Drupal community:

1. The biggest news is that version 8.6 was just released with many improvements. You can read more about the improvements here.

What we have waited for is availability to create files via REST request. Now when building mobile Apps we can easily interact with the backend when dealing with files like images.

Planet Drupal Drupalcon REST api mobile app
Categories: Drupal

Drupal 8.6.0 released

Dries Buytaert - 6 September 2018 - 12:23am

Last night, we shipped Drupal 8.6.0! I firmly believe this is the most significant Drupal 8 release to date. It is significant because we made a lot of progress on all twelve of Drupal 8 core's strategic initiatives. As a result, Drupal 8.6 delivers a large number of improvements for content authors, evaluators, site builders and developers.

What is new for content authors?

For content authors, Drupal 8.6 adds support for "remote media types". This means you can now easily embed YouTube or Vimeo videos in your content.

The Media Library in Drupal 8.6

Content authors want Drupal to be easy to use. We made incredible progress on a variety of features that will help to achieve that: we've delivered an experimental media library, added the Workspaces module as experimental, providing sophisticated content staging capabilities, and made great strides on the upcoming Layout Builder. The Layout Builder is shaping up to be a very powerful tool that solves a lot of authoring challenges, and is something many are looking forward to.

The Workspaces module in Drupal 8.6

Each initiative related to content authoring is making disciplined and steady progress. These features not only solve for the most requested authoring improvements, but provide a solid foundation on which we can continue to innovate. This means we can provide better compatibility and upgradability for contributed modules.

The top 10 requested features for content creators according to the 2016 State of Drupal survey.What is new for evaluators?

Evaluators want an out-of-the-box experience that allows them to install and test drive Drupal in minutes. With Drupal 8.6, we have finally delivered on this need.

Prior to Drupal 8.6, downloading and installing Drupal was a complex and lengthy process that ended with an underwhelming "blank slate".

Now, you can install Drupal with the new "Umami demo profile". The Umami demo profile showcases some of Drupal's most powerful capabilities by providing a beautiful website filled with content right out of the box. A demo profile will not only help to onboard new users, but it can also be used by Drupal professionals and digital agencies to showcase Drupal to potential customers.

The new Umami demo profile together with the Layout Builder.

In addition to a new installation profile, we added a "quick-start" command that allows you to launch a Drupal site in one command using only one dependency, PHP. If you want to try Drupal, you no longer have to setup a webserver, a database, containers, etc.

Last but not least, the download experience and evaluator documentation on Drupal.org has been vastly improved.

With Drupal 8.6, you can download and install a fully functional Drupal demo application in less than two minutes. That is something to be very excited about.

What is new for developers?

You can now upgrade a single-language Drupal 6 or Drupal 7 site to Drupal 8 using the built-in user interface. While we saw good progress on multilingual migrations, they will remain experimental as we work on the final gaps.

I recently wrote about our progress in making Drupal an API-first platform, including an overview of REST improvements in Drupal 8.6, an update on JSON API, and the reasons why JSON API didn't make it into this release. I'm looking forward to JSON API being added in Drupal 8.7. Other decoupled efforts, including a React-based administration application and GraphQL support are still under heavy development, but making rapid progress.

We also converted almost all of our tests from SimpleTest to PHPUnit; and we've added Nightwatch.js and Prettier for JavaScript developers. While Drupal 8 has extensive back-end test coverage, using PHPUnit and Nightwatch.js provides a more modern platform that will make Drupal more familiar to PHP and JavaScript developers.

Drupal 8 continues to hit its stride

These are just some of the highlights that I'm most excited about. If you'd like to read more about Drupal 8.6.0, check out the official release announcement and important update information from the release notes. The next couple of months, I will write up more detailed progress reports on initiatives that I didn't touch upon in this blog post.

In my Drupal 8.5.0 announcement, I talked about how Drupal is hitting its stride, consistently delivering improvements and new features:

In future releases, we plan to add a media library, support for remote media types like YouTube videos, support for content staging, a layout builder, JSON API support, GraphQL support, a React-based administration application and a better out-of-the-box experience for evaluators.

As you can see from this blog post, Drupal 8.6 delivered on a number of these plans and made meaningful progress on many others.

In future releases we plan to:

  • Stabilize more of the features targeting content authors
  • Add JSON API, allowing developers to more easily and rapidly create decoupled applications
  • Provide stable multilingual migrations
  • Make big improvements for developers with Composer and configuration management changes
  • Continually improve the evaluator experience
  • Iterate towards an entirely new decoupled administrative experience
  • ... and more

Releases like Drupal 8.6.0 only happen with the help of hundreds of contributors and organizations. Thank you to everyone that contributed to this release. Whether you filed issues, wrote code, tested patches, funded a contributor, tested pre-release versions, or cheered for the team from the sidelines, you made this release happen. Thank you!

Categories: Drupal

Dries Buytaert: Drupal 8.6.0 released

Planet Drupal - 6 September 2018 - 12:23am

Last night, we shipped Drupal 8.6.0! I firmly believe this is the most significant Drupal 8 release to date. It is significant because we made a lot of progress on all twelve of Drupal 8 core's strategic initiatives. As a result, Drupal 8.6 delivers a large number of improvements for content authors, evaluators, site builders and developers.

What is new for content authors?

For content authors, Drupal 8.6 adds support for "remote media types". This means you can now easily embed YouTube or Vimeo videos in your content.

The Media Library in Drupal 8.6

Content authors want Drupal to be easy to use. We made incredible progress on a variety of features that will help to achieve that: we've delivered an experimental media library, added the Workspaces module as experimental, providing sophisticated content staging capabilities, and made great strides on the upcoming Layout Builder. The Layout Builder is shaping up to be a very powerful tool that solves a lot of authoring challenges, and is something many are looking forward to.

The Workspaces module in Drupal 8.6

Each initiative related to content authoring is making disciplined and steady progress. These features not only solve for the most requested authoring improvements, but provide a solid foundation on which we can continue to innovate. This means we can provide better compatibility and upgradability for contributed modules.

The top 10 requested features for content creators according to the 2016 State of Drupal survey.What is new for evaluators?

Evaluators want an out-of-the-box experience that allows them to install and test drive Drupal in minutes. With Drupal 8.6, we have finally delivered on this need.

Prior to Drupal 8.6, downloading and installing Drupal was a complex and lengthy process that ended with an underwhelming "blank slate".

Now, you can install Drupal with the new "Umami demo profile". The Umami demo profile showcases some of Drupal's most powerful capabilities by providing a beautiful website filled with content right out of the box. A demo profile will not only help to onboard new users, but it can also be used by Drupal professionals and digital agencies to showcase Drupal to potential customers.

The new Umami demo profile together with the Layout Builder.

In addition to a new installation profile, we added a "quick-start" command that allows you to launch a Drupal site in one command using only one dependency, PHP. If you want to try Drupal, you no longer have to setup a webserver, a database, containers, etc.

Last but not least, the download experience and evaluator documentation on Drupal.org has been vastly improved.

With Drupal 8.6, you can download and install a fully functional Drupal demo application in less than two minutes. That is something to be very excited about.

What is new for developers?

You can now upgrade a single-language Drupal 6 or Drupal 7 site to Drupal 8 using the built-in user interface. While we saw good progress on multilingual migrations, they will remain experimental as we work on the final gaps.

I recently wrote about our progress in making Drupal an API-first platform, including an overview of REST improvements in Drupal 8.6, an update on JSON API, and the reasons why JSON API didn't make it into this release. I'm looking forward to JSON API being added in Drupal 8.7. Other decoupled efforts, including a React-based administration application and GraphQL support are still under heavy development, but making rapid progress.

We also converted almost all of our tests from SimpleTest to PHPUnit; and we've added Nightwatch.js and Prettier for JavaScript developers. While Drupal 8 has extensive back-end test coverage, using PHPUnit and Nightwatch.js provides a more modern platform that will make Drupal more familiar to PHP and JavaScript developers.

Drupal 8 continues to hit its stride

These are just some of the highlights that I'm most excited about. If you'd like to read more about Drupal 8.6.0, check out the official release announcement and important update information from the release notes. The next couple of months, I will write up more detailed progress reports on initiatives that I didn't touch upon in this blog post.

In my Drupal 8.5.0 announcement, I talked about how Drupal is hitting its stride, consistently delivering improvements and new features:

In future releases, we plan to add a media library, support for remote media types like YouTube videos, support for content staging, a layout builder, JSON API support, GraphQL support, a React-based administration application and a better out-of-the-box experience for evaluators.

As you can see from this blog post, Drupal 8.6 delivered on a number of these plans and made meaningful progress on many others.

In future releases we plan to:

  • Stabilize more of the features targeting content authors
  • Add JSON API, allowing developers to more easily and rapidly create decoupled applications
  • Provide stable multilingual migrations
  • Make big improvements for developers with Composer and configuration management changes
  • Continually improve the evaluator experience
  • Iterate towards an entirely new decoupled administrative experience
  • ... and more

Releases like Drupal 8.6.0 only happen with the help of hundreds of contributors and organizations. Thank you to everyone that contributed to this release. Whether you filed issues, wrote code, tested patches, funded a contributor, tested pre-release versions, or cheered for the team from the sidelines, you made this release happen. Thank you!

Categories: Drupal

Convertkit integration

New Drupal Modules - 5 September 2018 - 11:44pm

Integration with Convertkit.

Categories: Drupal

precision modifier

New Drupal Modules - 5 September 2018 - 10:00pm
Precision Modifier

This module allows site builders change precision and scale values of node fields of type decimal the have data associated with them.

Usage

Once the module has been downloaded and enabled, the following steps are required in order to change the
precision and scale of a field of type decimal:

Categories: Drupal

InternetDevels: Drupal 8.6.0 released with awesome novelties for websites!

Planet Drupal - 5 September 2018 - 9:55pm
https://internetdevels.com/sites/default/files/public/blog_preview/drupal_8.6.0_released.jpg" width="937" height="622" alt="Drupal 8.6.0 released with awesome novelties for websites!" />

Congrats to everyone on the release of Drupal 8.6.0! The new minor version of Drupal promises to be equally attractive for website users, owners, editors, and developers alike. Six months ago, when Drupal 8.5 was released, we approached it from a historic point of view, and described the exciting road from Drupal 8.1 to Drupal 8.5.

Read more
Categories: Drupal

Affinity Bridge: Use multiple PHP versions at the same Time!

Planet Drupal - 5 September 2018 - 3:13pm
Use multiple PHP versions at the same Time! 09/05/2018 - 15:13 planet drupal linux development Apple drupal apache php Arvand Soup Up your dev environment with Fast CGI process Manager : php-fpm

 

Say you have already set yourself up with a web development environment following Andy Miller’s macOs dev setup guides part one and part two. However one can grow tired of pulling that daily php version switch. The question is: Is there a way to run multiple instances of php side by side? Yes! There is a way. Let’s find out how:

 

STANDARD

Firstly, a quick recap on how things are currently wired up and how apache is capable of rendering a php file using x-httpd-php, and mod_php.

  • The apache_core enables apache to map the  to be handled by the SetHandler application/x-httpd-php. Notice that this application is under apache and is not stand alone.
  • Apache then knows what module to load as a single php apache module as defined in /usr/local/etc/httpd/httpd.conf. For example a php5 module definition is something like: LoadModule php5_module /usr/local/opt/php@5.6/lib/httpd/modules/libphp5.so
  • Moreover, when dealing with a PHP file, apache will use CGI by launching a process -> initializing the environment -> digesting the request -> returning the result. in a nut shell FCGI is the protocol that web servers (like apache) use to delegate work to other processes
  SOUPED-UP

We are going to no longer use the mod_php and instead replace it with stand-alone php-fpm processes. In other words php-fpm is a php daemon that's configured to listen and respond to the FCGI protocol This means that we need to start/stop php independently of apache. The proxy_fcgi_module is used so that the SetHandler can connect to the php-fpm socket. I m going to go through this step by step for adding the php version 5.6 later you can follow the same steps to set up other php versions.

Step 1 - proxy_mod

Add the proxy modules: In your /usr/local/etc/httpd/httpd.conf find the commented lines below and uncomment:

 

LoadModule proxy_module lib/httpd/modules/mod_proxy.so LoadModule proxy_fcgi_module lib/httpd/modules/mod_proxy_fcgi.so   Step 2 : Configure php-fpm

Copy the listen path: In your /usr/local/etc/php/5.6/php-fpm.conf find the listen path and copy it someplace safe. We have to point our vhost to this listen path in the next step

 

listen = /usr/local/var/run/php56-fpm.sock

 

Set up your log paths: In the same file /usr/local/etc/php/5.6/php-fpm.conf look for both Error_log & Access_log. Uncomment and set:

 

error_log = /Users/YOURNAME/sites/log/5.6/php-fpm.log access.log = /Users/YOURNAME/sites/log/5.6/$pool.access.log

 

Set your User/Group Again In the same file /usr/local/etc/php/5.6/php-fpm.conf look for user and group. Change them from _www to whatever user and group you have set your apache to:

 

user = YOUR_APACHE_USER group = YOUR_APACHE_GROUP   Step 3 : Re-configure your Vhost

Add a new ServerAlias In /usr/local/etc/httpd/extra/httpd-vhosts.conf add a server alias that is version specific. In this case php56 seems reasonably simple and clear. (note that this depends on the dnsmsq wildcard in this example my host is *.test)

 

ServerAlias *.php56.test

 

Redefine your SetHandler As mentioned we will use the proxy handling. Change the application/x-httpd-php to the following: ( with respect to VirtualDocumentRoot beings set to /Users/YOURNAME/sites/%1/public_html ). This has to match the listen path you gathered in step 2. Note that I d like to pass the socket to a designated port on the fcgi side ie: 8056 for 5.6 version.

 

SetHandler "proxy:unix:/usr/local/var/run/php56-fpm.sock|fcgi://localhost:8056"

 

Add Directory specifications:

 

DirectoryIndex index.php index.html Options Indexes MultiViews FollowSymLinks Require all granted AllowOverride All   Step 4 : Run php-fpm

Fire up your php-fpm: Running the php-fpm with flag -D will force the process to run in the background

 

/usr/local/opt/php\@5.6/sbin/php-fpm -D

 

Test your local. You can verify the php-fpm process on Activity Monitor.

Step 5 : Repeat the steps 2 - 4 for other versions of php (7.x). In this case 7.2.

full vhost:

 

ServerAlias *.php72.test VirtualDocumentRoot /Users/YOURNAME/sites/%1/public_html SetHandler "proxy:unix:/usr/local/var/run/php72-fpm.sock|fcgi://localhost:8072" DirectoryIndex index.php index.html Options Indexes MultiViews FollowSymLinks Require all granted AllowOverride All

 

Error handling: change the /usr/local/etc/php/7.2/php-fpm.conf

 

error_log = /Users/YOURNAME/sites/log/7.2/php-fpm.log access.log = /Users/YOURNAME/sites/log/7.2/$pool.access.log

 

Fire up your php-fpm:

 

/usr/local/opt/php\@5.67.2/sbin/php-fpm -D

 

And now Restart apache and test away.

Last thing to do is to add the start scripts for your php-fpm to your startup login items.

A quick note:There are other ways you could route your php version. One way that was not mentioned above is to place the web projects in different folder bins and instead of setting your ServerAlias rather configure the Directory.

  Conclusion

Move your dev environment from mod_php to php-fpm and not only you easily can switch between projects without the hassle for reconfiguring your apache but also enjoy the high performance.

As a reminder, this post focuses on local development environment and assumes that security and heavy request load are both not a concern. Although you can find the perfect balance for your production servers with the right tweaks as well as a security in mind; I d leave that discussion out for another post. Just incase if memory is a concern you can always tune your memory usage so it won't deprive other processes. Happy deving!

  

Image credit: Jonathan Elliott : https://www.flickr.com/photos/jon3lliott/  
Categories: Drupal

Coral Talk

New Drupal Modules - 5 September 2018 - 12:49pm

This project helps integrate the Talk commenting service from Mozilla's Coral Project.

Note: Development is not associated with Mozilla or the Coral Project.

Categories: Drupal

Hook 42: The Great Plains of Drupal Contributions

Planet Drupal - 5 September 2018 - 8:37am

AmyJune is venturing to the Great Plains of DrupalCorn Camp to spread her love of giving back to Drupal! Not only will she be training folks on how to navigate the issue queue, she will be leading Contribution Day, and teaming up with Lisa McCray and Marc Drummond to promote diversity and inclusion.

DrupalCorn Camp is four corn-filled days in September, the 17th through 30th in Des Moines, Iowa.

Categories: Drupal

Drupal Association blog: Board Meetings at Drupal Europe

Planet Drupal - 5 September 2018 - 8:10am

Drupal Europe is right around the corner! Just like previous large European Drupal Conferences, part of the week includes Drupal Association Board meetings. Below is a summary of their activities and agendas. We hope you will join the public board meeting in person or virtually.

Board Retreat

The Drupal Association Board of Directors will convene over the weekend before Drupal Europe to discuss:

  • Executive and Committee updates

  • A vote to approve the board nomination for 4 seats

  • Succession planning

Public Board Meeting

The Board of Directors will hold an open board meeting on Monday, September 10 from 11:00 - 13:00 CEST in the Darmstadtium, Room 3.07 Argon. We welcome you to attend in person or virtually.

The agenda will include an executive update with a special focus on the upcoming GitLab integrations as well as program updates from staff and more exciting news. There will be 10 minutes for the community to ask the board and staff questions.

Categories: Drupal

Youtube playlist

New Drupal Modules - 5 September 2018 - 7:27am

Display youtube playlist at drupal block.

Categories: Drupal

Form API Error Messages

New Drupal Modules - 5 September 2018 - 7:05am

This module provides a class to replace default error messages (at the moment for numeric constraint validations only).

At the moment it is just an example, but it could be a way to improve how core handles this or use its own validations.

Categories: Drupal

Web Wash: New Media Management Functionality in Drupal 8.6

Planet Drupal - 5 September 2018 - 6:30am

Drupal has got new media management functionality in 8.6. In the above video, you demonstrate what new media functionality we have in Drupal 8.6.

Thanks to the Media in Drupal 8 Initiative, media handling in Drupal has been getting better with every new Drupal 8 release. In 8.4 we got the experimental core Media module. Then in 8.5, the module moved from experimental to stable and now it's the recommended way for storing media assets. Now in Drupal 8.6 we get a few extra goodies such as oEmbed support, a Remote video media type and a media library.

Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal