admin's blog

Best Practices

Dev/test/prod environments
Drupal's cluster
Dual loadbalancers
2 web nodes
2 db servers
Read write patch to core allows multiple db servers
147160 - node on drupal
Other ways to handle it
sql relay
Mysql proxy
Source control
Under each client folder
Under each project folder
Docs folder
Private files folder
Db dumps folder
Sql replication back to dev environment
Same php ini files, apache version/config, and mysql version/conf
Automated deployments
Cfengine
Define classes with declarations on them. Define class about apache with file locations and services.

Education BoF

Bof education

Multisite manager module

Penn state stuff opened??

Taxonomy theme for each course?

buy drupalscorm.com

External Data Sources

External data sources

Functions you should know

Drupal_http_request
Fsock open call to grab ext data
Pass url get array

Cache_set and get

Drupal_execute
Execute a form array

therickards.com/api/drupalcon

Convert dburl in settings to an array

Db_set_active

Using simple xml
Map module
Job queue
Import manager
Map fec

Govtrack.us

Full text searching
Run through content filter
Swish module

Pull info from mhyspace
Dataminer api module
Curl
Htmltidy
Simplexml
Xpath from firebug to plug into dataminer

Facebook

Facebook

Adding the app makes it so you can alter the profile

Button to share with fb friends coming

App never learns email address

Nav mod points to front page

Drupalforfacebook.org

Gradspot.com

Theme from Mockup

Theme from mockup

Change template functions for views
Slides online in pdf format

Maureensmusings.com

Sections module for different themes
Scrb.harvard.edu - lava lamp

Ubercart

Ubercart

Package of modules
Ubercart.org
Don't turn on catalog if you want to use views
Anon/auth checkout
Panes are fieldsets
Google checkout?
Create offline orders
Stock control based on sku
Link to the cart with the product on it
Site configurations have summaries
Livetest.ubercart.org
Demo.ubercart.org - admin demo
Auto installer - install.ubercart.org

Views / CCK

Views cck

Views calc table does summaries

Arguments are subtotals??

Views calc settings sets sum/etc at bottom of view

Can add extra field to each row with calc field

How to hide fields from input? Hidden title?

Calc field with code that pulls in and displays view

Field called update
Computed field
Goes and updates all the instances/fields

Flash

Triggers Actions Hooks

action = something Drupal does
trigger = specific operation in a book

writing code, then applying it to a trigger

advanced actions
hook_action_info - describe the action
write the function that does the action

configurable actions
hook_action_info - describe
write the func
provided the form for the config form
validate
provide submit function

returned from submit function
keyed array of field and values returned
save to db

every action received object and context
if it is a node action, it is a node
if it is a user action, it is a user

what is context?

Dries Keynote

Here's my takeaway from the Keynote:

Drupal Rocks. Learn RDF. Learn Sparql

Syndicate content