I definitely wasn't agreeing with you, but I wasn't really making fun
of you either.  I'll give you a hint: there's a reason why we have a
base DataSource class, which is extended by DboSource, which talks to
the database on behalf of a model.  Felix's Google Analytics model is
actually a pretty poor example.  Not because Felix is a bad coder or
anything (quite the contrary), but because up till now, there are a
few things that people really haven't clearly understood (or perhaps,
there are a few things we haven't made clear for people).  Basically
what I'm trying to say is that you should never have to extend Model
in that way.  Models are designed to *model* data, not handle the
details of accessing it.

On Feb 6, 7:51 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 2/6/07, nate <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 6, 3:47 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
>
> > > You can create models that don't do database stuff, that's for sure.
>
> > Then it will surprise you to learn that that's exactly what we're
> > doing.
>
> I can't tell if Nate is agreeing with me or making fun of
> me...probably the latter. ;)
>
> Felix's Googe Analytics model is a perfect example of that.
>
> --
> Chris Hartjes
>
> My motto for 2007:  "Just build it, damnit!"
>
> rallyhat.com - digitial photo scavenger hunt
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to