Re: WordPress module?
On 21 Jun 2007, at 19:54, Bill Ward wrote: Does anyone know of a Perl module that talks to a WordPress database? I'm thinking of writing one but prefer to avoid wheel reinvention. I imagine it'd be better to talk to Wordpress's XMLRPC interface unless you need something that can't be done that way. The DB schema is free to change in backwards incomptible ways. -- Andy Armstrong, hexten.net
Re: WordPress module?
On 6/25/07, Andy Armstrong [EMAIL PROTECTED] wrote: On 21 Jun 2007, at 19:54, Bill Ward wrote: Does anyone know of a Perl module that talks to a WordPress database? I'm thinking of writing one but prefer to avoid wheel reinvention. I imagine it'd be better to talk to Wordpress's XMLRPC interface unless you need something that can't be done that way. The DB schema is free to change in backwards incomptible ways. Yeah, I'd have to track schema changes, but I want to do things like piggy back on its user accounts which I don't think XMLRPC gives access to.
Re: WordPress module?
Bill Ward wrote: On 6/25/07, Andy Armstrong [EMAIL PROTECTED] wrote: On 21 Jun 2007, at 19:54, Bill Ward wrote: Does anyone know of a Perl module that talks to a WordPress database? I'm thinking of writing one but prefer to avoid wheel reinvention. I imagine it'd be better to talk to Wordpress's XMLRPC interface unless you need something that can't be done that way. The DB schema is free to change in backwards incomptible ways. Yeah, I'd have to track schema changes, but I want to do things like piggy back on its user accounts which I don't think XMLRPC gives access to. Yep, if the schema changes things could break in subtle ways, you'd have to be oh-so-careful to double-check that the schema is as you expect it to be. I wonder if you could use a Wordpress plugin to expose the user accounts etc via XMLRPC? Then your module has the advantage of being able to treat the WP internals as a black box, and just use a documented interface. Cheers Dave P -- David Precious http://blog.preshweb.co.uk/
Re: Need naming advice
On 6/22/07, David Precious [EMAIL PROTECTED] wrote: Bill Ward wrote: I have this module I wrote years ago and have been using forever in my own projects and I want to share it with the world. But I can't make up my mind what to call the durn thing. [...] It provides a generic user account management system, with features such as: [...] Does it go under CGI? Under DBIx? Authen? Make up some new category? I've tried WWW::UserDB and CGI::UserDB but I'm not really happy with either. My initial thought would be Authen::UserManagement or similar, but I'm not sure. I've decided to combine your idea and mine, and call it Authen::UserDB. Further, I'm pulling out all the CGI/Web specific functionality into a separate module, Authen::UserDB::CGI. I plan to package them together for CPAN purposes though. Unless anyone has any better ideas, that's the plan.