DB Admin as Plack App

Dave Cross dave at dave.org.uk
Fri Jun 10 15:45:38 BST 2011


On 06/10/2011 03:09 PM, Edmund von der Burg wrote:
> I've been working in Django and it is not bad. It's pre-canned admin
> system is awesome though and is a reason to use it over other
> frameworks.
>
> Is there something (public or in-the-pipeline) that would let me add a
> db admin layer to an app as a plack app:
>
> builder {
>      mount '/db-admin' =>  builder {
>          Plack::App::DBAdmin->new( $db_config )->to_app;
>      };
>      ....
> };
>
> It would then be able to work with any framework, although I suppose
> if the DB is accessed via DBIx::Class or similar it would be easy to
> write.

It's not Plack, but have you seen Catalyst::Plugin::AUTOCRUD[1]?

It's pretty awesome.

Dave...

[1] http://search.cpan.org/dist/Catalyst-Plugin-AutoCRUD/


More information about the london.pm mailing list