RE: Pretty Impressive Gui...
"Kirk Daries" <[email protected]> Thu, 29 Jan 2004 16:23:42 +0200
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Yep, Been investigating http://www.netwindows.org/ Looking pretty good so far. Only supports modern browsers which is ok by me. Plus, they use the dom/divs to generate javascript components/widgets which is easier to render serverside than javascript code. E.g. <div nwType="alert_box"> <div nwProperty="headerText">from inline constructor</div> <div nwProperty="width">150</div> <div nwProperty="alertText"><input type="button" onclick="__components__.getComponentFromNode(this).getTopLevelComponent().remove();" value="close alert box"></div> <div nwProperty="height">50</div> </div> Anyway... -KD >>> [email protected] 2004/01/29 16:01:01 >>> > However all this made me wonder if it would be possible to write > renderers for BComponents in order to generate DomAPI elements instead > of plain HTML... My boss will never buy me some time to sort this out, > but on a technical side it would be interesting I think. Well, this is precisely the reason why we designed the components the way we did. I don't know much about the DomAPI stuff, but if you can get your template as a DOM object, and then identify that its specifically a DomAPI type of DOM, the components could very easily load a custom set of renderers and away you go. Then it'd just be a matter of writing the renderers...it'd take some time to identify/work out any kinks, but probably not more than a couple of weeks (and possibly much faster). If you are interested in trying something like this, I'd be happy to offer pointers on the component rendering stuff. Christian ---------------------------------------------- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of Mark van Leeuwen > Sent: Thursday, January 29, 2004 2:46 AM > To: [email protected] > Subject: Re: [Barracuda] Pretty Impressive Gui... > > > Kirk Daries wrote: > > >Hi Guys, > > > >Came across this 2 days ago .... > > > >http://www.isomorphic.com/ > > > >Check out the demo page. > > > > > > FYI, I've been experimenting with DomAPI lately, which is very > impressive too, however less expensive and it is a browser thing only > (except the RPC thingy), so using it with any server-side technology is > not a problem. Isomorphic, technically impressing indeed, but seems to > put some constrains on how on the server-side you do your stuff. > > However all this made me wonder if it would be possible to write > renderers for BComponents in order to generate DomAPI elements instead > of plain HTML... My boss will never buy me some time to sort this out, > but on a technical side it would be interesting I think. > > -- > Mark > > _______________________________________________ > Barracuda mailing list > [email protected] > http://barracudamvc.org/lists/listinfo/barracuda _______________________________________________ Barracuda mailing list [email protected] http://barracudamvc.org/lists/listinfo/barracuda --------------------------------------------------------------- All views or opinions expressed in this electronic message and its attachments are the view of the sender and do not necessarily reflect the views and opinions of the Provincial Government Western Cape (the PGWC). No employee of the PGWC is entitled to conclude a binding contract on behalf of the PGWC unless he/she is an Accounting Officer of the PGWC, or his or her authorised representative. The information contained in this message and its attachments may be confidential or privileged and is for the use of the named recipient only, except where the sender specifically states otherwise. If you are not the intended recipient you may not copy or deliver this message to anyone.