Re: How to approach converting to CDBI?

[prev] [thread] [next] [Date index for 2005/07/04]

From: Brett Sanger
Subject: Re: How to approach converting to CDBI?
Date: 17:56 on 04 Jul 2005
On Mon, Jul 04, 2005 at 12:07:36PM -0400, Michael Peters wrote:
> Yeah, this is actually one of my favorite things about C::DBI and that's
> column inflation/deflation. I would inflatet the date (or datetime)
> columns into DateTime objects (some people like Time::Piece, but it's
> the same approach).

So much assumed in so few words :)  I've been looking at using
Time::Piece for our timestamp representation, and just fought with
subclassing it to create our ap_date model.  At first, everything looked
fine, it works more smoothly for that than DateTime.  Then I discovered
that it isn't fully subclass-friendly.  (To whomever was having problems
with Time::Piece::MySQL, I now know why that module works as it does)

At least this is educational!

        -- 
        SwiftOne  /  Brett Sanger
swiftone@xxxxxxxx.xxx   

How to approach converting to CDBI?
Brett Sanger 15:45 on 04 Jul 2005

Re: How to approach converting to CDBI?
Michael Peters 16:07 on 04 Jul 2005

Re: How to approach converting to CDBI?
Mike Whitaker 16:09 on 04 Jul 2005

Re: How to approach converting to CDBI?
Michael Peters 16:18 on 04 Jul 2005

Re: How to approach converting to CDBI?
Mike Whitaker 16:21 on 04 Jul 2005

Re: How to approach converting to CDBI?
Brett Sanger 16:28 on 04 Jul 2005

Re: How to approach converting to CDBI?
Brett Sanger 16:20 on 04 Jul 2005

Re: How to approach converting to CDBI?
Brett Sanger 17:56 on 04 Jul 2005

Re: How to approach converting to CDBI?
Matt S Trout 17:27 on 04 Jul 2005

Re: How to approach converting to CDBI?
Brett Sanger 17:36 on 04 Jul 2005

Re: How to approach converting to CDBI?
Jonathan Tweed 18:09 on 04 Jul 2005

Re: How to approach converting to CDBI?
Matt S Trout 18:40 on 04 Jul 2005

Re: How to approach converting to CDBI?
Tony Bowden 20:39 on 04 Jul 2005

Re: How to approach converting to CDBI?
Michael Peters 20:48 on 04 Jul 2005

Re: How to approach converting to CDBI?
Matt S Trout 21:49 on 04 Jul 2005

Generated at 16:36 on 28 Jul 2005 by mariachi v0.52