Skip to Content

Drupal

roomify.us: Speeding up Behat tests for Drupal on the Travis environment

Planet Drupal - 27 January 2016 - 7:03am
Background Implementing continuous integration of behaviorally-driven tests is a fairly heavy-weight process. In order to run a comprehensive battery of test cases, it’s necessary to set up a complete testing environment for each commit. This involves things like:  downloading: a browser executable drush Drupal core  all dependent modules Behat itself Selenium installing Drupal instantiating an HTTP server Making this process as efficient as possible has many benefits, including preserving shared resources for public repos (or your money, for private repos!) and speeding up one’s entire development workflow. Below we will describe some of the tactics we employ to make testing on Travis faster.
Categories: Drupal

Drupal Accessability

New Drupal Modules - 27 January 2016 - 6:45am
Categories: Drupal

Search API Multilingual Solr Search

New Drupal Modules - 27 January 2016 - 6:10am

Search API Multilingual Solr Search for Drupal 8.x is the successor of Apache Solr Multilingual for Drupal 7.x and 6.x.

The code is already available in the 8.x-1.x branch of https://www.drupal.org/project/apachesolr_multilingual

But to increase the visibility of that module and to point out the relation to https://www.drupal.org/project/search_api we will move the 8.x branch to this new module soon.

Categories: Drupal

Modules Unraveled: 153 Protecting Drupal 8 Sites From Spam Using Honeypot with Jeff Geerling - Modules Unraveled Podcast

Planet Drupal - 27 January 2016 - 4:30am
Published: Wed, 01/27/16Download this episodeHoneypot
  • What is the Honeypot module?
  • What prompted you to contribute the Honeypot module? Why was it originally created?
    Flocknote (two employers ago) user registration
    A bunch of my blogs / comments
  • What methods or techniques does honeypot use to detect bots?
    A literal ‘honeypot’
    Time delay
  • What types of foms can it protect?
  • What’s different about Honeypot vs. other spam prevention modules like CAPTCHA and Mollom?
    Avoid punishing the user (explain)
Drupal 8 and Future of Honeypot
  • How did the port of Honeypot to Drupal 8 go?
  • Have you started developing new sites in Drupal 8? And if so, how’s that going?
  • How have spammers adapted to tools like Honeypot, and how do you try to keep ahead of them?” “More spam getting through Honeypot lately” (https://www.drupal.org/node/2646380)
Community Issues
  • You’re also involved a bit in other open source communities for projects like Ansible. How does the Drupal community compare? What are some things you would like to see improved?
  • Is there anything you’ve done to make sure you can continue to maintain this open source project among many others both on drupal.org and github, and not get burned out?
Episode Links: Jeff Geerling on drupal.orgJeff Geerling on TwitterHoneypotAnsible for DevOpsDrupal VMTags: SpamDrupal 8planet-drupal
Categories: Drupal

DrupalCon News: Submit a Session for DrupalCon New Orleans

Planet Drupal - 27 January 2016 - 1:09am

Think you’ve got Drupal or web smarts? We’re seeking mind-blowingly good sessions for DrupalCon New Orleans, and want to hear from you about what you know best.

We have a lot of opportunities to get your experience as part of the DrupalCon program and invite you to check out the multiple ways that you can share your knowledge and passion for Drupal after you look over our tips on how to get your proposal selected.

Categories: Drupal

RPN field

New Drupal Modules - 27 January 2016 - 12:58am

This module allows you to execute any RPN calculation on the value of a field
when a hook fires. The module will act on every fieldable entity argument of
the hook and then traverse recursively any entity references. Then it will
check every field of the entities and check for the third party setting called
rpn_field. If one is found, the value is treated as an RPN notation
calculation. The RPN stack starts with the field value.

Currently, there is no nice UI.

Let's say we want to give 1 point every time a node is inserted.

Categories: Drupal

I Fix Drupal: I Have Enabled Page Caching But No Pages Are Getting Cached. Why?

Planet Drupal - 26 January 2016 - 11:52pm
Recently we received a call for help. The client had produced a new website that was great to look at, packed with fresh content and ready to launch. There was just one problem, performance. Some pages, in particular those driven by Views that were returning a large amount of data, were taking way too long to load. Interestingly the client had found that enabling page caching was not helping, yet enabling Views caching did help, a lot. This observation led us to believe that something was telling Drupal that it should not cache pages. So over an IRC session we asked the client to search their...
Categories: Drupal

DrupalCon News: Announcing the DrupalCon Asia Developer Contest

Planet Drupal - 26 January 2016 - 7:52pm

Vroom vroom! Love Adventure? Love Drupal? Want to win a Royal Enfield Classic motorcycle? You're in luck!

The DrupalCon Asia Developer Contest is being sponsored by the great folks over at Azri Solutions and they've come up with one of the coolest developer contests we've heard of thus far. The challenge, should you choose to accept it, is this: create a beautiful, interactive visualization of the data found at https://www.drupal.org/drupalorg/api, and submit it via github no later than 11:59 PM IST on Thursday, February 18.

Categories: Drupal

ActiveLAMP: PSR-4 Class Autoloading with Drupal 7

Planet Drupal - 26 January 2016 - 7:00pm
You don't have to wait for Drupal 8 to start using PSR-4 namespaces. In this video, watch as we write a Views handler in a Drupal 7 module using the PSR-4 standard. Also, if you've never seen "Drush Quick Drupal" in action, watch how quickly a new Drupal site is spun up locally with the exact modules needed, downloaded and enabled by executing one Drush command, `drush qd`. Lots of hidden gems in this video, leave us a comment if you saw something you liked!
Categories: Drupal

OSTraining: Video: Train Your Staff for Drupal 8

Planet Drupal - 26 January 2016 - 3:01pm

In mid-January we held a webinar with Acquia, explaining how to train your team on Drupal 8.

This was an interesting webinar to run because it ended up being pretty different from our planning. There were two major changes:

  1. When scheduling the webinar, we intended to explain many of Drupal 8 training resources available. However, by mid-January, many contributed Drupal 8 modules didn't have stable releases and so most D8 training wasn't ready. So, in the webinar, we explaind when Drupal 8 training would be available.
  2. We were able to make a very cool surprise announcement. Watch to the end of the webinar for the big reveal.

From the webinar, here's an overview of when several important modules will be stable:

Categories: Drupal

Lullabot: One Year of Backdrop CMS with Jen & Nate

Planet Drupal - 26 January 2016 - 2:44pm
Matt & Mike talk with Backdrop CMS founding forkers Jen Lampton & Nate Haug about Backdrop now that Drupal 8 is released.
Categories: Drupal

BigPipe demo

New Drupal Modules - 26 January 2016 - 10:04am

See https://www.drupal.org/project/big_pipe.

This module makes it easy to visualize the impact BigPipe can have for a site. Because it's just a module that provides two blocks, it's very easy/unobtrusive to install on your site, to see what the impact would be of using BigPipe for your site.

Categories: Drupal

Palantir: Web Services in Drupal 8

Planet Drupal - 26 January 2016 - 9:30am

Web Services in today's applications and websites have become critical to interacting with third parties, and a lot of Drupal developers have the need to expose content and features on their site via an API. Luckily for us, Drupal 8 now has this capability built right into Core. Some contrib modules are attempting to make such capabilities even better, too.

To shed some light onto these new features, we've worked with Acquia to develop a webinar and subsequent series of blog posts to help get you up to speed with these exciting, new features. The first of these blog posts, Web Services 101, has been published on the Acquia Developer Center today, written by our very own Senior Architect and Community Lead Larry "Crell" Garfield.

Larry kicks off the series by laying out a comprehensive explanation of exactly what Web services are, providing a necessary and strong foundation for you to approach the exciting Web services developments new to Drupal 8. Look for his follow-up posts on Palantir.net in the coming weeks. And in the meantime, we have plenty more Drupal 8 content with Larry's .

This first post on Acquia is part of a 4-part series written by Larry, and Kyle Browning, of Acquia, based on a webinar that Larry and Kyle recently gave: Drupal 8 Deep Dive: What It Means for Developers Now that REST Is in Core.

Categories: Drupal

OpenLucius: Headless Drupal & Laravel | A blog concept in Laravel linked to a Drupal 8 REST API

Planet Drupal - 26 January 2016 - 9:30am

Lately I have been hearing a lot about Laravel. This is a PHP framework to build web applications and that is quickly gaining popularity. I wanted to test it to keep up to date with this current technology. So I thought: I will build a concept in Laravel to see how it works and to compare it with Drupal 8.

My goals:

  • A static page in which the content is loaded from a local database.
  • Build a list of Blog items which is fed from a Drupal 8 RESTful API (which I had previously built for Node.js).

Overall content of this blog:

  1. Introduction to Laravel
  2. Laravel’s foundation
  3. Installing Laravel
  4. Routing in Laravel
  5. Laravel’s Migration: management of the database structure
  6. Eloquent ORM: query the database
  7. HTML templating in Laravel: Blade and Views
  8. Loading data from a RESTful Drupal 8 API
Categories: Drupal

Book Search and Replce

New Drupal Modules - 26 January 2016 - 8:26am

Book Sar (search and replace) uses Views, Views Bulk Operations and Views Bulk Operations Search and Replace modules in order to deliver a view specific to working with books. Using this combination you can easily search through books, filter to the list you want, then replace body / title text values accordingly. It also adds in the ability to bulk revert items back 1 revision in their revision history.

Categories: Drupal

Acquia Developer Center Blog: Web Services 101

Planet Drupal - 26 January 2016 - 7:15am
Larry Garfield

Web developers are discovering that Web services have become critical to interacting with third parties -- whether on Web sites or in applications.

Many Drupal developers now have the need to expose content and features on their site via an API. Fortunately, Drupal 8 now has this capability in core. And some contributed modules are attempting to make it even better.

Tags: acquia drupal planet
Categories: Drupal

BlackMesh: Attend a sprint at one of the 40 Drupal Global Sprint Weekend locations, January 30 and 31!

Planet Drupal - 26 January 2016 - 7:14am
So many locations!

Drupal Global Sprint Weekend is January 30 and 31, 2016, and so far we have 40 locations all over the world.

You might think you can't help Drupal, that you should not go to a sprint… But anyone who has worked with Drupal before (content editors, site builders), can help at a sprint. So you should go to one! Bring your computer. :)

(No location near you? *You* can organize one. :) There is still time to add your small local sprint. Read the post and get your location listed!)

What will you do at a sprint? Work with others

You might have had a goal of contributing for a while, but when you tried before it may have been intimidating or frustrating.

This is your chance to change that! Working together is more fun, and we can learn so much from each other.

At the sprint, ask the organizer or another attendee what project they are working on. It might be Drupal Core, a Drupal 7 contrib project, a distribution, a translation, documentation, the Drupal 8 Handbook, porting a module to Drupal 8, or drupal.org infrastructure. Find out where their issue queue is.

Write down people's names and usernames that you meet.

Post comments on issues

All over the world, people work on Drupal every day (not just on Global Sprint Weekend). To coordinate this work, we post comments (and questions!) on issues, a lot.

For example, let's say after finding the issue queue, you want to help with some bugs.

Filter the list of issues to bugs. Pick one that looks interesting to you, and make a comment on the issue saying you are going to verify it and work on steps to reproduce. After a while, make another comment to post questions you have on the issue, or post some partial information you found out. Later, make *another* comment and update the issue summary and/or steps to reproduce.

Eat and have fun

Take care of yourself at the sprint. Take short breaks; stand up and stretch; walk around a bit. Spend a few quiet moments alone a couple times during the day.

If your location is not providing lunch, bring food with you. (Leaving for two hours in the middle of a sprint will not be a productive use of time.)

After getting their permission, take pictures of smiling people talking and working together, and post them.

Stick with a few issues

Do not measure your success, or the success of a sprint, with how many issues get touched. Stay with one or two issues, and work with a group to get them as close to done as possible.

If you were verifying a bug, ask around and find someone to fix the bug and work with them. :) Before starting to work on a fix, make sure they post a comment on the issue also, saying what you and they will be doing next.

Test a fix. Before starting to test a fix, post a comment on the issue saying what you will test (you should be posting comments on issues before starting to work on them, saying what you will do, is pretty important). Post questions about how to test, or post the result of your trying the fix. If you do not have a local environment to try out fixes, use SimplyTest.me.

Look at a patch or pull request and post questions about the fix, or post opinions you have about the solution. Or, ask around and find someone to look at the fix, and make sure they post a comment about it.

Keep gathering people on one or two issues until they get updated, fixed, reviewed, and tested (maybe doing that a few times).

Celebrate

Before leaving the sprint, post comments on issues summarizing any questions and posting partial work. Check with others at the sprint and make sure they post too. Some people don't want to say things in public on issues if they feel their work is not finished or not perfect. Let them see you did it and help them feel comfortable posting questions and half broken things.

Look back on what you got done that day, what you learned, and what barriers you had before the sprint, that you have now gotten over. Even small things add up over time.

You decided to attend a sprint. What next? Tell people you are going

The person organizing the location near you might be feeling a bit nervous and wondering if people will show up. Help them by RSVP'ing. Make a comment on their post saying you will attend, respond "yes" to their meetup, get a ticket through their event page, or use whatever method they have for signups.

Tweet (use the #SprintWeekend hash tag) and say you will be at X location.

Convince a friend to go with you.

Read more about sprints

Still curious about what sprinting will be like? Zsófi from Cheppers in Budapest wrote about what to expect at a Global Sprint sprint. And Leslie from OwnSourcing wrote about tools sprinters can get ready before hand (or go to a sprint to get help setting up).

Have questions?

Tweet using the #SprintWeekend hash tag, post a comment on the g.d.o wiki page, ask in the Mentoring Group, or ask in IRC in #drupal-contribute. -Cathy (YesCT)

Resources for Organizers DrupalSprints
Categories: Drupal

myDropWizard.com: How the "official" Drupal 6 Long-Term Support will work!

Planet Drupal - 26 January 2016 - 5:51am

As you may know, Drupal 6 will reach End-Of-Life (EOL) on February 24th, 2016. This means the Drupal community (including the Security Team) will no longer support Drupal 6!

However, a small group of commercial vendors will collaborate with the Drupal Security Team to take on Long-Term Support of Drupal 6! And myDropWizard is one of those Drupal 6 long-term support vendors. :-)

In this article, we'll answer the following questions:

  • What specifically will happen on February 24th?
  • What is the official Drupal 6 LTS?
  • How will the process work?
  • What will customers need to pay for?

Read more for the answers!

Categories: Drupal

InternetDevels: InternetDevels: 2015 wrap-up — infographics

Planet Drupal - 26 January 2016 - 5:22am

Embed code for Infographics:

Read more
Categories: Drupal

Acquia Developer Center Blog: Acquia U: "Making the world a better place, one Drupalist at a time." - with Amy Parker

Planet Drupal - 26 January 2016 - 4:09am
Image: Body: 

Part 2 of 2 - Amy Parker, the Director of Acquia University, and I sat down in Acquia's downtown Boston headquarters to talk about Acquia's technology boot camp, affectionately known as "Acquia U". In this podcast we talk about the diversity of candidate backgrounds, the candidate selection process, and go into what makes a successful Acquia "Ubie." We also talk about measuring the success of a program like this in human terms.

In part one, we went over the course and how it covers much more than Drupal. The curriculum is designed to produce people able to work in tech companies: Drupal and related technologies, agile methodologies, project management tools, trouble shooting tickets, presentation skills, and more. Listen to Part 1 to learn more.

Interview video - 14:30 min.

More Amy and Acquia U on the web!
  1. Acquia Podcast: Acquia U: "Jump in and own it. Kickstart your career." - meet Amy Parker
  2. Acquia Podcast with Keith Donaldson, Acquia U graduate, 2015: Drupal, the fastest way from idea to MVP
  3. Amy spoke with Brian Lewis in 2015 on Modules Unravelled Podcast 132, AcquiaU (here's the video of their conversation).
  4. Amy was a guest on DrupalEasy podcast 141 in 2014.
Guest dossier
Workflow: PendingNode rate: 0Make this a featured podcast: Author Logo: 
Categories: Drupal
Syndicate content


Google+
about seo