I’m in the process of reworking some Notes forms which are almost entirley HTML and some of them are a bit of a mess. The HTML on the forms was a mixture of copy and paste from other sources and handwritten.
I’m curious as to how you all write the html for your forms/pages, and how you then go about integrating it into your Domino web application, and if you have any tips.
So for example, if you wanted to create a new form for use on the web, with a very specific design/layout, would you design the layout in something like NVU to produce the HTML? What would you do next?
Subject: Creating Web Pages For Use In Domino - Best Practices
Personally I hand code all of my html.
If I’m designing a web application I would usually make a mock-up version as a simple html page, rather than fooling with Notes right off the bat. Use that to get buy-in on the design from Marketing and the rest. That usually takes a few rounds of changes, and it seems easier this way. You can post alternate versions on any old server, email them and whatnot. (Just remember that you are designing towards Notes.)
Once the html is finalized you can fairly easly paste it into a Notes form and replace the INPUTS with the appropriate Notes fields.
Of course you don’t even have to use html, especialy on simple forms, because Domino will convert your Notes form to html on the fly. But using html gives you much more control.
Personally I like to have separate forms for the Notes and Web versions. Just have your two forms named the same thing, but one hidden from Notes and the other from the Web. Other people use the same form with two separate subforms, so that they share the same form event code and such.
Subject: RE: Creating Web Pages For Use In Domino - Best Practices
Thanks Brian, that’s pretty much how I do it just now. Was just interested to see how the more experienced web app developers out there did it.