API wrapper best practices?

DAVID HODGKINSON davehodg at gmail.com
Sat Mar 23 22:51:29 GMT 2013


On 23 Mar 2013, at 21:19, Dave Lambley <dave.lambley at gmail.com> wrote:

> On 23 March 2013 20:50, DAVID HODGKINSON <davehodg at gmail.com> wrote:
>> Are there any tutorial type docs for Moose Meta the way you used it or
>> which man page should I be able to work it out from?
> 
> Moose::Meta::Class and Moose::Meta::Attribute are probably what you
> want.  I have an over engineered example here,
> 
> https://github.com/OpenIMP/OpenIMP-APIClient/blob/master/lib/OpenIMP/APIClient/Loader.pm#L121
> 
> where a schema described in YAML is inflated into a Moose class hierarchy.

Hm. I'll look at this.

In my use-case both APIs are going to poke stuff straight into a database
so you're probably going tell me there's Cat Model stuff I should be
doing too...?


More information about the london.pm mailing list