User login

Drupal Development

Sharing a complex Drupal patch for contributing to core, with git

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout drupal
cd drupal/
git init
git add *
git status
git add .htaccess
git commit -m 'first commit of unmodified current Drupal 7 head'
git remote add origin git@github.com:benjamin-agaric/drupal-taxonomy-as-fields.git
git push origin
patch -p0 < terms_as_fields.patch
git status
git commit -a -m "bangpound's proof of concept working fundamentals of getting CCK fields for terms and deprecating taxonomy_nodeapi"
git push

Biblioreference module keyword fetching SQL wrong turns

re[] = "n.type = 'biblio'";
$count = count($words);
for ($i = 0; $i < $count; $i++) {
$where[] = 'bk.word ' . $match_operators[$match];
// for multiple words we're going to have to string a bunch of these together with "or"
// first we took only the first word as a proof of concept
// now we're sticking with and, not or, so multiple words act as filtering
}
$args = $words;
$where_clause = $where ? 'where '. implode(' and ', $where) : '';

DrupalConDC RDF bof

Stéphane Corlosquet presented
Robert Douglass and
Frank Febbrarro
also did a fair amount of talking

scor:
We have an array

Frank:
because it's a triple because this object is, and anything can happen

$node->rdf = array(
'type' => 'sioct:Weblog',
'title' => 'dc:title',
'body' => 'sioc:content',
);

The object is take that key and look it up.

so in order:

DrupalConDC Usability Lab Testing Reportback

Usability testing

Bojhan Somers, bojhan
Brad Bowman, beeradb
add21sun
beccascollan
Matt Tucker
Sumit Ktaria
Nathan Haug
Nat Catchpole, catch

A broader scope this time, recruiting intermediate users as well.

Very hard thing: Getting a roomful of Drupal developers to not try to solve problems.

For issue queue

WOOHOO!

I feel bad I didn't make that patch. I meant to! I've fixed this with form_alter before.

By default the admin menu no longer shows up there.

Much friendlier password checker.

DrupalConDC Community Supported Agriculture birds of a feather

Community Supported Agriculture
17 people here.

Who is interested in building the tools, and who just in deploying them?

Filter it through recipe suggestions.

Any CSA with capital resources?

About 2,000 CSAs in the U.S. About half, maybe, have web sites. Most do not have interactivity-- many have probably paid a chunk of money on this.

Do most CSAs have work shares? That's a coordination problem for farmers, dealing with these

Me: a distribution versus a site?

A CSA profile is fine with me -- you can deploy as many as you want.

Flash and Drupal

travis tidwell - travist

built dash media player

flash integration with drupal

technology required to do cool shit with flash and drupal

how flash and drupal communicate

why flash and drupal?
- combine beauty and powerdrupalcon twitter wall

how flash and drupal communicate
- RPC Remote procedure calls
-- uses xml to call a remote function
-- amf - actionscript message format

flash is always on the client side

DrupalConDC Communicating Data Online: Data Visualizations and Opening Data

Demoed Nice Maps module.

http://data.octo.dc.gov

http://stumblesafely.com

Maximize your resource utilization

who will pay for open data tools?

"World Bank funds Recovery.gov" - well, in fact... Timeline module featured very highly on Recovery was funded by World Bank, and based on the MIT project which got some money from the Department of War (aka DoD).

Efficiency of the Commons

DrupalConDC Patterns and Object Orientation in Drupal Code

Drupal patterns

hook_menu, hook_theme, hook_views_data

In a sense, hook_menu and hook_form are declaritive programming.

Action hooks

hook_nodeapi, hook_user
See: passive observer
Use: Event-driven programming

Visitor hooks

hook_form_alter, hook_nodeapi, hook_user
Passive observer, Visitor
Use: Non-inheritance modification

Gets around the fact inheritance is one way.

Object "hook"

sort-of, kind of a way of doing inheritance. Couldn't figure out what this

DrupalConDC A Paradigm for Reusable Drupal Features

Ian leads off.

They did a very good job explaining why we want to be able to store features, and not have to do all the configuration every time we need to do a similar task (a blog section, a newsroom section, etc.)

Then went to Robert for the demo.
Everything that can be described as a feature and can be have its creation automated can be described by:
scripted or exportable

imagecache, blocks, views are all exportable.

(Some made possible by the context module.)

DrupalConDC Business Analytics with Views (Charting)

Java vs PHP
Struts vs Drupal

Views + ViewsCharts = Charts

New module, contributed to Drupal.org ... at 6 a.m.

Click and make the chart.

OpenFlashCHarts

planning to also implement commercial AmCharts and Google Charts.

Except: It's not All That Easy.

SQL Grouping and Aggregation.

Views group by views_groupby module, which we hope will become part of views.

Why not http://drupal.org/project/charts ?

Syndicate content