durusmail: quixote-users: Re: Rocinante: Quixote with generators.
Rocinante: Quixote with generators.
2003-06-06
Re: Rocinante: Quixote with generators.
2003-06-06
Re: Rocinante: Quixote with generators.
Graham Fawcett
2003-06-06
Oscar Rambla wrote:
> That's my first mail to this mailing-list, so i'd like to present-me (sorry
> for its extension).

Hello, Oscar!

> Finally, I took 'the bull by the horns' .
> I've extended quixote session publish to integrate generators.

An interesting idea... I admit that I don't see the benefit from a
first-reading of your post, but I'm intrigued.

> The idea is to maintain a stack of generators inside the publish class. When a
> component returns something that is not a string and is not callable I call
> it and store it into the stack.

Is your collection of generators truly a stack? Is the
stack/tree/collection available to all sessions? Or does a unique
session map onto a single collection of generators?

Have you experienced any clean-up/performance issues?

> This sems to fit well for me. It avoid me much reprogramming.
> I like to call it 'Rocinante' with the permission of the creators of the
> 'saga'.

Could you post (a link to) your code and perhaps a 'hello, world' example.

> Now , it's weekend for me.>
> Oscar Rambla Serra   tecnic@codidoc.com
> CODI
> Sant Cugat del Valles
> Barcelona ( Where first Quixote book was printed.)

A weekend in Barcelona... I envy you, amigo. Here in southwestern
Ontario (Canada) we've been having March weather (rain and 10-15
degrees) for weeks. I forget what the sun looks like!

-- Graham



reply