Front cover image for Pro CSS for high traffic Websites

Pro CSS for high traffic Websites

Although web standards-based websites can scale effectively--and basic CSS will give you basic results--there are considerations and obstacles that high traffic websites must face to keep your development and hosting costs to a minimum. There are many tips and tricks, as well as down-to-earth best practice information, to make sure that everything runs quickly and efficiently with the minimum amount of fuss or developer intervention. Targeted at "high traffic" websites--those receiving over 10,000 unique visitors a day--Pro CSS for High Traffic Websites gives you inside information from the professionals on how to get the most out of your web development team.¡ The book covers the development processes required to smoothly set up an easy-to-maintain CSS framework across a large-volume website and to keep the code reusable and modular. It also looks at the business challenges of keeping branding consistent across a major website and sustaining performance at a premium level through traffic spikes and across all browsers. Defensive coding is considered for sites with third-party code or advertising requirements. It also covers keeping CSS accessible for all viewers, and examines some advanced dynamic CSS techniques
eBook, English, ©2011
Apress ; Distributed to the Book trade worldwide by Springer Science+Business Media, [Berkeley, Calif.], New York, ©2011
1 online resource (xxvi, 401 pages) : illustrations
9781430232896, 1430232897
747048448
Title Page; Copyright Page; Contents at a Glance; Table of Contents; Foreword; About the Authors; About the Technical Reviewer; Acknowledgments; Preface; Background Information; Who Is This Book For?; What Will I Learn?; Why Is This Book Different From Others?; Separation of Concerns; Data; Presentation; Behavior; Front-End Development Is Full of Exceptions; CHAPTER 1 The Value of Process; The Team; Getting Too Big for Your Boots; High Staff Churn Rate; Consistency Is More Important than Quality; Tools; Wikis; MediaWiki; Atlassian Confluence; Mac OS X Server Wiki; Trac; Bug Reporting. LighthouseBugZilla; Atlassian JIRA; Trac; Task Management; Things; Rally; Mingle; Bug Tracking and Task Management; Atlassian JIRA (with Green Hopper plugin); Agilo; FogBugz; Source Control; Visual SourceSafe (VSS); Concurrent Versions System (CVS); Subversion (SVN); Git; Mercurial; Graphical User Interfaces; Using Version Control Systems; Diff Tools; Araxis Merge; WinDiff; WinMerge; Beyond Compare; Changes; Kaleidoscope; Resolving Conflicts; Backup; Online Backup; Desktop Backup; Prototyping; Development Methodologies; Waterfall Development; Agile Development; Test-Driven Development. Code RefactoringContinuous Integration; Pair Programming; Planning Poker; Code Reviews; Daily Standup Meetings; Retrospectives; Summary; CHAPTER 2 CSS Style Guide; CSS Style Guides; CSS Formatting; Single- versus Multiline; Indenting; Tabs versus Spaces; Colons and Semicolons; Commenting and CSS Metadata; Existing Standards: CSSDOC; File Info; Table of Contents; Sectioning; Color Palettes; Folder Paths; Measurements; Document Hacks and Bug Fixes; Using a Template; Class and ID Naming; Semantics; Accepted Characters; Conventions; Case; Camel Case; Hyphenated; Namespacing; Reusable Classes. CSS Namespaces ModuleSummary; CHAPTER 3 Fundamentals; The Cascade: Origin, Importance, and Inheritance; Origin and Importance; Inheritance; Inheritance and the Universal Selector; Specificity; Calculating Specificity; The!important Declaration; Namespacing and Specificity; Using Your Tools; Encoding; Localization; Browser-Specific CSS; Hacks and Filters; The Box Model Hack; The Underscore Hack; The Star Hack; The Star Html Hack, IE4-6; The Child Selector Hack; The Commented Backslash Hack; A Necessary Evil; CSS Expressions; Vendor-Specific Extensions; Media Queries; Conditional Comments. Conditional Comments in the html ElementWhen and How to Use Hacks; "Safe" Hacks; The Real World; Server-Side User Agent Detection; Some Examples of Browser Rendering Differences; Quirks Mode; Some Quirks; Almost Standards Mode; The IE Box Model; hasLayout; Experimental CSS; Summary; CHAPTER 4 Frameworks and Integration; Frameworks; Blueprint CSS; 960 Grid System; YUI 3 Grids; Alternative Uses; Reset Style Sheets; Universal Selector Reset; Eric Meyer's Reset; YUI 3 CSS Reset; Other Reset Examples; Starting From a Common Ground with Clever Defaults; Why Create Your Own Framework?