Newsfeeds

Jacob Rockowitz: The Webform module now depends on the Contribute module

Planet Drupal - 15 January 2018 - 3:59pm

After spending the past year experimenting with promoting paid services, talking about sponsored features, and adding an about section to the Webform module. I learned a lot, from my experiments, including not asking for forgiveness.

Importance of contributing to the Drupal community

Not enough people understand and/or realize the importance of contributing to the Drupal community. My last blog post discussed my hope of finding ways to help sustain my commitment and contribution to the Drupal community and ended by stating…

Convincing people that they need to contribute

The challenge is convincing people and organizations that they need to contribute to Open Source. Funding is an ongoing challenge for the Drupal community The problem could be that people don't understand the importance and value of contributing back to Open Source.

Nowhere in Drupal's user interface/experience is our community and Drupal Association promoted and/or acknowledged. Core maintainers are only included in the MAINTAINERS.txt file, which only fellow developers can access. Drupal is not a product that can to be sold but we are a community with an association that needs recognition, support, and contributions.

Everyone needs to be a member of the Drupal Association

It’s surprising how many people and organizations are asking for support in the Webform module's issue queue who are not members of the...Read More

Categories: Drupal

Drupal blog: Happy seventeenth birthday Drupal

Planet Drupal - 15 January 2018 - 2:30pm

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

Seventeen years ago today, I open-sourced the software behind Drop.org and released Drupal 1.0.0. When Drupal was first founded, Google was in its infancy, the mobile web didn't exist, and JavaScript was a very unpopular word among developers.

Over the course of the past seventeen years, I've witnessed the nature of the web change and countless internet trends come and go. As we celebrate Drupal's birthday, I'm proud to say it's one of the few content management systems that has stayed relevant for this long.

While the course of my career has evolved, Drupal has always remained a constant. It's what inspires me every day, and the impact that Drupal continues to make energizes me. Millions of people around the globe depend on Drupal to deliver their business, mission and purpose. Looking at the Drupal users in the video below gives me goosebumps.

Drupal's success is not only marked by the organizations it supports, but also by our community that makes the project more than just the software. While there were hurdles in 2017, there were plenty of milestones, too:

  • At least 190,000 sites running Drupal 8, up from 105,000 sites in January 2016 (80% year over year growth)
  • 1,597 stable modules for Drupal 8, up from 810 in January 2016 (95% year over year growth)
  • 4,941 DrupalCon attendees in 2017
  • 41 DrupalCamps held in 16 different countries in the world
  • 7,240 individual code contributors, a 28% increase compared to 2016
  • 889 organizations that contributed code, a 26% increase compared to 2016
  • 13+ million visitors to Drupal.org in 2017
  • 76,374 instance hours for running automated tests (the equivalent of almost 9 years of continuous testing in one year)

Since Drupal 1.0.0 was released, our community's ability to challenge the status quo, embrace evolution and remain resilient has never faltered. 2018 will be a big year for Drupal as we will continue to tackle important initiatives that not only improve Drupal's ease of use and maintenance, but also to propel Drupal into new markets. No matter the challenge, I'm confident that the spirit and passion of our community will continue to grow Drupal for many birthdays to come.

Tonight, we're going to celebrate Drupal's birthday with a warm skillet chocolate chip cookie topped with vanilla ice cream. Drupal loves chocolate! ;-)

Note: The video was created by Acquia, but it is freely available for anyone to use when selling or promoting Drupal.

Categories: Drupal

PreviousNext: Revisiting technical debt with simple expiry annotations

Planet Drupal - 15 January 2018 - 1:48pm

Managing technical debt is important for the health of all software projects. One way to manage certain types of technical debt is to revisit code and decide if it’s still relevant to the project and to potentially remove it. Doing so can reducing complexity and the amount of code developers are required to maintain.

by Sam Becker / 16 January 2018

To address this we’ve been experimenting with adding simple annotations to code, which indicate an “expiry”. A nudge to developers to go and reevaluate if some bit of code will still be needed at some point in the future. This can be integrated into CI pipelines to fail builds which have outstanding expiry annotations.

Some scenarios where this has proved to be helpful have been:

  • Removing workarounds in CSS to address bugs in web browsers which have since been fixed.
  • Removing uninstalled modules, which were required only for hook_uninstall.
  • Removing code that exists for features which are gradually being superseded, like an organisation gradually migrating content from nodes into a new custom entity.

Here is an real snippet of code we were able to recently delete from a project, based on a bug which was fixed upstream in Firefox. I don’t believe without an explicit prompt to revisit the code, which was introduced many months earlier, we would have been able to confidently clean this up.

// @expire Jan 2018 // Fix a bug in firefox which causes all form elements to match the exact size // specified in the "size" or "cols" attribute. Firefox probably will have // fixed this bug by now. Test it by removing the following code and visiting // the contact form at a small screen size. If the elements dont overflow the // viewport, the bug is fixed. .form-text__manual-size { width: 529px; @media (max-width: 598px) { width: 100%; } }

The code we've integrated into our CI pipeline to check these expiry annotations simply greps the code base for strings matching the expiry pattern for the last n months worth of time:

#!/bin/bash SEARCH_FORMAT="@expire %s" DATE_FORMAT="+%b %Y" DIRS="./app/modules/custom/ ./app/themes/" SEARCH_LAST_N_MONTHS=4 # Cross-platform date formatting with a month offset. case `uname` in Darwin) function date_offset_month() { date -v $1m "$DATE_FORMAT"; } ;; Linux) function date_offset_month() { date --d="$1 month" "$DATE_FORMAT" } ;; *) esac for i in $(seq 0 $SEARCH_LAST_N_MONTHS); do FORMATTED_DATE=$(date_offset_month -$i) SEARCH_STRING=$(printf "$SEARCH_FORMAT" "$FORMATTED_DATE") echo "Searching codebase for \"$SEARCH_STRING\"." grep -rni "$SEARCH_STRING" $DIRS && exit 1 done exit 0
Categories: Drupal

Freelock : New Year, New Website!

Planet Drupal - 15 January 2018 - 1:37pm
New Year, New Website! John Locke Mon, 01/15/2018 - 14:37

It's only taken two years since the release of Drupal 8 for us to get our own site updated... Cobbler's children and all. But finally, we are proud to unveil our shiny new site!

But wait, don't you tell your clients you don't need a new site?

Bootstrap Drupal 8 Drupal Commerce Drupal Migration Drupal Planet Drupal upgrade GraphQL React Vue.js
Categories: Drupal

Roy Scholten: 17

Planet Drupal - 15 January 2018 - 1:34pm
15 Jan 2018 17

Drupal is 17 years old today. Quite an achievement for a web software to stay around, let alone stay relevant for such a long time.

I’ve been around for 12 years. Quite a stretch as well. Getting involved in this open source project as a designer has taught and brought me a lot. I put quite a bit into it as well.

I get a lot of benefits from things I learned in Drupal that I can apply in other contexts.

  • Provide rationale for design decisions. So much typing in issue queue comments!
  • Help people see the other’s point of view and then come to a shared decision.
  • Or agree to disagree, then still make a choice.
  • An appreciation and at least a “gist of things” knowledge of the complexity of software development. It helps with clarifying scope, finding a good place to start, and understanding what is difficult and what can be relatively straight forward.
  • Pragmaticism over purism
  • Edge cases are important
  • There’s a difference between patience and stubborness
  • Accessibility, multilingual, extensibility, modularity are hard but worth it
  • If you can’t imagine why somebody would want do do X, it’s always from a lack of imagination from your part
  • There’s always so much more to do
  • There’s only so much you can do
  • When you start taking things personal it’s probably time to take a break
  • It’s amazing what people can get done when driven by a passion for doing a good thing and doing it well.

… and many returns!

Tags drupal drupalplanet open source
Categories: Drupal

A vivisection of Plague Inc: The Board Game (part 2) - Manufacturing and Design - by James Vaughan

Gamasutra.com Blogs - 15 January 2018 - 8:40am
I’m the creator of Plague Inc. and this is part two of a blog series detailing the lessons I learned when creating Plague Inc: The Board Game. Here I’ll focus on the manufacturing process - how I got the board game made and the company I worked with.
Categories: Game Theory & Design

Threads, digging a little deeper - by Brian Hapgood

Gamasutra.com Blogs - 15 January 2018 - 8:40am
Threads, digging a little deeper...
Categories: Game Theory & Design

Demystifying the Artificial Intelligence (AI) hype for game developers - by Nick Lim

Gamasutra.com Blogs - 15 January 2018 - 8:39am
AI has been hot lately, but what are the different types of AI. And how do they relate to games? Read on to find out.
Categories: Game Theory & Design

The camera angle as an expressive resource and narrative booster in video games - by Nadia Orenes

Gamasutra.com Blogs - 15 January 2018 - 8:38am
A few thoughts on the way we use camera angles on video games, and what we can learn from other media that make a more sophisticated use of them.
Categories: Game Theory & Design

I Am Overburdened, recap and numbers - by Tamás Karsai

Gamasutra.com Blogs - 15 January 2018 - 8:37am
It has been a little over two months since I released I Am Overburdened, my silly indie roguelike. Here's an in-depth analysis how the overall production and final numbers turned out.
Categories: Game Theory & Design

Why you Should Keep all Game Ideas to Yourself - by Michael Smith

Gamasutra.com Blogs - 15 January 2018 - 8:37am
Why you need to be protective of your game ideas as a developer
Categories: Game Theory & Design

Creating target movies with Unity - by Maciej Szczesnik

Gamasutra.com Blogs - 15 January 2018 - 8:36am
With the new Timeline feature and the help of the Cinemachine plugin creating target movies in Unity seems not only possible, but actually quite fun.
Categories: Game Theory & Design

PlayerProfile & ItemDatabase: offline games, server syncing and not getting murdered by the Game Designers - by Yanko Oliveira

Gamasutra.com Blogs - 15 January 2018 - 8:36am
In this 2nd Blood Runs Cold tech postmortem post, I talk about the solutions we built for continuous server syncing of our game's player data and the data-driven balancing toolset that allowed us to juggle 400+ ScriptableObjects and have 0 merge conflicts
Categories: Game Theory & Design

Game Development: Where To Start - by Connor Addis

Gamasutra.com Blogs - 15 January 2018 - 8:35am
If you are an avid video game player, a game developer is probably your dream job. Whenever you choose the desired icon, put on your headphones, and click “play”, a journey into a new world begins. But doesn’t it look awfully complicated?
Categories: Game Theory & Design

​Freedom of expression: A case study of the dialogue systems implemented in The Witcher 3 and Fallout 4 - by Preslav Petrov

Gamasutra.com Blogs - 15 January 2018 - 8:33am
In this blog post I examine the conversation systems in The Witcher 3 and Fallout 4, comparing them and analysing the design and cultural contexts of the systems, and their successes and failures.
Categories: Game Theory & Design

Doug Vann: Adding regular text into the Drupal Date Format field

Planet Drupal - 15 January 2018 - 8:31am

Q: "Can you add simple text to a Date Format value in Drupal?" A: YES! [This was news to me]
Preamble:
I was teaching a Drupal 8 class last week and a student asked if we could enter regular text [like the word "date"] into the Date Formate field. I tried it and, of course, some of the letters were translated into PHP Date elements rather than showing all the letters for the word "date."
Ex: "date : M-d-y" became "15am31America/Indiana/Indianapolis : Jan-15-2018" but what we wanted was "date : Jan-15-2018"

It was at this point that I got the bright idea to ESCAPE the letters by adding a BackSlash "\" infront of each letter. SURE ENOUGH!! Now I could see each letter instead of the date translation that each letter stood for.
So... I made this quick video to share with the world just incase someone else can benefit from this discovery!

p.s. I'm quite sure MANY have been using this "trick" for years. But I was excited to discover it on my own after a student brought the idea up! :-)

Link to video http://www.youtube.com/watch?v=gJO0t-KkjX0

VideosDrupal Planet

View the discussion thread.

Categories: Drupal

Personalize Location Context

New Drupal Modules - 15 January 2018 - 8:02am
INTRODUCTION

This module provides personalize contexts based on location data loaded
Smart IP module. There are two available contexts for now:

  • Country
  • City

Based on options for each of those contexts it is possible to setup
showing personalized content. Learn more about personalize README.txt
and project page of personalize module.

REQUIREMENTS

This module requires the following module(s):

Categories: Drupal

Dries Buytaert: Happy seventeenth birthday Drupal

Planet Drupal - 15 January 2018 - 7:52am

Seventeen years ago today, I open-sourced the software behind Drop.org and released Drupal 1.0.0. When Drupal was first founded, Google was in its infancy, the mobile web didn't exist, and JavaScript was a very unpopular word among developers.

Over the course of the past seventeen years, I've witnessed the nature of the web change and countless internet trends come and go. As we celebrate Drupal's birthday, I'm proud to say it's one of the few content management systems that has stayed relevant for this long.

While the course of my career has evolved, Drupal has always remained a constant. It's what inspires me every day, and the impact that Drupal continues to make energizes me. Millions of people around the globe depend on Drupal to deliver their business, mission and purpose. Looking at the Drupal users in the video below gives me goosebumps.

Drupal's success is not only marked by the organizations it supports, but also by our community that makes the project more than just the software. While there were hurdles in 2017, there were plenty of milestones, too:

  • At least 190,000 sites running Drupal 8, up from 105,000 sites in January 2016 (80% year over year growth)
  • 1,597 stable modules for Drupal 8, up from 810 in January 2016 (95% year over year growth)
  • 4,941 DrupalCon attendees in 2017
  • 41 DrupalCamps held in 16 different countries in the world
  • 7,240 individual code contributors, a 28% increase compared to 2016
  • 889 organizations that contributed code, a 26% increase compared to 2016
  • 13+ million visitors to Drupal.org in 2017
  • 76,374 instance hours for running automated tests (the equivalent of almost 9 years of continuous testing in one year)

Since Drupal 1.0.0 was released, our community's ability to challenge the status quo, embrace evolution and remain resilient has never faltered. 2018 will be a big year for Drupal as we will continue to tackle important initiatives that not only improve Drupal's ease of use and maintenance, but also to propel Drupal into new markets. No matter the challenge, I'm confident that the spirit and passion of our community will continue to grow Drupal for many birthdays to come.

Tonight, we're going to celebrate Drupal's birthday with a warm skillet chocolate chip cookie topped with vanilla ice cream. Drupal loves chocolate! ;-)

Note: The video was created by Acquia, but it is freely available for anyone to use when selling or promoting Drupal.
Categories: Drupal

Happy seventeenth birthday Drupal

Dries Buytaert - 15 January 2018 - 7:52am

Seventeen years ago today, I open-sourced the software behind Drop.org and released Drupal 1.0.0. When Drupal was first founded, Google was in its infancy, the mobile web didn't exist, and JavaScript was a very unpopular word among developers.

Over the course of the past seventeen years, I've witnessed the nature of the web change and countless internet trends come and go. As we celebrate Drupal's birthday, I'm proud to say it's one of the few content management systems that has stayed relevant for this long.

While the course of my career has evolved, Drupal has always remained a constant. It's what inspires me every day, and the impact that Drupal continues to make energizes me. Millions of people around the globe depend on Drupal to deliver their business, mission and purpose. Looking at the Drupal users in the video below gives me goosebumps.

Drupal's success is not only marked by the organizations it supports, but also by our community that makes the project more than just the software. While there were hurdles in 2017, there were plenty of milestones, too:

  • At least 190,000 sites running Drupal 8, up from 105,000 sites in January 2016 (80% year over year growth)
  • 1,597 stable modules for Drupal 8, up from 810 in January 2016 (95% year over year growth)
  • 4,941 DrupalCon attendees in 2017
  • 41 DrupalCamps held in 16 different countries in the world
  • 7,240 individual code contributors, a 28% increase compared to 2016
  • 889 organizations that contributed code, a 26% increase compared to 2016
  • 13+ million visitors to Drupal.org in 2017
  • 76,374 instance hours for running automated tests (the equivalent of almost 9 years of continuous testing in one year)

Since Drupal 1.0.0 was released, our community's ability to challenge the status quo, embrace evolution and remain resilient has never faltered. 2018 will be a big year for Drupal as we will continue to tackle important initiatives that not only improve Drupal's ease of use and maintenance, but also to propel Drupal into new markets. No matter the challenge, I'm confident that the spirit and passion of our community will continue to grow Drupal for many birthdays to come.

Tonight, we're going to celebrate Drupal's birthday with a warm skillet chocolate chip cookie topped with vanilla ice cream. Drupal loves chocolate! ;-)

Note: The video was created by Acquia, but it is freely available for anyone to use when selling or promoting Drupal.
Categories: Drupal

OSTraining: Create Charts in Drupal 8 with Views

Planet Drupal - 15 January 2018 - 6:50am

There are many ways to present data to your readers. One example would be a table or a list. Sometimes you would rather prefer to enhance such data with a graphical chart. 

It can ease understanding of large quantities of data. There is a way to make charts in Drupal with the help of the Charts module and Views.

In this tutorial, you will learn the basic usage of the module in combination with the Google Charts library. Let’s start!

Categories: Drupal

Pages

Subscribe to As If Productions aggregator