MAPLight.org is a Drupal site I’ve been working with for quite awhile. Their upgrade to Drupal 6 and redesign launched last week. We worked with Chapter Three for design and theming; and MAPLight’s excellent team for the idea, research, and quite detail-oriented QA. It is already getting some mentions in the media.
Both money and legislative data sources have modules to pull the same source data into your database. OpenSecrets Open Data for donations to U.S. Congress; Legislature for votes and more from GovTrack.us. MAPLight’s research is available in an API.
When using PHP functions such as array_map and preg_replace_callback, you are forced to pass in a single-parameter callback function, making it impossible to send additional context information to the callback. But it ain't necessarily so.
Function objects, aka Functors, are here to help.
I have an interesting problem, on a data migration project I'm currently working on. I'm importing a large amount of legacy data into Drupal, using the awesome Migrate module (and friends). Migrate is a great tool for the job, but one of its limitations is that it requires the legacy database tables to have non-composite integer primary keys. Unfortunately, most of the tables I'm working with have primary keys that are either composite (i.e. the key is a combination of two or more columns), or non-integer (i.e. strings), or both.
Table with composite primary key.
Jay just posted a blog post, called Building enterprise social communities with Drupal, sharing a white paper that we have written at Acquia. In this white paper, we answer questions like: what kind of social features Drupal supplies, why Drupal is the best choice for building a social site, what Drupal modules are useful when building a social site, and some examples of successful enterprise Drupal communities.
The reason we wrote this white paper is simple: many of the enterprise organizations that we talk to ask us these questions over and over again. Building social business sites is a very hot topic in the enterprise. The work environment in these organizations is evolving, and increasingly more, people want to connect, create, share and find people and information relevant to their work. Needless to say, not all social business sites are equal -- some are team collaboration sites, some are community sites, and others might be networking sites. They can exist behind the firewall for internal teams, or they can be external facing sites to engage with partners and customers.
Drupal has come a long way since Acquia Marina leapt onto the scene in 2008 with an unprecedented number of theme settings. Many themes followed suit, and we were thrilled at the extra power and flexibility that these theme settings gave to Drupal users. These theme settings had come out of lots of time spent in the forums and on IRC, finding out what site builders were constantly running up against and wished they had an easy way to change. We constantly got feedback about how great they were in the Acquia themes, and how much our customers enjoyed them in our premium Drupal themes.