|There's more than one way to do things|
Starting with CGI::Application(::Session) and Loginsby deep submerge (Scribe)
|on Aug 22, 2004 at 04:05 UTC||Need Help??|
deep submerge has asked for the
wisdom of the Perl Monks concerning the following question:
I post my troubles with great hesitation... Again, I've looked all over for information about logins with CGI::Application and CGI::Application::Session. I've super searched, I've Googled, and I've wiki-ed. None of it seems to make enough sense for me to keep coding.
All I've gathered so far is that many would prefer to seperate authentication and the actual guts of the program into two C::As. But I don't get it? Why? Why do that?
Questions like... Which parts of the program actually need to be run modes? The nouns (results) or the verbs (the actions)? Where does my validation function go? How do I store/work with a session? How do I debug C::A?
I don't know. I'm so confused. I wish someone would just hold my hand and post a very concrete example of a C::A with login. I've read through so many already (its been hours) and none of them make sense. Again, I feel silly.
Thoughts, oh wise ones?
Edit: Forgot to mention the use of C::A::S...