Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Why oh Why oh Whyo (Catalyst Woes)

by PodMaster (Abbot)
on Feb 23, 2006 at 06:56 UTC ( [id://532200]=note: print w/replies, xml ) Need Help??


in reply to Why oh Why oh Whyo (Catalyst Woes)

... I've come to this conclusion after trying for a solid week to get user authentication/authorization/roles done using DBIx::Class and a MySQL database. I tried looking at the relavent POD, but after (trying) to implement it how it shows, it leaves you with more questions then answers.
After a solid week, you should try asking for help (via SOPW or some-catalyst-mailing list). Show what you've attempted and how its failing for you.
Basically my complaint is that every Document and Tutorial assumes you're already a master at the MVC layout and Catalyst and there is almost slightly less then zero tutorials or documentation for a beginning user trying to setup even a basic program using Catalyst.
Sounds to me like you're so frustrated, you're overlooking the obvious, Catalyst::Manual::Intro.

If you have questions, write them down, pass them around, you're probably not the only one whos been frustrated :)(they might even end up in the faq)

You might want to try Catalyst::Plugin::Authentication::CDBI, as its mentioned in the Catalyst::Manual::Cookbook, and Class::DBI can handle mysql, among many other backends.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: Why oh Why oh Whyo (Catalyst Woes)
by Anonymous Monk on Feb 24, 2006 at 02:43 UTC
    Really, really, don't use Catalyst::Plugin::Authentication::CDBI. No, please don't. seriously. It's ancient and it doesn't integrate with any of the new authentication and session code. Authentication::Store::DBIC *can* talk to Class::DBI, and if you have a simple database and don't need to do anything complex with your queries Class::DBI will work just fine - and DBIx::Class still maintains a CDBICompat layer for people porting across to use as a springboard, so if you realise later you need the more advanced features you can do that without too much trouble too.
Re^2: Why oh Why oh Whyo (Catalyst Woes)
by Anonymous Monk on Feb 23, 2006 at 15:37 UTC
    I wouldn't be so hasty, the Catalyst PODs are out of date, and I've submitted pointers on syntax errors and the like.
    FOSS projects need good solid documentation before they declare themselves to be really solid projects and start asking for users :)
Re^2: Why oh Why oh Whyo (Catalyst Woes)
by OverlordQ (Hermit) on Feb 24, 2006 at 13:16 UTC
    I already rm'd the directory and switched to CGI::App, but I could recreate it and post it as a SoPW and see if I can get an intelligable answer this time.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://532200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found