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
    SEMrush
    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
    SEMrush
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,731
    Likes Received:
    26
    Best Answers:
    13
    Trophy Points:
    175
    #2
    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.