[pmwiki-users] ZIP Engine

The Editor editor at fast.st
Tue Oct 10 04:28:38 CDT 2006


On 10/9/06, Crisses <crisses at kinhost.org> wrote:
>
>
> On Oct 9, 2006, at 9:21 PM, The Editor wrote:
>
> I've just uploaded the code to the new Zip Engine (formerly FAST Data)
> at http://www.pmwiki.org/wiki/Cookbook/ZipEngine where it
> is displayed
> in the page.
>
> Any thoughts?
> I only gave it a glance.
>
> Misc functions: FixPage -> ZIPFixPage.  Do the same for Emailer, CreatePage,
> etc.
>
> markup namespace:
> Markup('zform', '<{$var}', '/\(:zipform(.*?):\)/ei', "ZipForm('$1')");
> Markup('zdata', '<{$var}', '/\(:zipdata(.*?):\)/ei', "ZipData('$1')");
> Markup('zlog', '<{$var}', '/\(:ziplog(.*?):\)/ei', "ZipLog('$1')");
> Markup('zend', 'inline', '/\(:zipend:\\)/', '</form>');
>
>
> You can spell out ZIP :)  -- it's more in accordance with all your other
> namespace choices. (ZIPform, ZIPdata, ZIPlog...)
>
> I suggest you keep it consistent.  If you're going to do ZIP in caps for
> your namespace, try it that way for all the Zip-related namespaces.
>
> I don't have the braincells to rub together to evaluate it for whether it
> would work as a class.
>
> Crisses

Thanks for the suggestions.  I'll see if I can't change them.
Actually, I'd still kind of like to try and set this up as a class.
In which case I could keep all these functions the same. One or the
other...

Cheers,
Caveman




More information about the pmwiki-users mailing list