#1
  1. 300lb Bench!
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Aug 2001
    Location
    New York
    Posts
    2,350
    Rep Power
    61

    Simple question: What are the benefits of ldap?


    I might be doing work for a company but it requires that I get up to speed on ldap. So far, my research on ldap tells me that

    1. It's "simpler" (whatever that means)
    2. It's not specific to one particular application (Neither is a relational database)
    3. It's hierarchical (not sure why that benefits me)

    Can someone give me a good idea on the benefits of ldap, why it's different from relational databases, etc.? Thanks in advance.
    Correspondence chess
    nothingbutchess.com
  2. #2
  3. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    I started using LDAP about 5 months ago (or so I forget) I needed to because the project called for it. Any ways the benefits in my opinion are:

    It's very good for long term storage, if you plan on just adding and leaving data it's great for it. You see LDAP is designed to be very fast at retrieving data but not at updating it. So it's best once in to be forever in. This isn't saying you can't or shouldn't but you want to limit the amount you do, especially on a large scale.

    LDAP stores in a directory structure i.e.
    Top entry
    next entry
    another entry
    second entry

    Look how your C: drive looks and you'll see how it stores data.
    This is a plus when storing data in different category and section etc.. It helps in separating items, which in turn makes it easier to search on and retrive.

    The most obvious difference between relational and LDAP is LDAP is in a tree structure and a relational database isn't. In a relational DB you search across and down, in LDAP you search down.

    I know I'm not thinking of everything that is good about it, but in my opinion it depends on what you'll need it for.

    Take a look at this post, it might have some stuff that I've forgotten .
    http://forums.devshed.com/t69907/s.html
  4. #3
  5. 300lb Bench!
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Aug 2001
    Location
    New York
    Posts
    2,350
    Rep Power
    61
    Thanks for the info, Viper. Yeah, this gives me more of an idea of the benefits.
    Correspondence chess
    nothingbutchess.com

IMN logo majestic logo threadwatch logo seochat tools logo