• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
OOCSS
 

OOCSS

on

  • 3,885 views

Presentation about using the OOCSS principles in Fork CMS.

Presentation about using the OOCSS principles in Fork CMS.

Statistics

Views

Total Views
3,885
Views on SlideShare
3,879
Embed Views
6

Actions

Likes
7
Downloads
74
Comments
0

3 Embeds 6

http://www.linkedin.com 4
http://www.onlydoo.com 1
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    OOCSS OOCSS Presentation Transcript

    • HTML AND CSS Let’s all make fast sitesPresentation about OOCSS inspired by Nicole Sullivan. Flickr photo © Legoagogo
    • O Hai! I’m YoniYoni De Beule, http://www.yonidebeule.be, @yoniweb
    • I work at Netlash among others.http://www.netlash.com http://www.minify.be http://www.vlmbuzz.be http://www.wrappp.it
    • I love building websites that are beautiful, accessible, easy to use and fast.I love building websites that are beautiful, accessible, easy to use and fast.
    • BeautifulBeautiful sites
    • AccessibleAccessible sites (http://www.slideshare.net/YoniWeb/anysurfer)
    • Easy to useEasy to use sites (love your Information Architectsʼs)
    • FastFast sites
    • I also love using pictures in my presentations...I also love using pictures in my presentations...
    • It’s a designer thingItʼs a designer thing
    • I’m here today to make you happy.Iʼm here today to make you happy.
    • I’ll be making users happyIʼll be making users happy
    • I’ll be making developers happyIʼll be making developers happy
    • I’ll be making clients happyIʼll be making clients happy
    • I’ll even be making myself happyIʼll even be making myself happy
    • I’m here to make you happy by telling you about Object Oriented CSS.Iʼm here to make you happy by telling you about Object Oriented CSS.
    • Nicole SullivanThanks to Nicole Sullivan (Yahoo!) I found out about OOCSS © Marien van Os
    • She’s awesome.Sheʼs awesome.
    • Pure WIN.Pure WIN.
    • WHAT? Object Oriented CSSWhat is OOCSS?
    • OOCSS is all about building big websites that are fast.OOCSS is all about building big websites that are fast. Thereʼs a framework, but Iʼm all for the “concept”, the “idea”, the brilliance.
    • Two major principlesTwo major principles
    • Two major principles 1. Separate structure and skinSeparate structure and skin
    • Two major principles 1. Separate structure and skin 2. Separate container and contentSeparate container and content
    • Two major principles1. Separate structure and skin2. Separate container and content
    • Doesn’t that kind of sounds like ...Doesnʼt that kind of sounds like ...
    • Fork?
    • Fork
    • Yeah, that’s what I thought.Yeah, thatʼs what I thought.
    • WHY USE IT? Object Oriented CSSWhy use OOCSS?
    • Lego’s.Legoʼs.
    • That’s right.Thatʼs right.
    • Lego’s.Legoʼs are modular blocks of html, css, images and javascript that can be used all across a site.
    • Lego’s 1. Separate structure and skin 2. Separate container and contentThey follow the OOCSS principles.
    • Fast site with less CSS.Fast site with less CSS.
    • Users happyUsers happy
    • Developers can use these lego’s virtually anywhere without the help of a designer.Developers can use these legoʼs virtually anywhere without the help of a designer.
    • Developers happyDevelopers happy
    • Less design time needed and faster new features.Less design time needed and faster new features.
    • Clients happyClients happy
    • Consistent design = clean code = fast siteAnd last but not least consistent design = clean code = fast site.
    • Yoni happyYoni and all the other designers Happy
    • Designers happyHappy times.
    • HOW? Object Oriented CSSHow do you use OOCSS?
    • Lego’s?How do you use these Legoʼs?
    • <div class="mod"> <div class="inner"> <div class="hd"> <h3>Title</h3> </div> <div class="bd content"> <p>Content</p> </div> </div> </div>Notice the content class devs! Use it!
    • <div id="blogRecentArticlesListWidget" class="mod article"> <div class="inner"> <div class="hd"> <h3>Recent articles</h3> </div> <div class="bd content"> <ul> <li><a href= "#" >Lorem ipsum</a></li> </ul> </div> <div class="ft"> <p><a href= "#" >Blog archive</a></p> </div> </div> </div>Example from the new Fork CMS.
    • Use it and make it your own but make it understandable.Use it, try it, make it your own. Donʼt let my code or the framework hold you back!
    • PRO TIPS Object Oriented CSSIʼve been using it for a while and want to hand out some very very specific “pro tips”.
    • Names, don’t loose yourself in them.Stop using “general” names like “extraColumn” and “noticeBox”... Tell it like it is!
    • Respect the design, don’t worship it.Respect the design, donʼt worship it.
    • Sprites rule, but are a bitch to maintain so beware!Sprites help, but are a bitch to maintain. I might do a presentation about this later (like why the new Ruby feature is a bad idea). {OFF TOPIC}
    • Progressive enhancement (PNG8).Fireworks! *pew* *pew* {OFF TOPIC}
    • Questions?Questions?
    • http://www.yonidebeule.beYoni De Beule, http://www.yonidebeule.be, @yoniweb