From: David C. R. <dr...@xo...> - 2003-04-06 21:13:20
|
Hi, I have some questions that I hope are germaine to this list. i am developing a web-based application for a client that does typical web db app stuff (track records, let people view/edit/create based on group priveleges, etc.). They unfortunately require that it be run on one of their servers, meaning that I am limited somewhat in terms of what I can put on their machine, and I can't use OpenInteract or Template Toolkit. I am using SPOPS and a rudimentary templating module. Is there a "best pratice" for using SPOPS in such a way? Specifically, where should logic be implemented and how should action dispatch be handled? I am thinking of the approach of adding a common handler 'code_class' to each class. The handler will contain methods and also a dispatch mechanism to determine the appropriate method and template to employ based on user privilege, current class and requested action. Is there a cleaner way to do this? Thanks, Dave |