Opensource Flexible Content Management System (CMS)
By Moshie Weitzman,
In help: angle brakets represent required, square brakets mean option
Drush now has a windows installer sponsered by Microsoft
Drush has a usage traking, uncomment lines to send to mogo lab
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 press tab to see options, if no options press tab twice
To enable copy drush.complete.sh to /etc/bash/completion.d
Drush 5 has its own built in dev web server, to start it on port 8089 type:
Shorten the release cycle Maintain the backwards compatibility for one major release.
Sometimes we are too strict on coding conventions, we should focus on architect before talking about coding conventions.
by Bevan Rudge
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
First ask questions about what is slow and take notes on what they say.
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
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
What are the choices?
Native application - requires skills
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
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.
Panels is a layout manager written by Earl Miles
Panelizer - Panel nodes on steroids
Panopoly - Distribution based on Panels currently in Beta
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.
More than just panels comes with WYSIWYG.
By Nathan Haug from Lullabot
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
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