Hi guys,
I'm fairly new to perl and mason and I have come up with this question:
I have a databese and I would like to access it through mason. I want to
make an intermediaty "layer" to acess the database. I.E: a set of modules
that can be used within the Mason or other context.
The thing is how to I control the handler to the database? It should be open
as long as I'm using the website and it shoud be transparent
to te Mason programmer.
One should call DBPackage::init(); and from there all method calls that use
the database use the "internal" module database handler. But how and when
does this handler get destroyed?
What is the best way to approach this database - layer - mason/app problem?
Can you guys give me some pointers, please...
Thanks
Miguel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users