Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Template::Toolkit::Session

by simon.proctor (Vicar)
on Feb 13, 2002 at 12:23 UTC ( [id://145145]=note: print w/replies, xml ) Need Help??


in reply to Template::Toolkit::Session

From what you have said, the Session plugin you have written affects the content displayed (if user has this.... if user has that... then display this...). If that assumption is correct then I would argue your module is affecting what is displayed and not how the core engine operates in creating that display.

If that assumption holds true then your plugin should, IMHO, follow the standard plugin structure that every other plugin follows.

I agree with the distinction made between content production and content management. I feel this distinction holds true to your plugins purpose (management not production).

Perhaps this plugin is something you could post into craft (or here) so we can see it?

But....thats just my opinion :) Have fun!

PS: I would argue that its equally as valid to instantiate your module as an object in your main code and pass it as a var in the template setup. But that really depends on the structure of your plugin.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://145145]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2024-04-23 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found