in reply to Quick way to set up columns with Class::DBI ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Quick way to set up columns with Class::DBI ?
by jfrm (Monk) on Aug 18, 2006 at 23:21 UTC | |
Now I need to work out which is best for me. I've read some comparison discussions that seem to concentrate on things I'm not so fussed about like performance. However, I'm presently liking the look of Rose better for 2 reasons: 1. the documentation seems larger and easier to understand 2. It is obvious how to automatically configure the database which saves me a lot of time. It isn't clear to me that DBIx::Class even does this, does it? My objective is to create some generic routines that will simply generate web forms that will allow me to BREAD several disparate databases of mine. Does Rose sound good for this? Actually as I've got this far on the deep voyage of discovery I am undergoing this week, does anyone know of good packages to help me generate the web forms? As ever I am very grateful for all pointers and advice. | [reply] |
by perrin (Chancellor) on Aug 19, 2006 at 00:20 UTC | |
| [reply] |
by jfrm (Monk) on Aug 21, 2006 at 10:44 UTC | |
It looks rather complicated and big. Given that I just want to BREAD using HTML forms, is it worth enduring the learning curve? i.e. should I be using Catalyst or is this a sledgehammer to crack a nut? | [reply] |
by perrin (Chancellor) on Aug 22, 2006 at 15:26 UTC | |
by siracusa (Friar) on Aug 19, 2006 at 03:11 UTC | |
My objective is to create some generic routines that will simply generate web forms that will allow me to BREAD several disparate databases of mine. Does Rose sound good for this? It sure does :) Take a look at Rose::HTML::Objects as well for the form generation. It's pretty easy to auto-generate both things: the RDBO classes from the database (with the Loader/auto_initialize) and then auto-generate the HTML forms using something like what's described in this mailing list post. (Hop on the mailing lists for Rose::DB::Object and Rose::HTML::Objects if you have any questions.) (Whoops, link corrected.) | [reply] |
by jfrm (Monk) on Aug 19, 2006 at 07:06 UTC | |
Yes I already saw that it has a thriving and responsive community. I will start worshipping at the temple of the Rose. It has to be better than Class::DBI for starters because that refuses to install!<br | [reply] |
by jfrm (Monk) on Aug 21, 2006 at 12:13 UTC | |
First off, I tried PPM but Rose isn't in the AS repository (I'm beginning to see that I should regard this as a very bad omen because whenever a package isn't there, only rarely can i manage to install it via any other method....) Then I tried CPAN which fails because Datetime doesn't install due to a win32 buglet in the infinite tests. I did eventually get over this hurdle - the bug seems to be well known and apparently ignorable so I installed Datetime manually and then went back and tried to CPAN Rose again (I wasn't entirely sure if this was the right approach but it did seem to get further so I think it must have been). But then CPAN/Rose first told me that I needed to set environment variables allow connection to the DB in order to complete the tests but also said that if they weren't set the tests would be ignored. Unfortunately the tests didn't seem to work. Here is the output: --snip-- and so it goes on... --snip-- I'm not sure if it failed due to lack of env. variables in which case instructions seemed to mislead me or otherwise. Anyway, then I was rather cheesed off and discovered that PPM installed DBIx instantly and without a murmur. So I think I'll try to pray at the DBIx temple and see if that leads me to enlightenment for now... | [reply] [d/l] [select] |
by siracusa (Friar) on Aug 21, 2006 at 12:39 UTC | |
by jfrm (Monk) on Aug 21, 2006 at 13:29 UTC | |
| |