Architecting CSS: The Programmer's Guide to Effective Stylesheets
暫譯: 架構 CSS:程式設計師的有效樣式表指南

Dowden, Martine, Dowden, Michael

  • 出版商: Apress
  • 出版日期: 2020-05-16
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 231
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484257499
  • ISBN-13: 9781484257494
  • 相關分類: CSS
  • 海外代購書籍(需單獨結帳)

商品描述

​Leverage various CSS features in combination with popular architectures in order to bring your style sheets back under your control. While CSS is the primary technology used for building beautiful web user interfaces, the style sheet files themselves are often quite ugly; left chaotic and unstructured through lack of a consistent architectural approach. By addressing the structure of your style sheets in the same way that you do with code, see how it is possible to create style rules that are clean and easy to read. Dig deep into CSS fundamentals and learn how to use the available selectors to build powerful rules.

You will learn how to use cascading, inheritance, pseudo-classes, pre-processors, and components to produce cleaner, DRY-er style sheets, and how to let these features work for you instead of leading you down the road of rule duplication and design inconsistencies. Embrace the clean, semantic HTML to make your code easier to read, while supporting accessibility and assistive technologies.

Separate the concerns of layout and style to simplify dynamic theming and white labeling, making you a marketing hero. Once you've finished this book you will have an advanced knowledge of CSS structures and architectural patterns that will take the pain out of style sheets for you (and your coworkers), and help you implement designs faster and easier than ever before.

What You'll Learn

  • Understand the core CSS fundamentals of Inheritance, Cascading, and Specificity
  • Work with architecture and design patterns for better organization and maintenance
  • Maximize code reuse with CSS precompilers
  • Review the strengths and weaknesses of popular architecture patterns

 

Who This Book Is For

 

Primarily for front-end web developers and UI designers and anyone who works with CSS, particularly if they find it cumbersome and inelegant. It's also suitable for software architects and tech leads who are responsible for the maintainability of their code base.

 

商品描述(中文翻譯)

利用各種 CSS 特性結合流行的架構,讓您的樣式表重新掌控。雖然 CSS 是用於構建美觀網頁用戶界面的主要技術,但樣式表文件本身往往相當混亂;因缺乏一致的架構方法而變得混亂無序。通過以與代碼相同的方式處理樣式表的結構,您將看到如何創建乾淨且易於閱讀的樣式規則。深入了解 CSS 基礎,學習如何使用可用的選擇器來構建強大的規則。

您將學會如何使用層疊、繼承、偽類、預處理器和組件來生成更乾淨、更符合 DRY 原則的樣式表,以及如何讓這些特性為您服務,而不是讓您陷入規則重複和設計不一致的困境。擁抱乾淨、語義化的 HTML,使您的代碼更易於閱讀,同時支持可及性和輔助技術。

將佈局和樣式的關注點分開,以簡化動態主題和白標,使您成為市場營銷的英雄。完成本書後,您將對 CSS 結構和架構模式有深入的了解,這將使樣式表的使用變得輕鬆(對您和您的同事而言),並幫助您比以往更快、更輕鬆地實現設計。

您將學到什麼


  • 理解繼承、層疊和特異性的核心 CSS 基礎

  • 使用架構和設計模式以改善組織和維護

  • 利用 CSS 預編譯器最大化代碼重用

  • 回顧流行架構模式的優缺點

本書適合誰

本書主要針對前端網頁開發人員和 UI 設計師,以及任何使用 CSS 的人,特別是那些覺得 CSS 繁瑣且不優雅的人。它也適合負責代碼基礎可維護性的軟體架構師和技術負責人。

作者簡介

Michael Dowden is the CEO of Andromeda, Founder & Product Architect for FlexePark, an international speaker, a 2019 Google Developer Expert in Firebase, and a 2019 Microsoft MVP in Developer Technologies. For more than 20 years, he has been writing code and geeking out over technology. He is passionate about keeping things simple and focusing on what provides real value to the end user. Michael is the author of Programming Languages ABC++ and Approachable Accessibility: Planning for Success.

Martine Dowden is CTO at Andromeda, Founder and Lead Developer at FlexePark, and an international speaker. She focuses on web interfaces that are beautiful, functional, accessible, and usable, approaching User Experience from both Art and Science, drawing from her degrees in Psychology and Visual Communications. Martine is a 2019 Google Developer Expert in Web Technologies, a 2019 Microsoft MVP in Developer Technologies, and the author of Programming Languages ABC++ and Approachable Accessibility: Planning for Success.

作者簡介(中文翻譯)

邁克爾·道登是Andromeda的執行長,FlexePark的創辦人及產品架構師,國際演講者,2019年Google Firebase開發者專家,以及2019年微軟開發技術MVP。超過20年來,他一直在撰寫程式碼並熱衷於技術。他熱衷於保持簡單,專注於為最終用戶提供真正價值的事物。邁克爾是Programming Languages ABC++Approachable Accessibility: Planning for Success的作者。

馬丁·道登是Andromeda的首席技術官,FlexePark的創辦人及首席開發者,並且是一位國際演講者。她專注於美觀、功能性、可及性和可用性的網頁介面,從藝術和科學兩方面接近用戶體驗,並借鑒她在心理學和視覺傳播方面的學位。馬丁是2019年Google網頁技術開發者專家,2019年微軟開發技術MVP,以及Programming Languages ABC++Approachable Accessibility: Planning for Success的作者。

目錄大綱

1. Cascading Style Sheets

2. Rules & Selectors

3. Order of Importance

4. Layouts

5. Compatibility & Defaults

6. Interactions & Transitions

7. Preprocessors

8. JavaScript

9. Architectural Patterns

目錄大綱(中文翻譯)

1. Cascading Style Sheets

2. Rules & Selectors

3. Order of Importance

4. Layouts

5. Compatibility & Defaults

6. Interactions & Transitions

7. Preprocessors

8. JavaScript

9. Architectural Patterns