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
79
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
Amazon ECS & AWS Fargate 運用アーキテクチャ2025 / Amazon ECS and AWS Fargate Ops Architecture 2025
iselegant
16
5.2k
20250623 Findy Lunch LT Brown
3150
0
840
Microsoft Build 2025 技術/製品動向 for Microsoft Startup Tech Community
torumakabe
2
250
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
2
540
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
200
“社内”だけで完結していた私が、AWS Community Builder になるまで
nagisa53
1
320
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
110
Witchcraft for Memory
pocke
1
180
VCpp Link and Library - C++ breaktime 2025 Summer
harukasao
0
240
Fabric + Databricks 2025.6 の最新情報ピックアップ
ryomaru0825
1
100
Azure AI Foundryでマルチエージェントワークフロー
seosoft
0
170
AIのAIによるAIのための出力評価と改善
chocoyama
2
530
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
A designer walks into a library…
pauljervisheath
206
24k
Embracing the Ebb and Flow
colly
86
4.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
The Cost Of JavaScript in 2023
addyosmani
51
8.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Code Reviewing Like a Champion
maltzj
524
40k
How GitHub (no longer) Works
holman
314
140k
Into the Great Unknown - MozCon
thekraken
39
1.9k
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