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
3
80
Style Sheet Packaging
A presentation on packaging of stylesheets used on the TViPlayer sites.
Rob Taylor
June 01, 2012
Tweet
Share
More Decks by Rob Taylor
See All by Rob Taylor
Scope and Closures
manix84
0
120
Other Decks in Technology
See All in Technology
膨大なデータをどうさばく? Java × MQで作るPub/Subアーキテクチャ
zenta
0
120
未回答質問の回答一覧 / 開発をリードする品質保証 QAエンジニアと開発者の未来を考える-Findy Online Conference -
findy_eventslides
0
320
FFMとJVMの実装から学ぶJavaのインテグリティ
kazumura
0
150
AIエージェントによるエンタープライズ向けスライド検索!
shibuiwilliam
4
620
AS59105におけるFreeBSD EtherIPの運用と課題
x86taka
0
170
やり方は一つだけじゃない、正解だけを目指さず寄り道やその先まで自分流に楽しむ趣味プログラミングの探求 2025-11-15 YAPC::Fukuoka
sugyan
3
890
その意思決定、まだ続けるんですか? ~痛みを超えて未来を作る、AI時代の撤退とピボットの技術~
applism118
5
5k
社内外から"使ってもらえる"データ基盤を支えるアーキテクチャの秘訣/登壇資料(飯塚 大地・高橋 一貴)
hacobu
PRO
0
2.9k
PostgreSQL で列データ”ファイル”を利用する ~Arrow/Parquet を統合したデータベースの作成~
kaigai
0
130
米軍Platform One / Black Pearlに学ぶ極限環境DevSecOps
jyoshise
2
510
Moto: Latent Motion Token as the Bridging Language for Learning Robot Manipulation from Videos
peisuke
0
160
なぜブラウザで帳票を生成したいのか どのようにブラウザで帳票を生成するのか
yagisanreports
0
150
Featured
See All Featured
Optimizing for Happiness
mojombo
379
70k
Code Review Best Practice
trishagee
72
19k
Into the Great Unknown - MozCon
thekraken
40
2.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Making Projects Easy
brettharned
120
6.5k
RailsConf 2023
tenderlove
30
1.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Context Engineering - Making Every Token Count
addyosmani
9
400
Balancing Empowerment & Direction
lara
5
760
jQuery: Nuts, Bolts and Bling
dougneiner
65
8k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
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