Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] memcache support in Propel

propel
Discussion topic

Back to topic list

Re: [propel-dev] memcache support in Propel

Reply

Author Pedram Nimreezi <zenstyle at gmail dot com>
Full name Pedram Nimreezi <zenstyle at gmail dot com>
Date 2007-10-05 10:53:38 PDT
Message > You mean the data retrieved simply encapsulated in objects? Say, like if
> you've got a customer table and Propel retrieves all the data for one
> customer, the resulting Customer object instance would be what you call
> a value object..?

Yes, it can also be called a Data Transfer Object... since it's an object, that
holds your data, abstracted as a class that can be transferred to receivers...
(which can be anything that's coded to play nice with it)

>
> oh and if you aren't sure just how EVIL eval() is, go benchmark it,
> anytime you run eval() it forks the php interpreter again over the
> code you eval() and the opcode cache cant do anything nice about
> this... eval() should be renamed evil()...
>

+1 ;), and not just because it's slow... it's also highly unsafe, it's akin to
giving your script access to run anything that can be possibly held in a string
which in (loosely typed) php can be almost anything... eval is a bad ju ju...

if you're not afraid of some hairy c code.. look up Vulcan Logic SRM... that has
a very unique way of keeping objects live, and active in memory...
written by the
same guy that makes xdebug (talk about credentials)... but at last
look it had bugs.
might give you some unique insight, in fact since some of the code is
mirrored...
(in that they're both a separate daemon with memory persistency) maybe memcache
extensions could be made to facilitate this... I may have to
investigate this further...

Oh btw, the AMF extension is stupid fast... it uses some linked list
buffering strategies
which may shed some more optimization enlightenment...



> On 10/5/07, Alexander Kahl <akahl at iconmobile dot com> wrote:
> > Hi Pedram :)
> >
> > On Thu, 2007-10-04 at 12:16 -0400, Pedram Nimreezi wrote:
> > > > Am I getting something
> > > > totally wrong here?
> > >
> > > Only slightly
> > Then I'll try to get the whole idea.


--
~
Pedram Nimreezi
Internet Developer / Frameworkologist
mc at majorcomputing dot com | pedram at 5g dot com
--
No man is a complete failure until he begins disliking men who succeed

« Previous message in topic | 13 of 13 | Next message in topic »

Messages

Show all messages in topic

memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-09-21 03:44:35 PDT
     Re: [propel-dev] memcache support in Propel Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-09-21 17:04:30 PDT
         Re: [propel-dev] memcache support in Propel Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-09-22 15:26:22 PDT
             Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-09-24 02:31:12 PDT
                 Re: [propel-dev] memcache support in Propel Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-09-24 22:25:07 PDT
                     Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-10-02 09:07:26 PDT
                 Re: [propel-dev] memcache support in Propel Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-09-24 22:52:39 PDT
                     Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-10-02 09:13:00 PDT
                         Re: [propel-dev] memcache support in Propel Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-10-04 09:16:28 PDT
                             Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-10-05 05:03:59 PDT
                                 Re: [propel-dev] memcache support in Propel Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-10-05 05:26:37 PDT
                                     Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-10-05 05:50:04 PDT
                                     Re: [propel-dev] memcache support in Propel Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-10-05 10:53:38 PDT
Messages per page: