Delving into Movable Type’s Perl API
So far the topics we have covered relate exclusively to features exposed by Movable Type’s registry. In each case developers make primarily two modifications to their plugin to add a new feature:
- they edit their
config.yaml
to register new behavior - they add a handler to their plugin’s
Plugin.pm
file
By furthering your understanding of the primary interfaces and objects that Movable Type makes available to developers, you can build much more complex, robust and feature rich plugins and applications.
This section will introduce developers to those interfaces, specifically:
- how to manipulate objects like entries, pages and users
- how to define your own objects that your plugin can utilize
- how to extend existing objects with your own data
- how to trigger automated updates to the database without the need to write SQL