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
AIで政治は変わるのか? — 中高生と考えたAI時代の民主主義(東海高校サタデープログラム)
eitarosuda
0
390
SRE依存からの脱却 運用を開 発チームへ移す、 フルサイ クル開 発体制の実践
joooee0000
0
190
AI Agent SaaS を支える自社仮想化基盤への挑戦と実運用 / ai-agent-saas-virtualization
flatt_security
2
1.1k
型は壁、Rustでもバグを直すな、表現できなくせよ
nwiizo
10
1.1k
背中から、背中へ /paying forward to community
naitosatoshi
0
220
小さいから、全部わかる。— 常駐AI "xangi" のすすめ
sugupoko
0
260
Claude Code 珍プレー好プレー
shinyasaita
0
200
そのハーネス、本当に境界になっていますか? AIエージェント時代の実行環境設計【MEGU-Meet #4】
cscengineer
PRO
0
110
金融の未来を考える / Thinking About the Future of Finance
ks91
PRO
0
150
美しいコードを書くためにF#を学んでみた話
yud0uhu
1
180
“ID沼入口” - 基本とセキュリティから始める、考え続けるためのID管理技術勉強会 告知&イントロ
ritou
0
390
5分でわかるDuckDB Quack
chanyou0311
4
310
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
8
770
Building Applications with DynamoDB
mza
96
7.1k
Optimizing for Happiness
mojombo
378
71k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
410
Odyssey Design
rkendrick25
PRO
2
720
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
380
エンジニアに許された特別な時間の終わり
watany
107
250k
How GitHub (no longer) Works
holman
316
150k
Paper Plane
katiecoart
PRO
1
52k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
410
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
How STYLIGHT went responsive
nonsquared
100
6.2k
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