Slashcode Log In
Learning Perl for Slash... where next?
I've also got Programming Perl. However, I'm not a CS grad... I'm self-taught using the not-quite-toy language ColdFusion. The camel book strikes me as being intended for people who already know what the hell they're doing with a real language. Unfortunately, I don't, and this book makes my head hurt after awhile. No practice examples also means that while I may understand what I'm reading, it doesn't stick with me.
I've also got The Perl Cookbook. It's better than the camel book for my purposes, but doesn't really seem to be meant for someone that wants to learn what makes the language tick.
And yes, I know about perldoc. However, every bit of documentation I've found on standard modules (because the slash modules don't seem to me all that well documented) seems to be targetted at someone already very familiar with the language. I'm not, and so I tend not to find the module documentations very useful at this point.
I'm trying to eventually be proficient enough to do this:
- Create a "primary login screen" where a user enters their username & password before being granted access to the slash site.
- Use this login info to authenticate against my existing LDAP directory
- Use this username to see if this person exists in the slash users table. If they don't, add them. If they do, get whatever info is needed to "bake" the user cookie. My thinking here is that it will minimize the number of changes I have to make in the slash code. The user's UID is (understandably) used in many different tables, and it strikes me as a lot of work to figure out how to do without the users table entirely.
- Figure out how to actually "bake" the cookie slash uses to store user info and do it before granting access to the site.
- Check to make sure that slash will accept the cookie without ever requiring someone to log in. I think it will, but again I'm nowhere near skilled enough at this point to be sure.
Any advice, resource recommendations, books to read, etc. would be greatly appreciated. Implying that I'm stupid isn't, because I already know that.