Wednesday, 11 July 2007

Software Project "Postmortems"

Prelude:
Yip...have been off the blogging world for a bit longer than usual as I've been quite busy trying to catch up and finish off various businesses in 'me' life!

During my 'off blogging' period...of coz I'm still relatively active on the web....and I have so many so many so many blog posts that have accumulated for the past couple of months or so....so, let me see if I can slowly catch up! : P

Meanwhile let me move on to "Postmortems"!!!

What is "Postmortems"?
Typing in "define: postmortem" on Google gives me the following:
  • Occurring after death.
    www.dabney.com/wacomuseum/library/medterms.html
  • After death. Often used to describe an autopsy.
    www.stjude.org/glossary
  • Complete exam of chicken after death
    www.geocities.com/KelliAnn293/definitions.htm
  • Came across this article today at work:
    Gave Development Postmortem
    which talks about what can and should be discussed after a software project has come to an end.

    Obviously this rarely happens in reality, but I reckon and agree it is very important to have 'some sort of postmortem' no matter how short it takes. By having communication and discussions, everyone and those participated can all 'learn' from the experience....so that the next project will be better to manage, better to develop and more efficiently completed!

    My conclusion:
    If I am a manager or a project leader one day.....I'll definitely look into this!!! : P

    *P.S. - Inside the article there, there is a link to another article "The Value of Project Postmortem"

    Thursday, 21 June 2007

    The wonderful 'Label' tag (for creating clickable labels)

    The HTML Label tag for creating clickable label:
    There's actually a
    <form name="input" action="">
        <input type="checkbox" name="sex" id="male" />
        <label for="male">Male</label>
        <input type="checkbox" name="sex" id="female" />
        <label for="female">Female</label>
    </form>

    Demo:



    So now if you click on the label "Male" it will check the check box with the id="male". Similarly if you click on the label "Female", it will check the check box with the id="female".

    Limitation:
    However the tag is not supported in Netscape 4. The following links are pages that I have come across that shows an alternative of how labels can still be made clickable by performing some magic with Javascript:

    http://www.askdavetaylor.com/make_text_adjacent_to_checkbox_clickable.html
    http://www.inquiry.com/techtips/dhtml_pro/10min/10min0101/10min0101.asp


    Also a good, simple explanation of the label tag in here;
    http://www.robertnyman.com/2005/12/09/label-the-secret-element/

    Tuesday, 19 June 2007

    JSP and JSP Fragment

    I was kind of shock to find out that there's something call JSP fragment which can be added into JSP pages (more shocking to know that I've been so blind!!! : O). Embedding "fragments" in JSP is not the same as embedding another JSP page (which I know about!!! : P).

    So here are the explanations!!!

    JSP:
    A JSP page is a text document that contains two types of text:
    • Static data - which can be expressed in any text-based format (usually HTML).
    • Dynamic content - Constructed using JSP elements
    The page can consist of one or more files. It may include other files that contain either a complete JSP page or a fragment of a JSP page.

    Embedding the whole JSP page:
    For embedding source files of complete JSP pages, the files should use the extension, .jsp.

    Embedding the JSP fragment:
    For embedding incomplete JSP segments, the files should use the extension, .jspf. (It needs not to be legal JSP pages and thus may not compile properly).

    References:
    http://en.allexperts.com/q/JSP-Java-Server-3299/difference-jsp-jspf-files.htm
    http://publib.boulder.ibm.com/infocenter/wchelp/v5r6/index.jsp?topic=/com.ibm.commerce.developer.doc/refs/rsdjspbpjspf.htm
    http://java.sun.com/developer/technicalArticles/javaserverpages/code_convention