Sohodojo Forums
The Nitty Gritty - Executable Models and Internet Programming The dynamic static balancing act...
|
UBBFriend: Email This Page to Someone! | next newest topic | next oldest topic |
Author | Topic: The dynamic static balancing act... |
Jim_Salmons Black belt |
posted 05-28-1999 03:43 AM
Some of what makes ZOPE a good platform for building executable business model frameworks also makes it a bad platform from a web presence standpoint. The dynamically-generated pages of a model-driven website can be engaging to the human visitor. But such dynamically-generated sites are invisible to search engines which are the traffic-generating lifeblood of the small business website. Search engine robots, spiders and crawlers do not follow links which request dynamically-generated content. They look at static pages only. A successful website will have to find a happy balance between dynamic and static content. A shell of static HTML pages will be used to promote visibility from a web presence standpoint. Keeping this static shell in synch with its underlying dynamic model is a challenge and an opportunity. |
Jim_Salmons Black belt |
posted 05-28-1999 04:50 AM
If you have dug around the dojo to any extent, you know we are dealers for the WebPosition site promotion application. It is a brilliant tool suite for planning, implementing and measuring the effectiveness of keyword-based search engine marketing strategies. This is a super tool. To reinvent or ignore it would be foolish. We want to use WebPosition Gold as the Heads Up Display for crafting and maintaining the static shell of doorway pages leading to our underlying ZOPE-based dynamic website. As you can imagine, programmatically spewing out a selective amount of your dynamic content to static files is a simple matter of programming. The trick is getting the "roll back into the underlying model" of changes made to the static pages, by the WebPosition HUD. You might use WebPosition to tweak some subset of your static pages and things are going great in terms of generating traffic to your site. You don't want an update of the underlying dynamic content from which the static shell pages are generated to overwrite these tweak-improved pages. Either we need to figure out how to implement an editing indirection, that is, we need WebPosition's Page Critic to look at the static pages but edit the underlying model.... or we need to have a mechanism for rolling back model state changes from the static pages into the underlying model. The first approach is unlikely as it would require FirstPlace Software to collaborate in the definition and implementation of an open API for binding user-defined Page Critic editors. The second approach is more likely as the existing text editing capabilities of WebPosition don't care if there is XML content tagging in the page source or not. A static file change event could trigger a synchronization by the ZOPE-based underlying model. |
Jim_Salmons Black belt |
posted 06-28-1999 10:17 AM
Here is an excellent post from Evan Simpson made to the ZOPE Admin list this week. Evan outlines his solution for constructing combo static/dynamic sites using Apache and ZOPE. Thanks, Evan, for sharing this with the rest of the ZOPE community. ====================== I am serving a set of websites with different domain names from a single All pages, including those from Zope, must be reachable with URLs which end I came up with the following framework: 1. I can force a static URL by prefixing it with the 'site name'. For the site named '4am', I have: #1 and stop Now, one problem remains; Zope uses the path constructed by object traversal In ZPublisher/Publisher.py, around line 360, find line 'URL=request.script'. rawURI=request.environ.get('ZOPE_RAW_URI') then change 'setBase(URL)' to 'setBase(rawURI or URL)' around lines 380 and URL=rawURI or URL This all *seems* to work just fine, although I may have missed a corner case [This message has been edited by Jim_Salmons (edited 28 June 1999).] |
All times are ET (US) | next newest topic | next oldest topic |