[Pixlib] let's collab - pixioc tools

Marcelo de Moraes Serpa celoserpa at gmail.com
Thu Jan 11 05:25:45 EST 2007


Hey Tim!

Hi guys!
> I am very excited by this release, as a chance to learn more and have fun.
>
> Exciting times, uh!? Hopefully, our whole plugin discussion helped shape
our minds and prepare us to pixIoC (btw, have you checked our lasts posts
where Stefan developed a nice working example?).

I'm also **very** excited. This whole work of Francis in itself is
marvelous. Now, it is time we start getting our hands dirty and also help to
shape pixlib's future!

n the past, I have done this by Constructor Injection (basically pass an
> object into constructor of a 'wrapper' class that defines new functionality
> for it
>
> Hmmm.. this remembers me of the decorator pattern (GoF)... :)

Here is a little example of such a technique (It is NOT pixlib, but at least
> you will see Constructor Injection);
> www.oddlyonward.com/timsplayground/downloads/particlemachine.zip
> and notes (animated) are here;
> www.oddlyonward.com/timsplayground/presentation1/
>

Thank you for the links!



> If you take that idea one step further, you can store the "recipe" for
> what kind of logic you want in a separate configuration file...
> I think in the case of pixioc, we use Setter injection to compose our
> logic, but it is almost the same.
> I hope I haven't added to confusion!
>

This is darn flexible, it is, as Mike (from deja-vue) said, the next AS2
revolution




On 1/11/07, Tim Will <thedigitalartist at gmail.com> wrote:
>
> Hey Zameer!  You're right, very cool, but a little like starting over
> right? ha ha!
> I am just starting to look at pixioc, but I'm thinking like this:
> First, there was MVC - very good because of separation of logic, data, and
> presentation.  But the controllers sometimes had repeated code, and every
> view was tied to a controller - sometimes the controllers would get complex,
> and the model would hold a lot of data right?  But then pixlib helped to
> break this up with FrontController, a kind of MVC plus Command.  Now we
> don't have a lot of view/controller combinations, we have views, small
> commands, and various models - more portable, easier, and everything can
> change at runtime - no more lengthy controllers.
> But of course, once we see how good it is, we want more! :)  So we have
> the whole discussion about plugin structure and logic.  A plugin is flexible
> because it brings its own logic with it...but how to establish flawless
> event flow with the existing core?
> But with pixioc, all that goes away (I think) because we are compositing
> the logic at runtime from a configuration stored in XML.  (Okay, I may end
> up proven wrong here, I am taking an early try at it).
> In the past, I have done this by Constructor Injection (basically pass an
> object into constructor of a 'wrapper' class that defines new functionality
> for it...then take that whole object, and pass THAT into the constructor of
> a new wrapper...etc...you do this as many times as you like until you have
> just the functionality you want)
> Here is a little example of such a technique (It is NOT pixlib, but at
> least you will see Constructor Injection);
> www.oddlyonward.com/timsplayground/downloads/particlemachine.zip
> and notes (animated) are here;
> www.oddlyonward.com/timsplayground/presentation1/
>
> If you take that idea one step further, you can store the "recipe" for
> what kind of logic you want in a separate configuration file...
> I think in the case of pixioc, we use Setter injection to compose our
> logic, but it is almost the same.
> I hope I haven't added to confusion!
>
> -tim.
>
> On 1/10/07, Zameer Rehmani <zrehmani at gmail.com> wrote:
> >
> > I checked out and looked at it.  Very coool but I am also very
> > confused... hopefully there will be an explaination and tutorials and ideas
> > how to use this.  Does this make the whole loading external modules and
> > communication with them easier?  What Tim was working on?  Tim what are your
> > thoughts?  I am just extremely busy on a project due in a week but thought
> > someone can filter this extension down in a simple way....
> >
> > Any thing I should read up on...
> >
> > Great work Francis!
> >
> > ciao,
> > Zameer
> >
> > _______________________________________________
> > Pixlib mailing list
> > Pixlib at osflash.org
> > http://osflash.org/mailman/listinfo/pixlib_osflash.org
> >
> >
> >
>
> _______________________________________________
> Pixlib mailing list
> Pixlib at osflash.org
> http://osflash.org/mailman/listinfo/pixlib_osflash.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/pixlib_osflash.org/attachments/20070111/23f7722a/attachment.htm


More information about the Pixlib mailing list