1. DrupalCamp Australia 2008
Agileware
Justin Freeman (CEO)
An intro to some cool modules:
EditView, Signwriter,
ComputedField, OpenOffice Export
And a funky demo of:
Polygons with Google Maps
2. About Agileware
● Canberrabased IT company
● Established 2002 (in protest to dotcom bust)
● Team of 5 extraordinary staff
● Primarily develop Web based applications
● Specialise in Drupal applications and FOSS
●Services include: development, integration,
support, hosting
DrupalCamp Australia 2008
3. About Agileware
● Our clients include:
– Federal Government
– Department of Defence
– SMEs
– International companies
● Active contributor to the Drupal community
● We deploy and support FOSS
DrupalCamp Australia 2008
5. Why we contribute
● To give back to the Drupal community
● To improve the code
● To learn and gain experience
● To free the code
● To be a good citizen
DrupalCamp Australia 2008
6. Contributions require maintenance
● Drop'n dash contributions = bad karma
●Therefore, we try to respond to issues,
incorporate patches and rollout new features
●This comes down to prioritising Community
above paidservices, allocating resources & time
● An imperfect juggling act
●Modules not maintained will be claimed by others
(lesson learnt)
DrupalCamp Australia 2008
7. Module: Signwriter
htttp://drupal.org/project/signwriter
● Use Case:
– Dynamically create graphics using true type
fonts and text from page
– No more Photoshop'ing
●Signwriter created to solve problem of great
graphic design (poor web design)
● Module used on most Agileware websites
DrupalCamp Australia 2008
9. Module: Signwriter
htttp://drupal.org/project/signwriter
● Stable, good feature set and easy to use
● Drupal 4.7, Drupal 5 and Drupal 6
●Recently underwent major refactor by eMPee584
(node/316295), thanks mate!
●Now D6 version allows replace page/block titles,
font/style preview, coder style, unicode handling
and more
DrupalCamp Australia 2008
12. Module: Signwriter
htttp://drupal.org/project/signwriter
● Example 2: Using Signwriter without a profile
●Add your custom font to your theme directory. In
this example we'll use Arial.ttf.
● Add the following code to your page.tpl.php.
DrupalCamp Australia 2008
15. Module: Open Office Exporter
● Use Case:
– Perform Mail Merge feature using Open
Office and Drupal
– Converts Drupal data into Open Office text
●Used by Agileware to generate quotes, invoices,
contracts and other documentation
●Fast, platform independent, no Open Office
required serverside
DrupalCamp Australia 2008
16. Module: Open Office Exporter
● Requires CCK module
Drupal 5 only currently, Drupal 6 RSN. Maybe MS
●
OpenXML in future too
● Setup
– Add Open Office CCK field to node type
– Insert code to export Drupal data
– Open Office doc must have matching fields
DrupalCamp Australia 2008
18. Module: EditView
htttp://drupal.org/project/editview
● Use Case:
– How to add, update, delete records based
data quickly
– Customer wants MS Excel like functionality
on website
● Sponsored project for completing complex survey
●Perform CRUD ops on Nodes and uploads,
images, dates (JSCalendar), Events
DrupalCamp Australia 2008
19. Module: EditView
htttp://drupal.org/project/editview
● Drupal Views plugin adds new Views type
● Turns any Views node data into editable rows
● Can be used in onetomany relationships
● Obeys required field rules
● Easy to setup and to use
Drupal 5 only, no Drupal 6 yet. Not compatible
●
with Views 2 (rc++)
DrupalCamp Australia 2008
22. Module: ComputedField
htttp://drupal.org/project/computed_field
● Code is part of the node type CCK fields
● Easy to manage, can be exported/imported
● Hard to debug
●Assumes you know what you are doing, it's just
PHP code with no helpers
●Can use to either: Store calculated value in
Drupal, or only display calculated value (not
stored) Views
DrupalCamp Australia 2008
23. Module: ComputedField
htttp://drupal.org/project/computed_field
● Example ComputedField:
$node_field[0]['value'] = $node
>field_product_price[0]['value'] +
$node>field_postage_price[0]
['value'];
●Lots of code examples at
http://drupal.org/node/149228
DrupalCamp Australia 2008
25. Polygons with Google Maps
● Use Case:
– Define multiple regions of interest on a
Google Map
– Users can click on region for more
information (from related nodes or taxonomy)
– Each region defined by arbitrary points
creating a polygon
Sponsored project to map regions on Google
●
Map.
DrupalCamp Australia 2008
26. Polygons with Google Maps
● Patches to Gmaps and Location modules
● Uses the existing Gmap view type
Adds feature to select marker or polygon for the
●
Google Map
●Ability to assign multiple points on a single map,
instead of the default multiple maps, single point.
● Works with current Gmap and Location modules
DrupalCamp Australia 2008
28. Thanks for listening
Agileware
http://agileware.net
Drupal coders and themers
YES, WE ARE FOR HIRE
HELP WANTED
Looking for support to convert EditView to D6 &
Views 2
DrupalCamp Australia 2008