elfuchsjekyll / vosao

Automatically exported from code.google.com/p/vosao
0 stars 0 forks source link

Site - Refactor templates to include shared elements #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The site templates include a common set of navigational items which are now 
redundantly coded. The shared items could be moved to separate content 
pages and then "included" using $service.findContent. 

To illustrate: 

<body>

$service.findContent("/inc/menu-bar")

$page.content

</body>

In this way, changes to shared elements can be managed from a single page. 

(Will making multiple calls to findContent present a performance issue? (I 
there an alternative?) There is a detectable pause when loading the Blog, 
which loops through several findContent calls.)

Original issue reported on code.google.com by ted.husted on 30 Dec 2009 at 1:02

GoogleCodeExporter commented 9 years ago
Implementation of the issue http://code.google.com/p/vosao/issues/detail?id=69 
will
provide aggressive persistence calls caching in memcache. This must solve 
performance
problems during multiple findContent calls.  

Original comment by kinyelo@gmail.com on 30 Dec 2009 at 1:11

GoogleCodeExporter commented 9 years ago
Should we make #69 "MemCache" a necessary prerequisite for #76 "Shared 
Elements"? Or
can we (meaning I) just go ahead with Shared Elements while we work on 
MemCache. 

-Ted.

Original comment by ted.husted on 30 Dec 2009 at 1:43

GoogleCodeExporter commented 9 years ago
We can go ahead.

Original comment by kinyelo@gmail.com on 30 Dec 2009 at 1:49

GoogleCodeExporter commented 9 years ago
Fixed. 

All the templates are pulling inc/header and inc/footer in the body. I left the 
head 
area in the templates, since we might ultimately flex the metadata for each. No 
apparent performance impact. (Actually seems faster.)

Original comment by ted.husted on 31 Dec 2009 at 2:34

GoogleCodeExporter commented 9 years ago
Updates made to vosao.husted.com staging site

Original comment by ted.husted on 11 Jan 2010 at 2:21