Best PracticesExporting Pages Without Markup for Publication on the Web


You have heard it from me in previous chapters, and you're going to hear about it again: bandwidth, bandwidth, bandwidth!

As I have mentioned throughout this chapter, one of the downsides to using templates is that the additional markup code added by Dreamweaver increases page size, which can slow down your load times. If your goal is to produce the leanest, meanest code possible (which it should be), then using templates doesn't fit with that concept because the markup unnecessarily bloats your file sizes. Does this mean that you can't use templates and still accomplish the most bandwidth-friendly pages possible? Absolutely not! It does mean that you're going to have to take a few extra steps to ensure that your code is as clean as possible.

The best way to accomplish clean code after using templates is to export the entire site without markup before you publish it to the web. This means that on the development side you get to take advantage of all the functionality that templates have to offer, but after you export the pages without markup and publish them, your visitors get to take advantage of the cleanest code and, therefore, the fastest-loading pages possible.



Special Edition Using Macromedia Studio 8
Special Edition Using Macromedia Studio 8
ISBN: 0789733854
EAN: 2147483647
Year: 2003
Pages: 337

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net