Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Style Sheet Packaging
Search
Rob Taylor
June 01, 2012
Technology
85
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Style Sheet Packaging
A presentation on packaging of stylesheets used on the TViPlayer sites.
Rob Taylor
June 01, 2012
More Decks by Rob Taylor
See All by Rob Taylor
Scope and Closures
manix84
0
130
Other Decks in Technology
See All in Technology
Compose 新機能総まとめ / What's New in Jetpack Compose
yanzm
0
120
飲食店もAIで。レジ締めやハンディシステムをつくってる話 / Using AI for restaurant management
vtryo
0
240
小さいから、全部わかる。— 常駐AI "xangi" のすすめ
sugupoko
0
260
はてなのサービス基盤を支える Kubernetes《足腰》
masayoshimaezawa
0
440
AIをフル活用してオンコール機能のプロトタイプを2日で作った話 / Building an AI-Powered On-Call Prototype in Just Two Days
nari_ex
0
180
背中から、背中へ /paying forward to community
naitosatoshi
0
220
きのこカンファレンス2026_肩書きを外したとき私は誰か
yamasatimi
1
130
5分でわかるDuckDB Quack
chanyou0311
4
310
NDIAS CTF 2026 問題解説会資料
bata_24
0
180
グローバルチームと挑むプロダクト開発
sansantech
PRO
1
150
Keeping applications secure by evolving OAuth 2.0 and OpenID Connect
ahus1
PRO
1
140
AI Agentをシステムに組み込む前にゆるく向き合ってみる
hayama17
0
200
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
170
Measuring & Analyzing Core Web Vitals
bluesmoon
9
880
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
410
Done Done
chrislema
186
16k
Marketing to machines
jonoalderson
1
5.5k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
440
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Transcript
Rob Taylor Style Sheet Packaging ...Why It's Important for TViPlayer
This is good, but not great. What's the problem?
This would be much better. What do we want?
How do we get there? •Smaller Files •Fewer File Calls
•Static files for Int/Test/Stage/Live •Variables
What could we use? •LessCSS •It bloats the output badly
•No centralised variables •No concatenation •No optimisation
What did we do? •Built a Packaging Process •Concatenates CSS
•Replaces Any Variables •Optimises with CSSTidy •View Packages without Building •Concatenates CSS •Replaces Any Variables •Output through a PAL View
What are the advantages? It's Fast!
What are the advantages? We have $variables
What are the advantages? It's Optimised Nice and Unreadable :)
What are the disadvantages? It's harder to debug
What are the disadvantages? URLs are relative to /style not
to the files location.
What are the disadvantages? Packages must be kept up to
date Otherwise, things start to look... odd.
Conclusion... Pros: •It's Fast •It's got $variables •It's optimised Cons:
•Harder debugging •URLs have moved •Update regularly
Q & A Can't promise I know the answer, but
I'll try. http://bit.ly/cssSlides