Export or edit this event...

Portland Perl Mongers - Module Interface/API design

Free Geek
1731 SE 10th Avenue
Portland, OR 97214, US (map)
Public WiFi

Access Notes

Please register for class via Eventbrite: https://freegeek.eventbrite.com Please check in at the front desk when you arrive to let them know you are here for the class. Bags must be checked at the front entrance.

Website

Description

Module Interface/API design

Speaker: Chad 'Exodist' Granum

Most developers create a module when they want to solve a problem. Most focus goes into the inner-workings of the module. Interface often takes a backseat and is addressed as an afterthought. This approach to interface design leads to horrible headaches.

For Part 1 Chad will be introducing several module interface paradigms. This includes a brief review of OO, as well as simple exporters and declarative builders. Examples from common CPAN modules will be given.

For Part 2 chad will take attendees through an exercise in designing an API for an example module that is actually useful (and not simply a toy for the example). We will weigh the pros and cons of different interface possibilities as well as show a complete implementation.

As always, the meeting will be followed by social hour at the Lucky Lab Brew Pub.

More information

Share

Tags