Home » Tags » Planet Drupal

Planet Drupal

This is a listing of Drupal-related articles and weblog entries that are of interest to the larger Drupal community.

Using HTTPRL for Parallelization: PHP Multitasking Without Forking With stream_select()

  • Posted on: 12 May 2012
  • By: Christefano Reyes

Did you know that PHP comes with a very powerful function called stream_select()? In short it's a wrapper for the select() system call. This allows for synchronous I/O multiplexing, or in sudo-code, a way to read multiple input/output streams without blocking; only selecting streams that are ready for I/O. In English this means that you can do parallel work from a single PHP thread without forking (forking a process is slow and complex in PHP).

In this talk at the High Performance Drupal meetup at Droplabs on May 1, 2012, Mike Carper (@mcarper) went over some code called the HTTP Parallel Request & Threading Library — or HTTPRL in short. Using PHP's stream_select() HTTPRL can send http requests out in parallel. These requests can be made in a blocking or non-blocking way. Blocking will wait for the HTTP response; Non-Blocking will close the connection not waiting for the response back. Non-Blocking requests are what make this better in comparison to cURL, better control over redirects is the other reason.

Coders with a Cause at Droplabs: Uniting the Drupal and Time Banking Communities

  • Posted on: 2 May 2012
  • By: Christefano Reyes

This past Saturday, April 28th, Droplabs hosted a barn raising and code sprint for the Arroyo S.E.C.O. Time Bank community, which brought together regulars from Droplabs and the Downtown Los Angeles Drupal group with members of time banking communities from neighborhoods all over the Los Angeles area, including Echo Park, Mar Vista, Palms, Culver City and Arroyo Seco.

The time banks are non-profit community collectives with a mission to facilitate the cooperative exchange of goods and services among its hundreds of members. Since September 2011, the time banks have been using Drupal to manage their community website and currency system at http://arroyoseco.timebanks.org. For more about time banking and the features in Community Weaver, see our video from the Downtown LA Drupal meetup that was recorded in February, 2012: http://droplabs.net/video/banking-on-drupal-at-the-echo-park-time-bank

There was something for everyone at this two-day event and we had a total of 26 people who attended one or both days. This was an excellent opportunity for the experienced developers in the Drupal community help mentor others into using Drupal's best practices for site development and getting some practical hands-on experience with the Features module.

We used the Features module and configuration-in-code methodology to help make feature development, maintenance and updates to their site much easier. The Features modules that we created are being prepared to share with TimeBanks USA, which will directly benefit the 370+ time banks that have their own sites that use the same Drupal distribution.

About the Barn Raising

After reviewing the agenda and task list, our group split into teams. The focus of one team, led by Ron Golan and Lee Vodra, was on reducing the organization's paper process and moving applications to join the time banks online using Webform.

In this photo, long-time Drupal developer Chris Paul led the team that created "Neighborhood" pages with Views, taxonomies and custom content types for the dozen or so communities that use a shared Community Weaver platform.

Banking on Drupal at the Echo Park Time Bank

  • Posted on: 12 March 2012
  • By: Christefano Reyes

In this presentation at the Downtown LA Drupal meetup on February 21, 2012, Autumn Rooney of the Echo Park Time Bank (@EPTimeBank) and Christefano Reyes (@christefano) of Exaltation of Larks (@LarksLA) presented on the concept and the practice of time banking and how Drupal is used in the organization to fully manage its currency system and economy.

As the recession and Occupy movement encourage people to reimagine work and how they get their needs met in the new economy, time banks are really catching on. Time Banking is a simple concept: you work for an hour, earn an hour credit, and spend an hour with someone in your time bank community. Time banks don't get penalized in benefit reductions or pay taxes because unlike market-based national currencies, time banks are more like charitable volunteering circles of mutual aid or relationship-based gift economies.

Autumn Rooney is a Los Angeles-based activist and community builder. In March, 2008, she co-founded the Echo Park Time Bank, a community collective whose purpose is to facilitate the cooperative exchange of goods and services among its hundreds of members. It's a pay-it-forward system that connects unmet needs with untapped resources. Recently, the Echo Park Time Bank migrated its time banking software to Community Weaver, a hosted Drupal platform provided by Time Banks USA, a non-profit that is dedicated to promoting and supporting time banking around the world.

Video: http://blip.tv/ladrupal/episode/5976671  
Comments: http://groups.drupal.org/node/205663#comments  

Marketplace.org Case Study

  • Posted on: 7 March 2012
  • By: Christefano Reyes

On November 14, 2011, the public radio program Marketplace from American Public Media — heard by more than 10 million people around the country each week — launched a new website built on top of our new Drupal 7 content management system.

At the Downtown LA Drupal meetup on January 17, 2012, at Droplabs, the team behind that project gave an "under-the-hood" tour of the site, shared its features and talked about about how it was made from concept to launch. Other topics of discussion included:

  • How to migrate 52,000 pieces of content from two different legacy CMSs into Drupal
  • How to change domains while moving to Drupal
  • How to increase your traffic instantly by 35 percent with search engine optimization and good planning
  • How to design and code for future enhancements
  • and, most importantly, what you should do differently

Presenters include: Matt Berger, Marketplace Digital Director; Paul Brent, Marketplace Interactive Designer; and Abhishek Taneja, Marketplace Lead Web Developer

Video: http://blip.tv/ladrupal/episode/5944371  
Comments: http://groups.drupal.org/node/191653#comments  

Installation Profiles as an "Everything in Code" Development Process

  • Posted on: 5 March 2012
  • By: Christefano Reyes

It seems everyone is talking about using Features for "everything in code" development, but what about installation profiles? In this presentation at the Downtown LA Drupal meetup at Droplabs on October 18, 2011, Victor Kane presents how this oft-overlooked part of Drupal core is available to us all and provides the tools needed for successful, repeatable development and deployment.

Victor Kane (@victorkane) is an Drupal developer and trainer with deep roots in the Los Angeles Drupal community. He is the author of Leveraging Drupal: Getting Your Site Done Right. This presentation is a continuation of his articles on the subject at http://awebfactory.com.ar/node/448 and http://awebfactory.com.ar/node/458

Video: http://blip.tv/ladrupal/episode/5660107  
Comments: http://groups.drupal.org/node/178254#comments  

Field Collection in Drupal 7

  • Posted on: 2 March 2012
  • By: Christefano Reyes

Ashok Modi (@BTMash) presents on Field collection, a Drupal 7 module that provides a "field collection" field to which other fields can be attached. This video was recorded at the Downtown LA Drupal meetup at Droplabs on November 15, 2011.

Video: http://blip.tv/ladrupal/episode/5743625  
Comments: http://groups.drupal.org/node/177624#comments  

AJAX and CCK Presentation by Steve Rifkin

  • Posted on: 1 March 2012
  • By: Christefano Reyes

In this presentation at the Downtown LA Drupal meetup at Droplabs on August 16, 2011, Steve Rifkin (@steverifkin) of Exaltation of Larks (@LarksLA), demonstrates the use of the Ajax module for Drupal. Steve defines a plugin to use with its API for both the module (PHP) and the Javascript API and demonstrates ajaxifying individual fields on a node that can be edited inline and then shows he did it.

If you've wished for inline editing on your Drupal website, this demonstration will be a good stepping stone for you.

Video: http://blip.tv/ladrupal/episode/5476649  
Comments: http://groups.drupal.org/node/168089#comments  

Downtown Los Angeles Drupal Job Fair: Build Your Team at Droplabs!

  • Posted on: 30 September 2011
  • By: Blake Senftner

Do you represent a company or organization that's looking for Drupal talent? Are you a freelancer or service provider who's looking for Drupal work?

Come and make new friends and turn new connections into long-term relationships at the next Downtown Drupal job fair on November 15, 2011. This event is being hosted by Droplabs, a Drupal event and coworking space in Downtown Los Angeles, the venue of the successful Downtown Drupal job fair in June, 2011.

LA Drupal Meetup and First-Ever Drupal Job Fair in Los Angeles

  • Posted on: 2 June 2011
  • By: Christefano Reyes

The next Downtown Los Angeles Drupal meetup is on June 21, 2011 and will be at Droplabs, a new Drupal event and coworking space in Downtown Los Angeles. You are invited for part or all of the 4-hour event, including LA Drupal's first-ever job fair at 6:00pm followed by a meetup with technical presentations, site showcases, open discussions and raffle prizes at 7:30pm.

The job fair is free and there are a limited number of tables for exhibiting companies and organizations. We no longer have a 30-person limit and everyone who signs up at http://groups.drupal.org/node/153134#signup will be able to attend.

Job fair at 6:00pm

Do you represent a company or organization that's looking for Drupal talent? Are you a freelancer or service provider who's looking for Drupal work? Come to Los Angeles' first-ever Drupal job fair, make new friends and turn new connections into long-term relationships.

Exhibiting companies and organizations include:

Pages