Re: YAM (Yet Another Module) - an IPC shared cache thing - anyoneinterested ?

2000-07-23 Thread Greg Cope

"T.J. Mather" wrote:
 
 Have you considered using HTML::Template?  It is a simple yet powerful way
 to seperate HTML from Perl code.  It can do loops (good for HTML
 tables), includes, and if/unless/else statements.  Furthermore, it has
 shared memory for templates built in.
 
 http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?dist=HTML-Template-1.8

Thanks for that.

Looking at that lead me IPC::SharedCache - which is almost exactly what
I have decided to do - albiet Sam Tregar's implementation appears alot
better.

My Implentation of the template is very simple - i.e you give it a
template, then ask it to sub in all the values into the tag locations,
and return a scalar ref.  There are a few other methods (for defining
tags and their values) -p but thats it.

I seem to have implemented an HTML::TemplateLite and IPC:SharedCacheLite
 I have learned alot and can always reuse the code in the orginals -
this is after all perl 

Thanks again.

Greg Cope





Re: YAM (Yet Another Module) - an IPC shared cache thing - anyoneinterested ?

2000-07-23 Thread Perrin Harkins

On Fri, 21 Jul 2000, Greg Cope wrote:
 I've writen a small IPC sysV based shared cache thingy ... (useing
 IPC::ShareLite), and I'd like some comments oin the design if anywants
 to crtique...

Can you explain how your approach is different from the ones in
IPC::Shareable, IPC::Cache, IPC::SharedCache, IPC::MM (using shared hash),
File::Cache, and BerkeleyDB, and list some advantages/disadvantages of
your module?  Your module may be great, but it's hard for people to know
which one to use in this crowded field without some explanation of the
differences.

- Perrin




Re: YAM (Yet Another Module) - an IPC shared cache thing - anyoneinterested ?

2000-07-22 Thread T.J. Mather

Have you considered using HTML::Template?  It is a simple yet powerful way
to seperate HTML from Perl code.  It can do loops (good for HTML 
tables), includes, and if/unless/else statements.  Furthermore, it has
shared memory for templates built in.

http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?dist=HTML-Template-1.8