[Catalyst] creating non-DBI Models for Catalyst

Sebastian Riedel sri at oook.de
Sun Jun 5 19:48:50 CEST 2005

Am 05.06.2005 um 17:35 schrieb samwyse:

> I have a 3rd-party app to which I'd like to build a web interface.
> Unfortunately, there's no accessible database, just a list of CLI
> commands to list, add, change and delete objects.  So I need to create
> a Model that uses these commands instead of the DBI.  Before I start
> digging at random into the source, would anyone like to point me to a
> good starting point?    With luck, there'll be a Catalyst::Model::CLI
> that comes out of this.

A minimal Catalyst Model looks like this.

     package Catalyst::Model::CLI;

     use strict;
     use base 'Catalyst::Base';


Now just add you methods. ;)


More information about the Catalyst mailing list