Writing a plugin from scratch requires to deal with
The code generator framework presented takes care of most of the above by using XML as sort of a domain specific language to describe the infrastructure aspects of a plugin with the options to either embed actual functionality C/C++ code into the XML specification files right away or to extend the generated template code manually later.
A simple daemon plugin for example that just prints extra startup and shutdown messages could then look as easy as below and would be ready for testing within only a few minutes:
<?xml version=”1.0”?> Hartmut Holzgraefe hartmut@mysql.com GPL 0.0.1 2004-05-25 beta First working release minimal daemon plugin printf(“plugin initialized”); printf(“plugin destroyed”);PHP contributer since 1999 MySQL user since 2000 MySQL Support Engineer 2004-2010
For information on exhibition and sponsorship opportunities at the conference, contact Yvonne Romaine at yromaine@oreilly.com
For media partnerships, contact mediapartners@ oreilly.com
For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com
To stay abreast of conference news and to receive email notification when registration opens, please sign up for the O'Reilly MySQL Conference Bulletin (login required).
View a complete list of O'Reilly MySQL Conference Contacts