Space web hosting - CHAPTER 3 CONTENT CHUNKING PATTERN Figure 3-3.
CHAPTER 3 CONTENT CHUNKING PATTERN Figure 3-3. Website architecture In Figure 3-3, the original HTML page has links to two other pages that represent an example blog and article content. The example content has two execution blocks: Get Navigation and Get Content (1,2). The logic used to generate Get Content 1 is distinct from the logic used to generate Get Content 2. In the context of generating an HTML page, when either Get Content 1 or Get Content 2 is executed, the logic Get Navigation is executed. This means the logic Get Navigationis executed multiple times, generating the same data each time. Some readers might argue that different data is generated by Get Navigation (e.g., different folders are opened), but in fact it is the same data formatted a different way. In a nutshell, there is an inherent data- generation redundancy that should be avoided. The solution is to distribute the logic so that an HTML page is generated, by using an architecture similar to Figure 3-4.
From our experience, we can recommend PHP5 Web Hosting services, if you need affordable webhost to host and run your web application.