Friday, June 29, 2007

LDAP Site

So I've had myself quite an adventure in learning Pylons. I love it, truely, though it can be a bit daunting to grasp the concepts required. There are plenty of great reads to put things into perspective but I am not proclaiming web development fame by any means. Javascript, AJAX, rails, etc have cultures of their own so expertise is not needed but some knowlege is required. Thankfully there is WebHelpers.

What is this post all about? OpenLDAP, Pylons, AuthKit and putting them all together in what I think is a useful little web app that allows people to share files within groups. Authorization with AuthKit handles a lot of the underlying mechanisms, but piecing it together is not for the feint of heart. I would like to revise the code as I've learned how to implement decorators, though everything works as is but using decorators would reduce the lines of code used.

One of the things to do is returning paginated results and allowing actions on those results. Lists of users to delete, rename, modify their groups, etc. Probably going to handle this with a check mark based input with columns.

If you would like to check out some screenshots of this site in action I've uploaded some on flickr. This is my first major project written entirely in Python. I have used Python for many apps and scripts but this was much more involved. I'm not posting any code just yet, though I plan to create an egg to add to cheeseshop once I iron out some of the before mentioned items.