Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users
Looking for a working example using DBIC and Authentication
 

Index | Next | Previous | View Flat


simon.baird at gmail

May 27, 2009, 9:21 PM


Views: 886
Permalink
Looking for a working example using DBIC and Authentication

I've been struggling to get off the ground with
Catalyst/DBIC/Authentication. I'm new to Catalyst so I want to do
everything as standard as possible, (ie please don't tell me there is
more than one way to do it or I might have to cry.. :) and I would
like to use DBIC.

I won't go into the details[1] but I seem to be in a pattern where I
find good some good examples, get things close to working and then
discover at a certain point that I'm using deprecated stuff that
should only be used for legacy apps. And that stuff I can borrow from
example A just doesn't work with stuff from example B. So it's been
quite a frustrating exercise...

Anyway, thanks for listening and I was just wondering if someone has a
gzipped downloadable MyApp with DBIC and auth setup or maybe a blog
post somewhere that describes how to set things up the right way (and
that's new enough so there's no deprecated classes used...)

[1] Well perhaps some details in brief note form...
- The Authentication section of the Tutorial in CPAN uses some
deprecated stuff (I find out eventually)
- I got Auth working with DBIC as per the docs (with users, roles,
user_roles tables) but without a realm. So I can use (the deprecated)
$c->login but $c->authenticate doesn't work...
- After decided I would give up and just keep using the $c->login I
tried adding another table to my DBIC Schema. This caused Auth to stop
working...

Regards,
Simon.
--
simon.baird[at]gmail.com

_______________________________________________
List: Catalyst[at]lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Subject User Time
Looking for a working example using DBIC and Authentication simon.baird at gmail May 27, 2009, 9:21 PM
    Re: Looking for a working example using DBIC and Authentication diment at gmail May 27, 2009, 11:25 PM
    Re: Looking for a working example using DBIC and Authentication simon.baird at gmail May 28, 2009, 5:36 PM
    Re: Looking for a working example using DBIC and Authentication arodland at comcast May 28, 2009, 5:48 PM
    Re: Looking for a working example using DBIC and Authentication hkclark at gmail May 28, 2009, 5:49 PM
    Re: Looking for a working example using DBIC and Authentication diment at gmail May 28, 2009, 5:50 PM
        Re: Looking for a working example using DBIC and Authentication hkclark at gmail May 29, 2009, 7:32 AM
    Re: Looking for a working example using DBIC and Authentication jshirley at gmail May 28, 2009, 6:00 PM
    Re: Looking for a working example using DBIC and Authentication bobtfish at bobtfish May 28, 2009, 6:15 PM
        Re: Looking for a working example using DBIC and Authentication hkclark at gmail May 29, 2009, 7:41 AM
    Re: Looking for a working example using DBIC and Authentication orasnita at gmail May 28, 2009, 10:07 PM
    Re: Looking for a working example using DBIC and Authentication jshirley at gmail May 29, 2009, 8:09 AM
    Re: Looking for a working example using DBIC and Authentication raanders at cyber-office May 29, 2009, 8:28 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.