Drupal

Opensource Flexible Content Management System (CMS)

DrupalCon Keynote - Luke Wroblewski - Mobile First

LukewMobile First (Video) (Download PDF)

  1. Growth
  2. Constraints
  3. Capabilities

Other Presentations by Luke

Growth story

  • 371,000 babies born each day
  • 378,000 Iphone, IOS 562,000 devices per day
  • 700,000 Android 
  • 1.5 million devices activated each day

Subject: 

Drupalcon session - Drush 5.0 command line utility

 

By Moshie Weitzman, 

Drush 5.0 will be released today 

Shell alias

In help: angle brakets represent required, square brakets mean option

Windows

Drush now has a windows installer sponsered by Microsoft

Drush has a usage traking, uncomment lines to send to mogo lab

Drush Make

by Johnath Headstrom

Drush Make – package manager for your Drupal sites, like a shopping list of all the modules, themes and even patches. D rush Make is now part of Drush core.

Improvements to Drush make, better unit tesed, refactored to use pmdownload, uses cached copies of downloads locally.

Auto completion

Auto-completion press tab to see options, if no options press tab twice

To enable copy drush.complete.sh to /etc/bash/completion.d

Built-in Dev Web Server

Drush 5 has its own built in dev web server, to start it on port 8089 type:

Subject: 

VIEWS FOR DEVELOPERS; AN ARCHITECTURAL OVERVIEW

by Bevan Rudge

Section 1:Anatomy of a View, Custom markup, field concatenation, fields as links, summary view 

You can combine fields and put a wrapper around them.

You can use the fields fences module to control wrappers around fields

Filters can be and/or.

Contextfual filters are in the first and/or group

Results summary (displaying 1-7 of 7)

Aggregate/count Other->aggregation: yes, Adds aggregation to filters and sorts

Alternative pagers: group by date or by letter (glossary mode of a contextual filter)

Views_linkarea module for adding links

Section 2: Add new and custom features

 


Subject: 

Real World Performance Drupal

First ask questions about what is slow and take notes on what they say.

Define goals:

Goal 800 ms latency 50/50 logged in users

Step away from the client, and assume they lied to us and that they have never been to the site.

Step 1 - you need a net console like Firebug

Take some notes on what the page times are like

front page - 8 seconds

gallery - 23 seconds

article - 12 seconds

favorities - 13 seconds

It is temping to turn on devel and see what sql query is slow, but don't stay at the overview level.

Display the query time, 

Display the query log

Go back and display the front page

pt-query-digest

Use the slow log tool kit pt-query-digest just point it to a slow log.  

Set the sloq query time to 1 second

Copy the text of the top 3 slow queries

Viewslightpager module will remove the count for the pager

Subject: 

Build Mobile Apps for Drupal Sites

What are the choices?

Native application - requires skills

Phonegap

Allows you to put your app on the IOS and Android Markets where you can sell

You can have offline content by putting it in a www folder

Setup services 3 on Drupal 7 to get freah content

Out of the box it comes with plugins for camera, maps, contacts,

Use the Drupal Module MAG (Mobile App Generator)

Generate your application

Install the Android SDK

Install PhoneGap

You can use PhoneGAP with the cloud build.

You can add HTML to the app to allow you to take a picture and upload it to your site.

Some tips and Tricks

Do the development in the brower with web-kit, test and debug in the browser, test on each device.

Make sure you test it without being on a private network.

Jeff Wood githup site with Drupal project that will use the camera.

 

Subject: 

Drupal Panels Presentation

Panels is a layout manager written by Earl Miles

Panelizer - Panel nodes on steroids

Panopoly - Distribution based on Panels currently in Beta

New in Panels

  • Redesigned the IPE (In place editor)
  • Can change pane styles
  • Pane Locking

Panelizer

  • Like panel nodes but with context
  • For any node, user, taxonomy term, by bundle with defaults that can be picked by the editor.
  • Can now give panels to content users

BEAN (Block Entites aren't Nodes)

Can make it so that users can just edit one field of an entity without getting overwelmed by the edit for all the fields.

Entity Revision Scheduler - You can edit a revision that will be hidden until it is scheduled to be published.

Panopoly - Drupal Distribution

More than just panels comes with WYSIWYG.

 

 

Subject: 

Drupal Webform 3

By Nathan Haug from Lullabot

Overview of Webform

A node will get an extra tab for Webform

Table shows everything, download lets you get a CSV

You can Webform enable any content type, some will enable the page content type.

Multiple page forms

User editable email templates

Save as Draft and Resume

Total and per user submission limits

Tons of APIs for hacking

Rules integration with Webform is good

Very New Features

HTML5 frendly features like for entering an email

Number component (show the number keyboard)

Conditional Logic, based on an earlier value on page 1, then page 2 can show different stuff, there is a conditional module that allows same page conditionals

Download Range, only download new submissions

Form Builder Integration - works and is stable

Subject: 

Dries Buytaert Keynote Drupalcon Denver 2012

DriesBWin the hearts and minds (Video)

Innovation examples, cat duster, baby duster, noodle hair shield.
Cool companies like Palm and others have failed to innovate, Drupal must innovate.
Drupal 7 grew 2.5 times faster than Drupal 6 to 100,000 sites, there are now more drupal 7 sites than drupal 6.
Kodak invented digital photography, but they were unwilling to move away from their core analog business.

Subject: 

Pages

Subscribe to RSS - Drupal