Home / Resources / Blog / Technology

Technology

Drupal 7 Apache Solr Search Mastery

It is day two at Drupalcon Copenhagan, and Robert Douglass and I presented this afternoon on Apache Solr Search Mastery. While the concepts in this talk apply to the Drupal 6 versions, all the code examples are taken from the Drupal 7 port of the Apache Solr module. Changes in the Drupal 7 version include wrapping all the data for the Solr query into the $query object and transforming the CCK integration from 6.x-2.x into an integration with the Drupal 7 Field API. Of... More

Drupal Security Presentation at Drupalcon

Drupalcon has started! I had the pleasure this morning of giving one of the sessions in the first time slot at Drupalcon Copenhagen. It was treat to present "Drupal Security for Coders and Themers" with Jakub Suchy from Dynamite Heads and one of my colleagues on the Drupal Security Team. One of the goals of the security team is to help educate the Drupal community about secure coding, secure configuration, and best practices for running a Drupal site. Attached here... More

Drupal Gardens gets beautiful image galleries and a new look in the August 20th update

In the last Drupal Gardens survey of site builders, the #1 requested item was image galleries.  We wanted Drupal Gardens' galleries to be built on Drupal 7's new files and fields architecture, and developed using the powerful media and styles modules.   After working on these modules to support galleries, we turned our efforts to finishing an easy to use Drupal 7 lightbox and media-based gallery module leveraging the fantastic... More

Drupal 7: Get Real, Get Dirty, and Get It Done

Yesterday I participated in the Drupal 7 code sprint with a host of excellent people. We made good progress and also talked about the state of the Drupal 7 release. Apparently Moshe and I came to a very similar conclusion about what needs to be done and both decided to blog about it; in fact I stole the title of this post from him. Drupal 7 has been in development for 2.5 years. The good news is that we are finally, finally reaching the end. As I write this, there are only 8... More

Details about the new Drupal 6 release process

Ever since Drupal uses major versions for compatibility changes and minor versions for bugfix and security updates (since Drupal 5), it was most often the case that a new minor Drupal release included bugfixes and security fixes packaged into one update. The process to bundle bugfixes and security fixes into one was so common that the Drupal 6.17 release that did not include security fixes but only covered bugs was a grand surprise to many people. We have even seen "security researchers" who ran automated version detection scripts, and considered... More

Module authors: In SQL, don't assume INCREMENT(1) == 2

Trivia question: Suppose you execute the MySQL queries CREATE TABLE t1 (  id INT UNSIGNED NOT NULL AUTO_INCREMENT,  n INT NOT NULL,  PRIMARY KEY (id))INSERT INTO t1 (n) VALUES (100)INSERT INTO t1 (n) VALUES (200) What are the values for the id column in your two rows? If you said "1 and 2", you are in good company but you are mistaken. If you want your module to be good enough to run on Drupal.org or Acquia Hosting some day, keep reading. The correct answer is "they could be anything." On Acquia Hosting, the results are: mysql> SELECT * FROM t1;+----+-----+| id | n   |+----+-----+|  1 |... More

Problem with the Drupal learning curve

What's so wrong with saying "Drupal has a steep learning curve?" Well, it's not the most helpful analogy. And it's one of my pet peeves. I agree, it is a myth. Yes it is. We have to keep in mind that the curve is not the path, and the initial sensation of difficulty comes from getting one's habits unstuck. Using this tired analogy... More

Views for the average Joe

The primary goal of DrupalGardens is to maximize Drupal adoption. Since Drupal adoption amongst developers is taking off like a rocket ship, we’ve focused the majority of our attention on site builders and designers. To succeed at attracting these types, Drupal—and the modules we’ve decided to include—need to be easy to use. My latest endeavor is to simplify Views. The vast majority of Drupal sites use Views but learning it is a challenge. For designers inexperienced with Drupal (our primary target), Views is just too hard. Simple Views is closer, but unfortunately Simple Views isn’t... More

Membase and Drupal

Barry and I just met with a team from Northscale -- the startup formed to support and extend Memcached, the popular key-value cache used by the largest web sites. We learned about their new database project, Membase, and talked about how it could help high-volume Drupal sites including our Acquia Hosting customers. Membase is built on the core Memcached technology and supports the Memcached API. I'm excited about what they've done to extend Memcached: Persistence: Today, while Membase includes its forerunner's fast in-memory key-value store, it also persists data to disk. If you reboot your... More

Pipe Dream: Geographically Distributed Drupal

The speed of light is, unfortunately, still a constant. If your Drupal site has users in San Francisco, New York, London, Tokyo, Delhi, and Australia (and whose doesn't?), you've had no good way to give all of them fast access to your site. No matter where you put your master database server, most people have to cross an ocean to access it. Perhaps you can put read-only slave databases with local web servers in locations around the world, but then the remote users still have a long haul when they want to log in and create content---which is, after all, what your Drupal site is for. I am... More

Recent Acquia Hosting Updates

The hosting team at Acquia has been busy! While we continue to focus on making Acquia Hosting the most reliable and scalable Drupal hosting service anywhere, we've recently made significant enhancements to its usability and to the data we provide our customers. First up are several improvements to our Acquia Hosting UI. We've added a new tab to show statistics at several points in the hosting stack including before and after the front end cache and well as a count of total Drupal requests. For more detail, please read Kurt Gray's... More

Drupal 7, the cocoon and the butterfly

There exists an interesting story about a man and a butterfly cocoon. It is about a man that found a cocoon, and brought it home to watch it turn into a butterfly. As the butterfly inside matured, it struggled to get out of its cocoon, but couldn't quite get free of it. One day, the man became tired of waiting and decided to help the butterfly. He removed the remaining bit of the cocoon. The butterfly was pleased, but it had a swollen body and small, wrinkled wings. As a result, the butterfly never succeeded in flying and spent its entire life crawling around. What the man didn't... More

Improved SEO, Media, CSS-view and more in Drupal Gardens' June 30 update

In addition to the rush the Drupal Gardens team gets when adding cool new features, we like to get things right, striking a good balance between power and simplicity.  In the last sprint, we spent a bunch of time polishing the powerful XML Sitemap and Media modules with a focus on simplifying the UX and providing smart defaults so they work immediately after site creation.  Out of the box, these modules are highly customizable with many configuration settings.  Our goal was to reduce complexity... More

What I want for my website

I really only want two things for my website: (1) I want the software that runs my website to be high-quality and (2) I want my website's content to be high-quality. It sounds easy and straight-forward but I assure you it isn't. I want the software that runs my website to be stable, efficient at handling my website's traffic, and flexible. Good content management systems meet these requirements, but it took years to get where we are today, and we still have a really long way to go. Fortunately, all my websites run Drupal, so the first part of my requirements... More

Acquia Search release features

We have marked the one year anniversary of the our hosted search service by rolling out a significant update with new features and some fixes. This was released Wednesday night (June 30). Changes for all subscribers: Attachment indexing To index file attachments, you need to be able to use an application that will extract the text. Acquia Search can now provide remote text extraction for the Apache Solr Attachments module. This means that any site using Acquia Search can index attachments - even on shared hosting or with no... More

Acquia Search versus Drupal search

It's been several days since we launched Acquia Search commercially. After reviewing the press, articles, comments, and tweets, I wanted to address the question of why we seem to care so much about search and why we can't simply improve Drupal's built-in search module. These questions came up during the beta test period as well, and have even resonated with the WordPress community on Matt Mullenweg's blog. I feel they are important questions to address. I've... More

Acquia Search: benefits for visitors

Why will the visitors of your site care about Acquia Search? For a while now, I have Acquia Search installed on my personal site. To understand what Acquia Search can do for your site, have a look at what it has done for my site. While I have a very simple Drupal site, you should be able to experience some of the benefits of Acquia Search. For example, search for "Drupal" on my site (use the search widget in the sidebar) and you can see the facets that allow you to filter the results by topic, location and industry. Using these facets, it... More

Acquia Search screencast with RedMonk

In this screencast, Bryan House from Acquia discusses Acquia Search with Michael Coté from RedMonk. Great demo, Bryan! More

Acquia Search goes public beta

At Acquia, we've launched Acquia Search in public beta today. As I've previously announced, Acquia Search is a hosted Acquia Network service, delivering the capabilities of the Apache Solr as a web service to Drupal websites of any size. Acquia Search is 100% free for now, and here is our marketing pitch: "Acquia Search can be installed as a module on any Drupal 6 site, and enhances a... More

Drupal's Search Framework: The execution of a search

Drupal's ambitious search module provides a framework for building searches of all kinds. By isolating the tasks involved in searching, and allowing the actual search implementations to be handled by other modules, the search framework sets the stage for all sorts of creative search applications. This article, which applies to Drupal 6, explores the structure of the search framework by following the steps needed to execute a search. ## Stucture of a search Here are the basic steps involved in searching: 1... More

The Minnesota Search Sprint

Continuing the great and growing tradition of bringing people together in small groups to attack focused problems, a search related code sprint has been planned. From May 9 to 11, in the headquarters of the University of Minnesota Libraries, a small but dedicated group of Drupal coders will be melding minds to bring forth the next generation of Drupal search. ## Why Search? Drupal has a great search module. The search index it builds powers search on Drupal.org and thousands of other sites. It is a critical piece of the... More

Pages