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
83
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
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
230
CyberAgentの生成AI戦略 〜変わるものと変わらないもの〜
katayan
0
280
ReactのdangerouslySetInnerHTMLは“dangerously”だから危険 / Security.any #09 卒業したいセキュリティLT
flatt_security
0
360
ガバメントクラウドにおけるAWSの長期継続割引について
takeda_h
2
5.4k
コンテキスト・ハーネスエンジニアリングの現在
hirosatogamo
PRO
6
610
AWS CDK「読めるけど書けない」を脱却するファーストステップ
smt7174
3
200
AI時代のSaaSとETL
shoe116
1
200
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
13k
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
500
社内レビューは機能しているのか
matsuba
0
170
生成AIで速度と品質を両立する、QAエンジニア・開発者連携のAI協調型テストプロセス
shota_kusaba
0
250
欠陥分析(ODC分析)における生成AIの活用プロセスと実践事例 / 20260320 Suguru Ishii & Naoki Yamakoshi & Mayu Yoshizawa
shift_evolve
PRO
0
180
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
Deep Space Network (abreviated)
tonyrice
0
93
Leo the Paperboy
mayatellez
4
1.5k
Designing for Performance
lara
611
70k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
310
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
For a Future-Friendly Web
brad_frost
183
10k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
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