We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Maintainable CSS - The Next Frontier of Front-End Engineering

Formale Metadaten

Titel
Maintainable CSS - The Next Frontier of Front-End Engineering
Serientitel
Anzahl der Teile
150
Autor
Lizenz
CC-Namensnennung - keine kommerzielle Nutzung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
For over a decade, web development has been unthinkable without CSS. Yet the way how CSS is authored is far away from the professionalism we use in the rest of our code. Most developers try to avoid touching the project's stylesheets, as these contain unmaintainable spaghetti code. This can be improved by transferring common practices of software engineering to CSS authoring: With some additions, transcompilers like Sass allow to use the KISS and DRY concepts. Applying object-orientation to CSS will make it SOLID. Architectural design patterns like Separation Of Concerns achieve scalability and reusability. Styleguide-driven development allows the agile/lean principle of delaying decisions to the last responsible moment. Besides showing how to apply these practices to CSS, I will explain why they make a positive impact on maintainability.