Forum OpenACS Development: Re: ad_page_contract to be used on includes

Posted by Tom Jackson on

I hope this discussion can somehow be condensed into a TIP, because, in my opinion, mucking _at all_ with ad_page_contract is a big deal. ad_page_contract is _not_ broken, and I believe I have shown a much better method of creating an include that results in a re-useable page.

Even if the result of this experiment is that ad_page_contract appears on the exterior to work the same, it seems odd to have it work one way or another depending on the context it appears to be in. And it will need to do this extra work of figuring out where it is at, for every page, and every variable. Debugging may also become an issue, and it already is difficult to trace problems.