FAQ
After working through the tutorial, and getting
crypted passwords to work, I now need to build my
first production app.

One thing I've run into: I don't have control over the
Model, and the DBIx schemas and classes are all in
outside modules. However, the layout of the DBIx
schema and class files don't aren't layed out
according to a project. If I'm reading the docs
correctly, then I'd have to set up a separate DBIx
schema file using the classes that I need (which isn't
an option).

I see in the Intro, you can to something like this:

use Some::Outside::Database::Module;
my @records =
Some::Outside::Database::Module->search({
artist => 'Led Zeppelin',
});

which is pretty much what I want to do.

I also want to use an outside module to authenticate
instead of the plugins and using myapp.yml. However,
I'm curious if there is a way to integrate with
authentication and session plugins so I can
use/replace

"if ($c->login($username, $password)) {"

in my Login controller and use the "automagic"
sessioning, but use my outside module to actually
authenticate?

Hope this makes sense. As far as the existing DBIx
schema/class files, I think I understand that
correctly. Basically, I need to use internally
provided libraries for the model, including user
authentication.

Thank you.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedDec 27, '06 at 9:15p
activeDec 27, '06 at 9:15p
posts1
users1
websitecatalystframework.org
irc#catalyst

1 user in discussion

Ubp: 1 post

People

Translate

site design / logo © 2022 Grokbase