Unveiling Master Pages
It took longer than we expected and given us some appreciation for the time it may take to get Earth Chronicle and our Atlas up. However, the ease of the new template gave us an opportunity to blitz 60+ pages. Between building them and testing them thoroughly, it's taken several weeks to get the core webpages, content review, and ASP.NET testing section up and running. We will complete all the other pages, including the historical section as well, but the .NET testing was especially important to post since it includes not just our most recent testing, but also the entire master page saga so central to this redesign.
We've also taken the opportunity to do a little fundamental restructuring, now that we've been kicking around inside the beta site for as long as we have. The current system was workable for about... this long. However, we're doing a lot of development and we desire to archive everything as essentially educational / museum pages to illustrate development techniques and serve as a history of the development of the website. This has lead to a surplus of files lying around which is making it harder to find files when we need them. We're therefore crafting a more professional site structure to handle the load we're experiencing. To "clean up" the old structure and keep it out of the way of the new files, we're separating all the current test pages into a historical folder, and that requires a little rewiring (some of it anachronistic). So that chewed up some of this time as well. But we are excited and proud to unveil our new redesign which we hope to follow shortly with news about the other sites in the Earth Chronicle family.
[chroniclemaster1, 2009/01/20]
It's becoming apparent that our most effective structural decision for improving the website to date is creating templated pages using ASP.NET master pages and user controls. This combination has replaced server side includes (SSI), with more flexible technologies. Master pages are compiled, and therefore pull down like simple HTML almost as if there was no server side programming involved at all. SSI has to be processed by the server with every HTTP request for a page, and the user has to wait ever time, so we are pleased to give you speed.
At the same time it has permitted us to forward our agenda of code separation to more extreme lengths which make Earth Chronicle substantially more maintainable. We can now substantially achieve our goal of "one line of code, one file" for all code on the website. When all code you use is in one location then any change can be made once and be complete, making for an easy to maintain website. The navbar on every page is defined in one user control file. The new recommended page links are defined in one user control file, etc. Moreover, the general template is defined in the various master pages and all content pages are spliced into them. Check out our master page development in our ASP.NET projects section.
Master pages also permit much more advanced testing procedures. Gone are the days of clicking through pages on the website and trying to determine what would be the next change we should make and how to achieve it. We've written up testing procedures that we can evaluate, streamline, and improve. Better, it's a full pipeline that defines the life cycle of a testing page from birth, through testing, into archiving, and finally implementation on the live websites. Check out our ongoing testing for a rundown on our testing procedures and demonstrations of our historical content pages.
[chroniclemaster1, 2009/04/21]
Skip to Main Points