Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

I used to have a PHB who was a wizard at breaking applications. I wrote an application in Perl to allow "self service" updates of information in our LDAP directory. Once they authenticated and if they had the privileges to do so they could also add new entries and/or delete entries.

I thought the code was 100% bullet proof. Error checked every piece of data that was gathered by the UI and did "does this make sense" types of checks on groups of data. No way this can break.. right?

Enter the PHB. Within three minutes of using the app to enter new people into LDAP he managed to break the app. Fortunately the default action on error was to put up a page that said "An unfortunate turn of events have occurred resulting in an application error. Don't worry though the software author is looking into it." The module that did that would collect as much data as available and email it to me so I could see what braniac stunt PHB had done. after about two weeks of this there were enough tests in place that he couldn't break the app any more.

PHB now has a job as far separated from computers as possible. :-)


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

In reply to Re: When writing code for end users, what operator error surprises you the most? by blue_cowdawg
in thread When writing code for end users, what operator error surprises you the most? by ksublondie

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (6)
    As of 2014-09-23 07:08 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (210 votes), past polls