You are hereBlogs
Blogs
Speed Up Your Drupal LAMP Stack
These are my notes from a talk at Drupalcamp NYC in December 2011 by Sam Kottler, @samkottler on twitter and skottler on drupal.org.
Let's make the LAMP stack go "Vroom!" This is going to be a really high-level overview of performance.
Benchmarking vs Profiling
When we benchmark something, we're setting a baseline to compare against in the future. We want to say "it was this fast this long ago, and here's how we improved." Whereas profiling is telling what is fast and what is slow.
Apache
Has a lot of parameters you can set; I'll cover some basic ones.
Drupal Module Coding at Drupalcon Chicago
by Irakli Nadareishvili, Director of Product Development at Phase2, @inadarei on Twitter.
Erik Summerfield, Software Developer at Phase2
You will probably have a number of contrib modules, and the queries that these modules execute can have a huge impact on the performance of your site.
Performance on the web is usually described by speed and scalability.
Speed is measured in seconds, and tells you how long it takes a single user to load a single page and all the assets that make up that page.
Advanced Drush at Drupalcon Chicago
Team Based Drush
When you need to start from scratch, you can blow away what you have with drush site-install -y welcom
What did we really do here? You can also use drush si --yes welcom. Welcom is an installation profile that we created for this project. This command installs Drupal according to the install profile.
If one of my teammates needs a module, he can put it into the install profile file, commit it, and then when I get his commit I'll get the module too.
Apache Solr Coding from Drupalcon Chicago
Drupal interacts with Solr through HTTP. Drupal sends content into the search index via XML documents. It walks through a node and there's a library that converts the node's attributes to XML, and Solr indexes the XML. Solr accepts documents POSTed to /update, and a different POST can be made to delete. Searching is done via GETs.
If you set up Solr locally (you need Java installed) the server will run at the same default port that is specified in the module, so by installing the module and enabling it, Solr should work out of the box.
Making Maps Beautiful at Drupalcon Chicago
Why Make Maps Beautiful?
Google has done amazing stuff with making maps on the web work well. But, Google Maps has become a bit like stock photography; it's not that exciting or novel anymore.
Part of why you want a map to be customized is to match the branding of your site, but maps are also a really powerful way of presenting information to people. The first thing that you do when you look at a map is to say "where am I on this map?" and see where you fit. Maps are a powerful way of presenting information, see the Pakistan Flood Response Map.
Views for Coders at Drupalcon Chicago
by Karim Ratib, infojunkie on d.o. He's the author/maintainer of Views Bulk Operations, Views Hacks, Sheetnode, Feeds Oauth, and Feeds Topics. He's currently a freelancer living in Vancouver.
Objectives
To give you a conceptual overview of how to code views, without going into the details, which can be a bit overwhelming. We'll be talking about high-level stuff. Hopefully by the end of the talk you'll be able to open some Views code and maybe even start coding your own views.
Unifying Drupal Configuration at Drupalcon Chicago
by David Strauss @DavidStrauss on Twitter
Issues we're facing
Drupal has too many overlapping configuration methods. It's confusing and not good enough for developers coming from other platforms. The code relies on configurations which could be in the database or could be in the database. You never take code from production to development and you never push your database to production.
I don't think contrib can solve this.
Terminology
Notes from Configuration Management in Drupal 8
by Howard Tyson
Core isn't really good at either popular type of configuration management. Nothing totally really covers it. I'm in the camp that configuration and content are different but they're connected to each other; exactly where that line is, is not something I'm going to specify.
Media Presentation at Drupalcon Chicago
by Jacob Singh and Aaron Winborn
Jacob:
Media is a module for Dupal 7. It extends the file management capabilities in core. We take the base ways that you can handle files and added enhancements. It's a framework for handling media meta-data such as authorship or quality information, as well as a consistent user interface for managing files. These are the goals of Media.
Fix iPhone 4 Visual Voicemail
My iPhone's Visual Voicemail has broken a few times, and I've had to do a number of things to get it working again. Here are a few that worked for me:
Option 1: Reset your Voicemail Password
- Call ATT at 611
- Select option 3, voicemail
- Select option 3, reset password
- Wait for the new password to arrive via text message
- Hang up
- Click on your voicemail and wait.
- Eventually, you'll see some text appear in the middle of the screen. Tap the screen.