Newsfeeds

Oliver Davies: Debugging Drupal Commerce Promotions and Adjustments using Illuminate Collections (Drupal 8)

Planet Drupal - 23 October 2018 - 5:00pm

Today I found another instance where I decided to use Illuminate Collections within my Drupal 8 code; whilst I was debugging an issue where a Drupal Commerce promotion was incorrectly being applied to an order.

Categories: Drupal

jmolivas.com: Moving weKnow's personal blog sites from Drupal to GatsbyJS

Planet Drupal - 23 October 2018 - 5:00pm
Moving weKnow's personal blog sites from Drupal to GatsbyJS At weKnow , we've been using Gatsby with Drupal for projects lately as our decouple strategy. We decided to use the same approach for our personal blog sites, and the latest version of this blog was launched using GatsbyJS. What does this mean, We are no longer using Drupal? Yes , for this site we are no longer using the Drupal theme layer, Twig, theme preprocessing, and the always loved/hated render array. All the frontend was done using ReactJS a modern JS framework. And no , because Drupal is still used as the backend taking…
Categories: Drupal

agoradesign: Slightly advanced Apache Solr config for dummies

Planet Drupal - 23 October 2018 - 1:46pm
This time I'll share some lessons learned on trying to optizime Apache Solr configuration from my n00b perspective.
Categories: Drupal

Mobomo: The End of PHP 5.6 is Coming!

Planet Drupal - 23 October 2018 - 10:43am

PHP 5.6 will officially be no longer supported through security fixes on December 31, 2018. This software has not been actively developed for a number of years, but people have been slow to jump on the bandwagon. Beginning in the new year, no bug fixes will be released for this version of PHP. This opens the door for a dramatic increase in security risks if you are not beginning the new year on a version of PHP 7. PHP 7 was released back in December 2015 and PHP 7.2 is the latest version that you can update to. PHP did skip over 6; so don’t even try searching for it.

Drupal 8.6 is the final Drupal version that will support PHP 5.6. Many other CMS’s will be dropping their support for PHP 5.6 in their latest versions as well. Simply because it is supported in that version does not mean that you will be safe from the security bugs; you will still need to upgrade your PHP version before December 31, 2018. In addition to the security risks, you have already been missing out on many improvements that have been made to PHP.

What Should You Do About This?

You are probably thinking “Upgrade, I get it.” It may actually be more complicated than that and you will need to refactor. 90-95% of your code should be fine. The version your CMS is may affect the complexity of your conversion. Most major CMS’s will handle PHP 7 right out of the box in their most recent versions.

By upgrading to a version of PHP 7, you will see a variety of performance improvements; the most dramatic being speed. The engine behind PHP, Zend Technologies, ran performance tests on a variety of PHP applications to compare the performance of PHP 7 vs PHP 5.6. These tests compared requests per second across the two versions. This relates to the speed at which code is executed, and how fast queries to the database and server are returned. These tests showed that PHP 7 runs twice as fast and you will see additional improvements in memory consumption.

How Can Mobomo Help?

Mobomo’s team is highly experienced, not only in assisting with your conversion, but with the review of your code to ensure your environment is PHP 7 ready.  Our team of experts will review your code and uncover the exact amount of code that needs to be converted. There are a good number of factors that could come into play and affect your timeline. The more customizations and smaller plugins that your site contains, the more complex your code review and your eventual conversion could be. Overall, depending on the complexity of the code, your timeline could vary but this would take a maximum of 3 weeks.

Important Things to Know:
  1. How many contributed modules does your site contain?
  2. How many custom modules does your site contain?
  3. What does your environment look like?

The post The End of PHP 5.6 is Coming! appeared first on .

Categories: Drupal

Moderation state buttons widget

New Drupal Modules - 23 October 2018 - 10:26am

Provides an alternative widget for the moderation_state base field. States are displayed as clickable buttons that are toggled with ajax.

Categories: Drupal

Amazee Labs: Upgrading vs. Upcycling - How to stay ahead of the curve

Planet Drupal - 23 October 2018 - 10:18am
Upgrading vs. Upcycling - How to stay ahead of the curve

A full rebuild of a website can be a time consuming and expensive process. Upcycling is an incremental approach to relaunching existing websites. This blog will explain more about what upcycling is and why it might be the right choice for your website

Josef Dabernig Tue, 10/23/2018 - 19:18

Why upcycle?

Most websites will be rebuilt every three to six years to keep up with online trends, because of technical debt, or simply to refresh their appearance. At Amazee Labs, we have helped many clients transition from their legacy web systems onto Drupal 8 but not everyone is ready to do the move all at once. This is where upcycling can come into play.

As upcycling is intended to be an incremental approach it might not be suitable for every use case or every client. Upcycling de-prioritizes the “one-big-bang-launch-wow-effect” and allows us to partner with our clients to meet one primary goal: reduce time to market for big website improvements and maximising the value of time spent.

When to upcycle?

If you have a well-established web system that has been operational for several years, and you aren’t ready to spend the time and money to do a full rebuild, upcycling might be the answer.

 

As you can see, upcycling can be performed at any stage of an existing web project. Depending on the size of the upcycling project, we might transition from the maintenance and extension mode back to implementation. Alternatively you might do a smaller upcycling project within the maintenance & extension cycle. Large upcycling projects will often mean moving all the way back into a conceptual consulting & discovery mode before we start implementing new features or functionality.

What to upcycle?

We’ve designed an upcycling questionnaire to guide the conversation with the customer with regards to different aspects of the website. Although these are common areas for upcycling, we use this questionnaire as a starting point to discuss what will be the best fit for each project.  

For each of these upcycling areas, we have a set of questions to validate the potential and& need for upcycling. For example, when we talk about designwith regards to design we would ask if the look and feel of the website is perceived as outdated or if there are any inconsistencies within the current design implementation.

If we identify an area that could benefit from upcycling a potential for upcycling in such area is identified, we will provide a set of recommended steps for improvement. In this case that might be a design refresh, establishing a design system, or rebuilding the frontend.

We also provide upcycling case studies to show our clients what is possible with upcycling, and help build on their ideas to improve their website without starting from scratch,

How to upcycle?

Upcycling demands that we are in a position to split things up.

An example is Sonova.com. The main website has been running on Drupal 7 since 2014. Last year, we started relaunching individual country pages using Drupal 8. These new pages allow the content managers on the client’s side to benefit from the better editorial features of Drupal 8 early on without needing to wait for a relaunch of the entire website. Gradually we keep relaunching country page by country page on Drupal 8.

Sonova Country Page Version in Drupal 7

Sonova Country Page Version in Drupal 8

The next step in upcycling this site will be a relaunch of the main website on Drupal 8. When we are ready for that step we can build upon the incremental steps we started for the country pages.

As well as the additional editorial features, we also worked with the client to choose a different Drupal theme. . This means sites running on Drupal 7 feature a different design than the sites running on Drupal 8. So instead of merely optimizing for consistency across all country pages, together with the client, we chose to allow to innovate and bring newer design versions to the local markets without waiting for the relaunch of the whole site.

How does upcycling relate to decoupling?

If your site has some complex backend logic that you don’t want to rebuild but you are eager to relaunch the frontend, upcycling could be the solution. Usually, we would relaunch the frontend within Drupal’s theme layer. But in certain cases, it makes sense to relaunch the frontend as a decoupled site and then integrate the existing backend. We recently did this for a customer that wanted to get started with Drupal 8 but had some complex Drupal 7 Backend logic that needed to be maintained.

On the other hand, if the backend really needs an overhaul and you want to keep the existing frontend without rebuilding it, upcycling could work for that too, after decoupling the backend.

Decoupling your architecture will enable you to upcycle individual parts and bring value to the end user faster but it also comes at a price of added complexity. In the end, it’s important to compare the advantages and disadvantages

Pros of upcycling Cons of upcycling

Get the most out of your existing website infrastructure

Benefit from user experience, design or frontend performance improvements without the need to wait for a big relaunch

See your investments as quickly as possible

Potentially added complexity when maintaining two systems at once.

Potentially inconsistencies in the appearance if sections are upgraded separately.

Partly you need to invest into a legacy platform rather than spending everything on the new one

More details on upcycling can be found in this presentation.

What’s your experience & challenges when it comes to upcycling? Do you have an existing project that you would like to improve? Let us know in the comments or reach out via the contact form.

Categories: Drupal

Brid.TV Integration for Drupal

New Drupal Modules - 23 October 2018 - 9:26am
Integrates the Brid.TV video service provider into Drupal. Requirements

This module has no requirements, but integrates with the Media system and Paragraphs, if installed.

The module has been initially build to work with the Thunder distribution. If you're using a different system and experience problems, feel free to report your problems in the issue queue.

Features overview

Once installed, the module provides

Categories: Drupal

Innovation in mobile games - by Nikita Tolokonnikov

Gamasutra.com Blogs - 23 October 2018 - 7:30am
Everyone is talking about innovation when they start thinking about a new game. I would like to take a look at some outstanding mobile games, look at how they innovate and share my personal experience in this field.
Categories: Game Theory & Design

Drupal Modules: The One Percent: Drupal Modules: The One Percent — Termcase (video tutorial)

Planet Drupal - 23 October 2018 - 6:54am
Drupal Modules: The One Percent — Termcase (video tutorial) NonProfit Tue, 10/23/2018 - 08:54 Episode 49

Here is where we bring awareness to Drupal modules running on less than 1% of reporting sites. Today we'll investigate Termcase, a module which formats the capitalization of your taxonomy terms.

Categories: Drupal

Graveyard Keeper: How the graphics effects are made - by Svyatoslav Cherkasov

Gamasutra.com Blogs - 23 October 2018 - 6:52am
The summary of tips and tricks used in Graveyard Keeper to make different graphical effects and apply them on a pixel art picture.
Categories: Game Theory & Design

Activity emails

New Drupal Modules - 23 October 2018 - 6:25am

Send emails about site activity (create and update entities) to an email address given.

You can configure:
* Email address
* Enable / disable sending
* Template of the email

Categories: Drupal

Classic Tools Retrospective: The tools that built Deus Ex, with Chris Norden - by David Lightbown

Gamasutra.com Blogs - 23 October 2018 - 6:07am
David Lightbown interviews Chris Norden about the history of tools development for Deus Ex. Learn about how the team customized the Unreal Editor, developed dialogue and export tools, and created innovative lip-sync technology for this innovative FP-RPG.
Categories: Game Theory & Design

Motion sickness vs. cybersickness: Two different problems or the same condition?

Virtual Reality - Science Daily - 23 October 2018 - 5:56am
Contrary to previous research, severe motion sickness and cybersickness -- a type of motion sickness that stems from exposure to virtual reality -- may be considered the same clinical condition, according to researchers.
Categories: Virtual Reality

Tealium iQ API

New Drupal Modules - 23 October 2018 - 4:24am

Provides Drupal 8 Integration with the Tealium v2 API

Categories: Drupal

DrupalBASE: Creating interactive content in CKEditor with VisualN Embed (Video)

Planet Drupal - 23 October 2018 - 3:47am

In the video below we will show you how to create an interactive and informative content using based on a couple of xls files and a handful of images using just CKEditor wysiwyg.

Our goal is to create a demo article with info on emperor pinguins, containing an interactive chart, a map and a gallery. For that we are using just functionality provided by VisualN modules pack (with a couple of generic dependencies).

The structure of xls files is as follows (the last screenshot also represents images used):

Excel file containing colonies demo data Excel file containing colonies demo coordinates Images for colonies demo gallery

Each xls file contains a plain data table. The first row is used for data keys. Generally it can contain any keys - remapping is shown in the video. Actually remapping is required only for the first demo_data.xls file, since data_coords.xls keys already coincide with those used by LeafletMapBasic drawer.

Categories: Drupal

commerce_swisscom_easypay

New Drupal Modules - 23 October 2018 - 2:30am

Provides Commerce integration for Swisscom Easypay.

This payment gateway redirects to the user to the Swisscom Easypay checkout page. The purchase is charged via user's mobile phone bill.

Note: Payment only works for Swisscom customers with a mobile subscription.

Categories: Drupal

Audio Design for Interactive Narrative VR Experiences - by Larry, Yucheng Chang

Gamasutra.com Blogs - 23 October 2018 - 2:02am
Audio design for interactive VR narrative not only directly affects the immersion of the experience, but it also affects how the composer guides the audience’s emotion. This article shares some insights using The Price of Freedom as a case study.
Categories: Game Theory & Design

A Different Approach to Difficulty - by Alex Vu

Gamasutra.com Blogs - 23 October 2018 - 2:01am
A paradigm shift away from the idea that games should find more and more complex ways to serve players with different skill levels. But rather, they should give players with the tools to cook to their own palate, provided it is a meaningful experience.
Categories: Game Theory & Design

WeKnow: weKnow’s crew landing at BADCamp 18!

Planet Drupal - 23 October 2018 - 1:04am
weKnow’s crew landing at BADCamp 18!

Autumn is in the air… and part of the weKnow team is heading to BADCamp18, each one of them excited to share experiences, our team culture and contribute to strengthening ties among the members of the Drupal community.

This is a very special BADCamp edition as it sets a milestone in weKnow’s journey. Back in 2011, this was one of the first Drupal events that we attended in the USA. This year we increased the number to 8 attendants and we proudly became one of the event’s sponsors.

marketing Tue, 10/23/2018 - 08:04
Categories: Drupal

Picture Media

New Drupal Modules - 23 October 2018 - 1:03am

This modules implements missing integrations between Picture and Media modules. It implements following features:

  • Track entities (including nodes) that has embedded images using wysiwyg editors and those images use file displays using picture formatter with lazy loading enabled. It then loads lazysizes library to ensure lazy loading works even on cached pages.
Categories: Drupal

Pages

Subscribe to As If Productions aggregator