1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

html presentation without getters

Discussion in 'PHP' started by mcdeere02, Aug 5, 2009.

Thread Status:
Not open for further replies.
  1. #1
    I know at least some of you know this article:

    http://www.javaworld.com/javaworld/jw-0 ... olbox.html

    It's all convincing. Until you come at the point where Listing 4 is presented: an HTML representation of the Employee without exposing internals.
    To improve that class HTMLExporter, I see one solution: a template for the employee (variables filled in by the HTMLExporter) and added to the main template.
    Do any of you know alternatives?
    mcdeere02, Aug 5, 2009 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Likes Received:
    Best Answers:
    Trophy Points:
    I can't view the original code due a fault in your url.

    Please add a correct URL :)
    EricBruggema, Aug 5, 2009 IP
Thread Status:
Not open for further replies.