Mon 11 Jan 2021
Wed 6 Jan 2021
REST plus RPC: the right data in the right format, and no more
Tue 5 Jan 2021
REST plus RPC: Do the demo backward
Notes/Web Coexistence Tip #1
Thu 23 Oct 2003, 10:07 AMTweet
by Ben Langhinrichs
<SELECT name="URLpick" onChange=window.open('/forum/'+this.options[this.selectedIndex].value,'_top')>
<OPTION VALUE="" SELECTED>Select view</OPTION>
<OPTION VALUE="/DateAllThreadedWeb?openView">Date (threaded)
<OPTION VALUE="/DateAllFlatweb?openView">Date (flat)
<OPTION VALUE="/DateAllwithExcerptWeb?Openview">With excerpt
Copyright © 2003 Genii Software Ltd.
What has been said:
61.1. Neill Laney (10/23/2003 08:48 AM)
Ben, I respect your expertise and have been following your posts for some time.
The main problem that I have with using Notes for web development is exactly what you've just described - making the transation between what the browser interprets, and how to generate the code in Domino.
But then, I'm not a WYSWIG fan, either. GUI interfaces are terrific, but no competent, self-respecting developer of is going to use a tool where you can't see under the covers. Take any presentation layer, and if you don't have the mechanism to see the underpinnings, then you have a layer that cannot be shared universally, and why XML and CSS will replace them, IMO.
61.2. Ben Langhinrichs (10/23/2003 08:57 AM)
These are good points. I wish it were easier to sit in the designer and say "See the HTML". I know you can preview and view source, but it is hard to see a side-by-side view that shows a WYSIWYG view and the generated HTML.
For what it's worth, my session is focused on ways to share a design between Notes and Web, when to do it and when not, and that sort of thing. This isn't a great example of that, but addressed a question I have been asked many times and have seen posed many times, which is how to make a combo-link box.
61.3. Nathan T. Freeman (10/23/2003 09:14 AM)
I've said it before and I'll say it again: the use of pass-thru HTML is indicative of a failure, either on the part of Domino or on the part of the developer.
The HTML generated by a development tool *should* be primarily irrelevant to the developer. When you're working with C code, do you really take a deep look at the byte-code generated by your compile? Maybe if you're writing Doom III, sure, but the entire purpose of higher-level languages is to shield the developer from unnecessary details. ASPs, JSPs and Domino are all similar in this respect. That's not to excuse *bad* HTML generation by some tool, (Frontpage, for instance) but the quality of a web development tool should be determined by its ability to properly shield those layers and let the developer focus on relevant tasks instead of data entry.
61.4. Stan Rogers (10/23/2003 10:31 AM)
I'm going to be a bit more generous here, and posit an alternate scenario. We all know that there have been more than a few cooks involved in the making of the forum broth -- the design is rarely stable for more than a couple of months. I would suggest, then, that the passthru as it now stands once lived on a Page (in hopes of exploiting caching behaviour, I'd expect), or was shared between one or more Pages and Forms and now resides exclusively on Forms. It was never touched (except to edit the view list) or really even questioned. Does that make it excusable? No -- but it does make it historic.
61.5. Ben Langhinrichs (10/23/2003 11:15 AM)
I hope I didn't come off as too critical of those who have developed the forum template. While it may be that, as you suggest, it was originally somewhere else, I do think many developers feel that if they start needing to do anything web-like, they should switch over to HTML, and a great deal has been added to the Designer to allow you NOT to have to do that.
61.6. Mouny (06/29/2004 02:29 PM)
I need a text popup on web for dialog box
(Allow multivalues is selected).
When the cursor is on the list box I need to show the selected value as a text popup.
Please let me know how I can do this.
Thank you in advance.