Companies Home Search Profile

Clean and Scalable CSS Architecture (2023)

Focused View

Vislavski Miroslav

1:19:31

244 View
  • 1 - Introduction.mp4
    04:51
  • 2 - Stylesheet order issues.mp4
    02:17
  • 3 - Prerequisites.mp4
    01:19
  • 4 - Introduction.mp4
    01:01
  • 5 - Specificity.mp4
    03:21
  • 5 - specificity-graph.zip
  • 6 - Single responsibility principle.mp4
    03:19
  • 7 - Openclosed principle.mp4
    02:35
  • 8 - Liskov Substitution.mp4
    01:46
  • 9 - Interface Segregation.mp4
    03:34
  • 10 - Dependency Inversion.mp4
    01:30
  • 11 - Decouple CSS from HTML.mp4
    01:54
  • 12 - DRY.mp4
    01:07
  • 13 - Immutability.mp4
    03:01
  • 14 - The Separation of concerns.mp4
    02:48
  • 14 - after.html
  • 14 - before.html
  • 15 - Summary.mp4
    00:50
  • 16 - OOCSS introduction.mp4
    02:57
  • 17 - The Media Object.mp4
    00:53
  • 18 - OOCSS concepts.mp4
    03:27
  • 19 - OOCSS standards.mp4
    05:32
  • 19 - code-standards.zip
  • 20 - BEM.mp4
    03:21
  • 21 - Benefits of using BEM.mp4
    02:35
  • 22 - BEM specificity.mp4
    01:35
  • 23 - BEM vs OOCSS.mp4
    03:14
  • 24 - Overmodulize.mp4
    02:40
  • 25 - Overmodulize is not good.mp4
    04:12
  • 25 - links.zip
  • 26 - ITCSS.mp4
    02:41
  • 27 - Layers and Specificity Graph.mp4
    05:11
  • 28 - Inverted Triangle.mp4
    02:48
  • 29 - Folder structure and naming convention.mp4
    01:10
  • 29 - itcss-example.zip
  • 30 - Summary.mp4
    02:02
  • Description


    Write Clean CSS code, create modular CSS and scalable CSS. OOP principles, SOLID, OOCSS, BEM will improve your CSS code.

    What You'll Learn?


    • Understand common CSS issues
    • How to write clean CSS code
    • How to implement Object Oriented principles in CSS (SOLID, DRY, immutability...)
    • What is a good and a bad Specificity graph
    • Understand the concepts of OOCSS and how it can help you improve the code
    • Understand the concepts of BEM
    • How to manage Specificity graph with Inverted Triangle

    Who is this for?


  • Medior/Senior Front End developers
  • Anyone who wants to write clean and scalable CSS code
  • Anyone who knows CSS but wants to dive deeper
  • More details


    Description

    CSS is easy, it’s easy to learn, it’s easy to write.

    But actually, it’s hard to write scalable and maintainable code especially with large projects that require constant scaling…

    There are many reasons why this is the case:

    - In CSS everything is in a global scope. Any change in one file can cause an (un)expected result in another element, or page.

    - CSS is a highly mutable language, because of it's cascade nature. Each mutation leads to confusion and unexpected results.

    - CSS highly depends on the source order.

    - On the other hand, specificity can undo everything. It doesn't matter how you structure your code, specificity can break everything. Specificity is one of the biggest problems of CSS.

    - CSS is not (easily) scalable


    We end up in a cycle of writing more CSS just to fix the old CSS! At some point our whole CSS code becomes too messy and too large. We need a better approach, we need a modular and predictable CSS. CSS language has not evolved since 1998. There are preprocessors, but they are not solving the main CSS issues. After all, SASS and Less are compiling to CSS.


    In this course, we will talk about the CSS architecture, and how to write clean and maintainable code. Our goal is to write CSS that should be:

    - Predictable: CSS rules behave as we expect them to.

    - Reusable: When adding new components, we shouldn't need to recode patterns or problems we've already solved.

    - Maintainable: New features, components, or updates shouldn't require refactoring our CSS and should NOT break existing components.


    The idea is taking the OO philosophy you already learned in Java, PHP, C# and finding a way to translate that into CSS as well. All that you learned in OOP languages, all the DRY principles, SOLID, SRP, immutability we can apply to CSS in some way. Simple is the best.

    There are many advanced courses about CSS, about flexbox, CSS animations, CSS grid… However, in this course, we will be focusing on the architecture of CSS. If you are interested in learning how to write clean and scalable CSS code, this course is the right thing for you!

    This is a course I wish I had when I started working on more complex projects.

    Who this course is for:

    • Medior/Senior Front End developers
    • Anyone who wants to write clean and scalable CSS code
    • Anyone who knows CSS but wants to dive deeper

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category

    CSS

    Vislavski Miroslav
    Vislavski Miroslav
    Instructor's Courses
    I am a front end developer with a passion for building web applications. I’ve been a front end developer for almost 10 years now, skilled in JavaScript, Angular, HTML and CSS.These courses are the type of courses that I wish I had when I started to learn programming. My goal is to always learn and to try to deeply understand the core concepts of each technology that I use. I like to focus on explaining the crucial concepts, instead of bothering with lectures where you just repeat the steps after the instructor. My goal is to make web development fun and accessible to everyone.
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 30
    • duration 1:19:31
    • Release Date 2023/02/26