[Catalyst] Unable to output anything in Root.pm -> 'auto'

Lukas Thiemeier spamcatcher at thiemeier.net
Mon Oct 29 16:42:15 GMT 2012


Hey Craig,

I got it. You want to store your credentials in a database, but you
don't want to use DBIx::Class?

What about Catalyst::Authentication::Storage::DBI?

If this doesn't help, you might me right. Maybe you have to write your
own authentication module. In that case, consider making it a
Catalyst::Authentication::Store module, and publish it on cpan. It might
be useful for others, too...

By the way: Catalyst::Model::DBI is a ORM-less, raw DBI model for
catalyst. So "... whenever I look at how it implements anything to do
with DB access, it forces ORM upon you ..." is not correct. There are
very few things which are really forced by catalyst. Using DBIx::Class
is just considered "good practice". A lot of people use it, thats why it
is used in most tutorials and examples.

Lukas



On 10/29/2012 05:09 PM, Craig Chant wrote:
> Yes, but I need to keep a backed DB up-to-date with current logins, where in the system they are etc...
> 
> So local server disk won't help in this situation.
> 
> -----Original Message-----
> From: Denny [mailto:2012 at denny.me]
> Sent: 29 October 2012 15:50
> To: The elegant MVC web framework
> Subject: RE: [Catalyst] Unable to output anything in Root.pm -> 'auto'
> 
> On Mon, 2012-10-29 at 15:43 +0000, Craig Chant wrote:
>> "By the way, what do you need the session-id for? Catalyst handles sessions in a transparent way"
>>
>> To authenticate users, I don't want to store authentication in the hash and it seems the only other way to do this is via ORM, which I don't want to use either.
>>
>> I find catalyst whenever I look at how it implements anything to do with DB access, it forces ORM upon you, so I need to write my own authentication code don't I ?
> 
> I'm pretty sure the default storage for session stuff is disk-based.
> 
> 
> 
> _______________________________________________
> 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@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
> This Email and any attachments contain confidential information and is intended solely for the individual to whom it is addressed. If this Email has been misdirected, please notify the author as soon as possible. If you are not the intended recipient you must not disclose, distribute, copy, print or rely on any of the information contained, and all copies must be deleted immediately. Whilst we take reasonable steps to try to identify any software viruses, any attachments to this e-mail may nevertheless contain viruses, which our anti-virus software has failed to identify. You should therefore carry out your own anti-virus checks before opening any documents. HomeLoan Partnership will not accept any liability for damage caused by computer viruses emanating from any attachment or other document supplied with this e-mail. HomeLoan Partnership reserves the right to monitor and archive all e-mail communications through its network. No representative or employee of HomeLoan Partn
 ership ha
s the authority to enter into any contract on behalf of HomeLoan Partnership by email. HomeLoan Partnership is a trading name of H L Partnership Limited, registered in England and Wales with Registration Number 5011722. Registered office: 26-34 Old Street, London, EC1V 9QQ. H L Partnership Limited is authorised and regulated by the Financial Services Authority.
> 
> 
> 
> _______________________________________________
> 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@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list