<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lotushints &#187; web site rules</title>
	<atom:link href="http://www.lotushints.com/tag/web-site-rules/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lotushints.com</link>
	<description>Lotus Notes tips &#38; tricks you always hoped you will not need</description>
	<lastBuildDate>Thu, 29 Dec 2011 09:47:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Organizing Notes Web Applications</title>
		<link>http://www.lotushints.com/2008/09/organizing-notes-web-applications/</link>
		<comments>http://www.lotushints.com/2008/09/organizing-notes-web-applications/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 21:36:04 +0000</pubDate>
		<dc:creator>Vladimir Kocjancic</dc:creator>
				<category><![CDATA[Basic]]></category>
		<category><![CDATA[Lotus Notes]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[organization]]></category>
		<category><![CDATA[web site rules]]></category>

		<guid isPermaLink="false">http://www.lotushints.com/?p=3</guid>
		<description><![CDATA[This one might sound a bit of a &#8220;d&#8217;oh&#8221; to experienced Lotus Notes developers. However, in my experience most of young Notes developers that are just starting to float (and even some swimming ones) are lacking ideas how to organize their Lotus Notes database. We all know how we felt for the very first time. [...]]]></description>
			<content:encoded><![CDATA[<p>This one might sound a bit of a &#8220;d&#8217;oh&#8221; to experienced Lotus Notes developers. However, in my experience most of young Notes developers that are just starting to float (and even some swimming ones) are lacking ideas how to organize their Lotus Notes database.<span id="more-3"></span></p>
<p>We all know how we felt for the very first time. Dropped into a thing called Notes, with something non-relational called a database, only to find out that it is really a massive component storage and not just a database. All that storing capabilities sooner or later require some sort of database organization. Most would be satisfied with basic configuration and that is fine, if you are creating a small internal database that no one will ever look at. Building a large web based application, one would soon find out that default is not even nearly good enough.</p>
<p><strong>Why is web different?</strong></p>
<ol>
<li>Domino engine (at least up to version 7.0.3) still doesn&#8217;t know how to add Expires headers to css, JavaScript and image files and thus those files are never cached. Yes that is correct. Never.</li>
<li>Using pages for design elements as CSS and JavaScript is (since release 6.0) not recommended, as there are separate sections to store those files (Style Sheets and Files).</li>
<li>Sticking with pages and using computed text to generate links to images is slow and thus effects your web site performance. Specially from remote areas.</li>
</ol>
<p>Thus, when redesigning a web database, I try to stick to following guidelines:</p>
<ol>
<li>Put only CSS in pages (if it is really necessary) and use relative linking and 0 computed texts. All other resources are stored in desired places.</li>
<li>Give an alias to all design elements, i.e <em>scripts/myscript.js</em> or <em>images/myimage.gif</em> or <em>styles/mystyle.css</em>.</li>
</ol>
<p>Naming convention assures me that my design is always <strong>easy to find</strong>, I can <strong>relatively assign links</strong> to image resources from CSS without a need for database replica id and most importantly, it allows me to <strong>force Expires header to design elements via Web site rules</strong>, which (due to design elements now being cached) results into significantly faster web site loading.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lotushints.com/2008/09/organizing-notes-web-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

