• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Wonder-disc] D2W(onder) Sample Sites?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wonder-disc] D2W(onder) Sample Sites?


  • Subject: Re: [Wonder-disc] D2W(onder) Sample Sites?
  • From: Anjo Krank <email@hidden>
  • Date: Sun, 9 May 2004 16:58:30 +0200
  • Xx-reply-to: email@hidden

Hi Ashley,

Am 09.05.2004 um 12:22 schrieb Ashley Aitken:
I do show people the PageWrapper and MenuHeader and how they can be easily changed, and talk about freezing and building your own templates.

Really? Freezing works for you? I had strange error where the components where empty and so on.


<rant>
I think you should try to avoid freezing as much as possible: WO components are incredibly expensive in overall maintenance. You need 5 files and one directory to take care of and when you rename them you need to look in a bazillion of strange text files like D2WModels, .wo's, inline Strings, Java Source and all this over a bunch of frameworks. I wish I knew who came up with the super-bright idea to name the .html, .wod and .woo after the Component and not with a generic name "index.html".
</rant>


In fact, this is one of the main reasons I work with D2W: you get to compose apps with a little CSS and one rule file.

The only way I'd freeze a page would be to add a functionality I couldn't place anywhere else.

However, it would be nice to be able to refer them to some publicly accessible Web apss that are driven by D2W(onder) that look somewhat different.

Can anyone give URLs for publicly accessible Web apps that were constructed with D2W(onder)? Oh yeah, I do also mention the iTMS (which I believe is WO and perhaps D2W/Wonder?

David has some utterly awesome stuff of which you wouldn't believe for a second that it's D2W (or even WO). But like my things it is all closed for the public.


To do that he created a framework "C9XMLLook" (try to type that as a prefix to every component..shudder) where he cloned each and every ER*, JavaWOExtensions and D2W component he used and translated them to xml. So his lists look sth like:

<List>
<ListHeader>...
<ListItem><ListField><WEBOBJECT NAME=...
...

Then, when the page it generated, before it is sent to the client, he runs them through an XSLT parser, which allows him to create just about any HTML you can imagine.

Very much the same could be achieved if you created ERDRepetitions that spew out some reference around the actual property components, a la:

<span class="loop"><td><span class="label">...<span class="item"><span class="MyPropertyComponent">...

Only that you XSLT would check for attributes instead of tag names (and you'd need to make sure your html is also valid XML, but that could be done with the script I posted some time ago).

For easier customization, you'd only clone the repetitions and use CSS.

I guess I could use BugTracker ...

Well, it could use a bit of cleaning up:) There should be also Max's demo of the "MiniUglyLook" in the Wrox examples.


Cheers, Anjo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: [Wonder-disc] D2W(onder) Sample Sites?
      • From: Ashley Aitken <email@hidden>
References: 
 >D2W(onder) Sample Sites? (From: Ashley Aitken <email@hidden>)

  • Prev by Date: D2W(onder) Sample Sites?
  • Next by Date: Re: [Wonder-disc] D2W(onder) Sample Sites?
  • Previous by thread: D2W(onder) Sample Sites?
  • Next by thread: Re: [Wonder-disc] D2W(onder) Sample Sites?
  • Index(es):
    • Date
    • Thread