What is the fastest way to get CRUD over CGI in a database descriptor in Perl?

TL DR: you want to write CGI :: CRUD :: Simple (the minimal interface module for CGI :: CRUD), but I want to check first if I missed a module that already does this.

I usually work with applications that do not have the slightest opportunity to have frameworks and such are already in place. However, some time ago I was in a situation where I asked myself: “I, I have a DBI database descriptor and a CGI request object, there isn’t any module there that can use this to give me some CRUD, so I can "move on and work on other things, and not spend hours creating an interface?"

A quick CPAN poll gave me:
CGI :: Crud
Catalyst :: CRUD write software
Portals :: Plugins :: CRUD
Jifty :: View :: Announces :: CRUD
CatalystX :: CRUD
Catalyst :: Controller :: CRUD
CatalystX :: CRUD :: REST
Catalyst :: Enzyme

Now, when I looked at these modules, I did not particularly go deep, but, reliably, the first of them seems to require some kind of structure. Please tell me if I was wrong, and I can just connect any of them to the barebone CGI script.

CGI:: CRUD, , , , C-like script, , - . , , [dbh, cgi IN] → [html OUT].

, , , , , , .

, .

PS: , , , . , , CRUD, , , .

+5
1
+3

All Articles