SlideShare a Scribd company logo
CSS3 and a brief introduction to Google Maps API v3  Watercooler Session 28 April 2010 Jeffrey Barke
CSS3: What is it? A style sheet language used to describe the presentation semantics of a document written in a markup language. CSS specifications are maintained by the World Wide Web Consortium (W3C). CSS level 1 was published in December 1996. CSS level 2 was published in May 1998. CSS level 3 is currently under development. CSS level 3 has been in development for a long time!
CSS3: What is it? (cont’d) CSS3 is modularized and will be composed of several separate recommendations. Progress report at  http://www.w3.org/Style/CSS/current-work#table CSS Template Layout (positioning) CSS Aural Style Sheets (audio) CSS Backgrounds and Borders CSS Basic User Interface (forms) CSS Basic Box Model (layout) CSS Extended Box Model (floats) CSS Marquee (for mobile) CSS Cascading and Inheritance CSS Color CSS Fonts ...
CSS3: A bit more terminology Each level of CSS builds on the last and adds new features. Profiles are a subset of a CSS level designed for a particular device or use interface (mobile devices, printers and television sets).
Back to practical web design It’s about the browsers. So, what the browser support? Well, that's complicated. Because it's not just a binary opposition of support or not. Except, of course, there’s IE. IE 8 and below have no native support for any of the CSS3 modules (except for @font-face and a few of the CSS3 selectors). The IE 9 pre-alpha looks very good, but it requires Vista SP 2 or Windows 7 and Internet Explorer 8. Windows XP users are SOL. CSS Compatibility and Internet Explorer Test drive IE 9
How/when/why to use It’s still in draft form and browser support is patchy, so what’s the use cases? Performance! Slim down the markup for smaller file size Slim the DOM for faster parsing Fewer HTTP requests Less compelling, but the ability to do cool things without Flash and with less JavaScript. Probably not for a large, complicated corporate website with a lot of IE traffic.
Ways to use: Pure CSS3 approach Use as much CSS3 as possible (say for rounded corners) Compliant browsers get the full experience Non-compliant browsers “gracefully” degrade (square edges) Advantages Per the previous slide Less development time (no cutting images) Less maintenance time (no re-cutting images) Disadvantages Design looks different in different browsers. If a large percentage of your traffic uses IE, this is probably not good. If your CEO does a little browsing on IE and doesn’t understand what happened to the design, this is probably not good.
Ways to use: CSS3 with fallback to images Use as much CSS3 as possible (say for rounded corners) Create browser-specific or fallback stylesheets that use background images per usual Advantages Design is consistent across browsers Compliant browsers make fewer HTTP requests (though the HTML and DOM will not be slimmer) Disadvantages More development time (CSS3 + standard approach) More maintenance time (need to remember to change things in two places) May require CSS hacks and may not target all browsers correctly
Ways to use: My recommendation If your traffic/user base justifies a pure CSS3 approach, I say use it. The advantages are real and it’s the future of web design. However, if you’re forced to do the CSS3 with fallback to images approach, I would probably avoid using CSS3 altogether (especially if the site is large or complex). I started out doing a project the hybrid way and ended up scrapping it for background images for all browsers—I didn’t see the advantages as outweighing the development costs. Plus, the markup would be handed off to a different team for implementation and maintenance, which means that team would need to know to change the CSS3 in one place and update the background images in another.
CSS3 Selectors Probably most familiar from jQuery. There’s an excellent article on them at  456 Berea St E[att^=”val”] E[att$=”val”] E:last-child E:checked E:selection What about the performance hit? Overrated: http://www.stevesouders.com/blog/2009/03/10/performance-impact-of-css-selectors/
CSS3 Selector browser support Probably most familiar from jQuery. Browser Version OS Results Chrome 5.0 Mac 43/43/0/0 Firefox 3.0 Win XP 43/36/0/7 Firefox 3.6 Mac 43/43/0/0 IE 6.0 Win XP 43/10/1/32 IE 7.0 Win Vista 43/13/4/26 IE 8.0 Win 7 43/22/1/20 IE 9 preview Win 7 43/43/0/0 Opera 10.52 Mac 43/43/0/0 Safari 4.0 Mac 43/43/0/0
All the fun new CSS rules Borders, backgrounds, colors, columns, etc. No new code examples, because there are a ton out there: Style Master CSS Editor CSS3.info CSS3 preview CSS3 Generator
RGBA and HSLA Alpha-transparency possible for both. I’m not a designer, but according to Molly Holzschlag, HSL is better: Not CRT specific Easier, more intuitive to work with Working with a set of colors allows for easy palette creation Reduces errors Reduces dependency on charts and other value lookup tools Works in Firefox, Webkit and Opera Notes from Molly’s presentation HSL chart
Transforms and transitions NSFW! The sexy stuff, however browser support is the worst here. Transforms are presently supported in Safari 4, Chrome Firefox 3.5. and Opera 10.5 Transitions are supported in Safari 4, Chrome and Opera 10.5. Opera 10.5 pre alphas crash animating these transforms, and so this is not enabled at present for Opera. Lightsaber 3D rotating cube CSS3 JavaScript alternatives CSS3 accordion CSS Coke can 47 Amazing CSS3 Animation Demos
@font-face Web typography is a huge issue, but the good news is that all browsers support it. However, the font format supported is another thing. IE: .eot Other browsers: .ttf or .otf @font-face browser support @font-face { font-family: 'Graublau Web'; src: url('GraublauWeb.eot'); src: local('Graublau Web Regular'), local('Graublau Web'),  url('GraublauWeb.otf') format('opentype'); } Licensing is another issue altogether.
@font-face licensing A nice overview of font embedding on the web (EOT, sIFR, font linking): http://www.fontembedding.com/fonts-and-the-web/ Ascender study of free/shareware fonts: http://www.ascendercorp.com/news/web-fonts-study/ Out of the 4572 fonts tested, 4385 fonts (95.9%) failed one or more of the six tests that were performed More useful links: Web fonts licensing overview List of fonts available for embedding List of commercial foundries that permit embedding
@font-face Enter Typekit! Advantages They have clout when it comes to type foundries Handle the font format issues for you Problems: Not free (I’m cheap!) JavaScript-based
The future When will CSS3 be published as a recommendation? Some modules are stable and have been implemented Some may be dropped, but it’s hoped that they rest will be implemented 4-5 years Will there be a CSS4? Maybe, but no definite plans When will IE 9 be released? Hopefully in 2011 When will IE 6 finally die? ???
Tools, links, etc. Info, news, tutorials CSS3.info Toolkits, CSS Generators CSS Generator CSS3 Please! The Cross-Browser CSS3 Rule Generator Modernizr Tests, browser compatibility tables CSS Compatibility and Internet Explorer CSS3 Selectors Test HTML5 Readiness QuirksMode: CSS compatibility tables When Can I Use…
Tools, links, etc. (cont’d) Demos, interactive demos 3D rotating cube 47 Amazing CSS3 Animation Demos CSS3.info CSS3 preview CSS3 Generator Style Master CSS Editor
And a very brief into to Google Maps API v3 Things to love about the new API Smaller (faster?) for mobile platforms No more API key! No more GUnload! (Everyone hates to clean-up) Things to note about the new API It’s marked beta (does that mean anything from Google?) Smaller feature set Things that are ambiguous about the new API API style (I prefer it) Bottom line: I would use this in production depending on the feature set required and target audience
Some early thoughts on v3 In the Google Maps JavaScript API v3 group, John Coryat writes: From my understanding, v3 isn't a direct replacement for v2 but instead is a complete re-write from scratch. V3 on the other hand, being a complete re-write, has very few features at this point but is extremely efficient, fast loading, modular and potentially much more extensible. I would recommend that any developer who is considering using v3 think of it as a "mobile only" API
Some early thoughts on v3 Google's response: We wanted to get this in your hands as soon as possible, so we've intentionally released it early, and with a basic set of features. We're releasing it in Labs because it's not fully baked yet; we want to get your feedback on the new design and what you'd like to see in future revisions now that we have a chance for a fresh start. I would urge you to not think of this as a "mobile only" API.  While mobile browsers are a new focus for us, the API is fully supported on desktop browsers (including the addition of Chrome).
Ad

More Related Content

What's hot (18)

Testing Interactive Email
Testing Interactive EmailTesting Interactive Email
Testing Interactive Email
Mayoris AG
 
Facebookcamp Toronto FBML
Facebookcamp Toronto FBMLFacebookcamp Toronto FBML
Facebookcamp Toronto FBML
sboodram
 
Common email display issues - a guide for email marketers
Common email display issues - a guide for email marketersCommon email display issues - a guide for email marketers
Common email display issues - a guide for email marketers
VRAMP Employee Engagement
 
WordPress SEO by Yoast Tutorial for Beginners
WordPress SEO by Yoast Tutorial for BeginnersWordPress SEO by Yoast Tutorial for Beginners
WordPress SEO by Yoast Tutorial for Beginners
WPBrix.com
 
Software Testing for SEO
Software Testing for SEOSoftware Testing for SEO
Software Testing for SEO
Michael King
 
HTML, WordPress, and SEO
HTML, WordPress, and SEOHTML, WordPress, and SEO
HTML, WordPress, and SEO
Brian Whalley
 
FBML
FBMLFBML
FBML
Daniel D.J. UM
 
Front End Publishing for WordPress
Front End Publishing for WordPressFront End Publishing for WordPress
Front End Publishing for WordPress
rfair404
 
HTML Tutorial
HTML TutorialHTML Tutorial
HTML Tutorial
Milecia McGregor
 
SEO for Large Websites
SEO for Large WebsitesSEO for Large Websites
SEO for Large Websites
Dominic Woodman
 
How to create a project dashboard using share point lists
How to create a project dashboard using share point listsHow to create a project dashboard using share point lists
How to create a project dashboard using share point lists
Gavin Bollard
 
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Hamlet Batista
 
Website development company in delhi ncr
Website development company in delhi ncrWebsite development company in delhi ncr
Website development company in delhi ncr
Css Founder
 
SEO for Large/Enterprise Websites - Data & Tech Side
SEO for Large/Enterprise Websites - Data & Tech SideSEO for Large/Enterprise Websites - Data & Tech Side
SEO for Large/Enterprise Websites - Data & Tech Side
Dominic Woodman
 
Seminar Presentation for FrontPage
Seminar Presentation for FrontPageSeminar Presentation for FrontPage
Seminar Presentation for FrontPage
webhostingguy
 
Getting Started with Iron Speed Designer
Getting Started with Iron Speed DesignerGetting Started with Iron Speed Designer
Getting Started with Iron Speed Designer
Iron Speed
 
HTML computing
HTML computingHTML computing
HTML computing
MrsAtherton
 
Tips for Exponent CMS Developers
Tips for Exponent CMS DevelopersTips for Exponent CMS Developers
Tips for Exponent CMS Developers
Chris Everett
 
Testing Interactive Email
Testing Interactive EmailTesting Interactive Email
Testing Interactive Email
Mayoris AG
 
Facebookcamp Toronto FBML
Facebookcamp Toronto FBMLFacebookcamp Toronto FBML
Facebookcamp Toronto FBML
sboodram
 
Common email display issues - a guide for email marketers
Common email display issues - a guide for email marketersCommon email display issues - a guide for email marketers
Common email display issues - a guide for email marketers
VRAMP Employee Engagement
 
WordPress SEO by Yoast Tutorial for Beginners
WordPress SEO by Yoast Tutorial for BeginnersWordPress SEO by Yoast Tutorial for Beginners
WordPress SEO by Yoast Tutorial for Beginners
WPBrix.com
 
Software Testing for SEO
Software Testing for SEOSoftware Testing for SEO
Software Testing for SEO
Michael King
 
HTML, WordPress, and SEO
HTML, WordPress, and SEOHTML, WordPress, and SEO
HTML, WordPress, and SEO
Brian Whalley
 
Front End Publishing for WordPress
Front End Publishing for WordPressFront End Publishing for WordPress
Front End Publishing for WordPress
rfair404
 
How to create a project dashboard using share point lists
How to create a project dashboard using share point listsHow to create a project dashboard using share point lists
How to create a project dashboard using share point lists
Gavin Bollard
 
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Hamlet Batista
 
Website development company in delhi ncr
Website development company in delhi ncrWebsite development company in delhi ncr
Website development company in delhi ncr
Css Founder
 
SEO for Large/Enterprise Websites - Data & Tech Side
SEO for Large/Enterprise Websites - Data & Tech SideSEO for Large/Enterprise Websites - Data & Tech Side
SEO for Large/Enterprise Websites - Data & Tech Side
Dominic Woodman
 
Seminar Presentation for FrontPage
Seminar Presentation for FrontPageSeminar Presentation for FrontPage
Seminar Presentation for FrontPage
webhostingguy
 
Getting Started with Iron Speed Designer
Getting Started with Iron Speed DesignerGetting Started with Iron Speed Designer
Getting Started with Iron Speed Designer
Iron Speed
 
Tips for Exponent CMS Developers
Tips for Exponent CMS DevelopersTips for Exponent CMS Developers
Tips for Exponent CMS Developers
Chris Everett
 

Similar to CSS3 and a brief introduction to Google Maps API v3 (20)

Beginning CSS.
Beginning CSS.Beginning CSS.
Beginning CSS.
dhruvgairola
 
Bootstrap for Beginners
Bootstrap for BeginnersBootstrap for Beginners
Bootstrap for Beginners
D'arce Hess
 
Cascading Into ss3
Cascading Into ss3Cascading Into ss3
Cascading Into ss3
Make Web Not War
 
HTML5- The Boosting Era of Web Development
HTML5- The Boosting Era of Web DevelopmentHTML5- The Boosting Era of Web Development
HTML5- The Boosting Era of Web Development
MobilePundits
 
CSS Frameworks: Categories, Criteria and Recommendations
CSS Frameworks: Categories, Criteria and RecommendationsCSS Frameworks: Categories, Criteria and Recommendations
CSS Frameworks: Categories, Criteria and Recommendations
sirajrkhan
 
Reworking our-workflows
Reworking our-workflowsReworking our-workflows
Reworking our-workflows
nolly00
 
Progressive enhancement - Bridging the gap between CSS2 and CSS3
Progressive enhancement - Bridging the gap between CSS2 and CSS3Progressive enhancement - Bridging the gap between CSS2 and CSS3
Progressive enhancement - Bridging the gap between CSS2 and CSS3
Zohar Arad
 
Top Front-End Frameworks For Your Web Development Projects.pdf
Top Front-End Frameworks For Your Web Development Projects.pdfTop Front-End Frameworks For Your Web Development Projects.pdf
Top Front-End Frameworks For Your Web Development Projects.pdf
CalvinLee106
 
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by StepBootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap Creative
 
Exploring Our Front-End Workflows
Exploring Our Front-End WorkflowsExploring Our Front-End Workflows
Exploring Our Front-End Workflows
nolly00
 
Using a CSS Framework
Using a CSS FrameworkUsing a CSS Framework
Using a CSS Framework
Gareth Saunders
 
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla
Web Design & UI/UX Bootcamp [Online & Offline] In BanglaWeb Design & UI/UX Bootcamp [Online & Offline] In Bangla
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla
Stack Learner
 
Progressive enhancement
Progressive enhancementProgressive enhancement
Progressive enhancement
Zohar Arad
 
Client side performance compromises worth making
Client side performance compromises worth makingClient side performance compromises worth making
Client side performance compromises worth making
Cathy Lill
 
Progressive Enhancement & Intentional Degradation 2
Progressive Enhancement & Intentional Degradation 2Progressive Enhancement & Intentional Degradation 2
Progressive Enhancement & Intentional Degradation 2
elliotjaystocks
 
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
Nathaniel Bagnell
 
Bootstrap seminar presentation
Bootstrap seminar presentationBootstrap seminar presentation
Bootstrap seminar presentation
PratikDoiphode1
 
A forest of designs without subthemes
A forest of designs without subthemesA forest of designs without subthemes
A forest of designs without subthemes
Heather Brooke Drummond
 
Analyzing bootsrap and foundation font-end frameworks : a comparative study
Analyzing bootsrap and foundation font-end frameworks : a comparative studyAnalyzing bootsrap and foundation font-end frameworks : a comparative study
Analyzing bootsrap and foundation font-end frameworks : a comparative study
IJECEIAES
 
Boilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development ProcessBoilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development Process
Fibonalabs
 
Bootstrap for Beginners
Bootstrap for BeginnersBootstrap for Beginners
Bootstrap for Beginners
D'arce Hess
 
HTML5- The Boosting Era of Web Development
HTML5- The Boosting Era of Web DevelopmentHTML5- The Boosting Era of Web Development
HTML5- The Boosting Era of Web Development
MobilePundits
 
CSS Frameworks: Categories, Criteria and Recommendations
CSS Frameworks: Categories, Criteria and RecommendationsCSS Frameworks: Categories, Criteria and Recommendations
CSS Frameworks: Categories, Criteria and Recommendations
sirajrkhan
 
Reworking our-workflows
Reworking our-workflowsReworking our-workflows
Reworking our-workflows
nolly00
 
Progressive enhancement - Bridging the gap between CSS2 and CSS3
Progressive enhancement - Bridging the gap between CSS2 and CSS3Progressive enhancement - Bridging the gap between CSS2 and CSS3
Progressive enhancement - Bridging the gap between CSS2 and CSS3
Zohar Arad
 
Top Front-End Frameworks For Your Web Development Projects.pdf
Top Front-End Frameworks For Your Web Development Projects.pdfTop Front-End Frameworks For Your Web Development Projects.pdf
Top Front-End Frameworks For Your Web Development Projects.pdf
CalvinLee106
 
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by StepBootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap 4 Tutorial PDF for Beginners - Learn Step by Step
Bootstrap Creative
 
Exploring Our Front-End Workflows
Exploring Our Front-End WorkflowsExploring Our Front-End Workflows
Exploring Our Front-End Workflows
nolly00
 
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla
Web Design & UI/UX Bootcamp [Online & Offline] In BanglaWeb Design & UI/UX Bootcamp [Online & Offline] In Bangla
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla
Stack Learner
 
Progressive enhancement
Progressive enhancementProgressive enhancement
Progressive enhancement
Zohar Arad
 
Client side performance compromises worth making
Client side performance compromises worth makingClient side performance compromises worth making
Client side performance compromises worth making
Cathy Lill
 
Progressive Enhancement & Intentional Degradation 2
Progressive Enhancement & Intentional Degradation 2Progressive Enhancement & Intentional Degradation 2
Progressive Enhancement & Intentional Degradation 2
elliotjaystocks
 
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
Application Development with HTML5 (Microsoft TechDays 2011 - DEV302)
Nathaniel Bagnell
 
Bootstrap seminar presentation
Bootstrap seminar presentationBootstrap seminar presentation
Bootstrap seminar presentation
PratikDoiphode1
 
Analyzing bootsrap and foundation font-end frameworks : a comparative study
Analyzing bootsrap and foundation font-end frameworks : a comparative studyAnalyzing bootsrap and foundation font-end frameworks : a comparative study
Analyzing bootsrap and foundation font-end frameworks : a comparative study
IJECEIAES
 
Boilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development ProcessBoilerplates: Step up your Web Development Process
Boilerplates: Step up your Web Development Process
Fibonalabs
 
Ad

Recently uploaded (20)

Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Play It Safe: Manage Security Risks - Google Certificate
Play It Safe: Manage Security Risks - Google CertificatePlay It Safe: Manage Security Risks - Google Certificate
Play It Safe: Manage Security Risks - Google Certificate
VICTOR MAESTRE RAMIREZ
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
TrsLabs Consultants - DeFi, WEb3, Token Listing
TrsLabs Consultants - DeFi, WEb3, Token ListingTrsLabs Consultants - DeFi, WEb3, Token Listing
TrsLabs Consultants - DeFi, WEb3, Token Listing
Trs Labs
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
BookNet Canada
 
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and MLGyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
Gyrus AI
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
AsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API DesignAsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API Design
leonid54
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Vibe Coding_ Develop a web application using AI (1).pdf
Vibe Coding_ Develop a web application using AI (1).pdfVibe Coding_ Develop a web application using AI (1).pdf
Vibe Coding_ Develop a web application using AI (1).pdf
Baiju Muthukadan
 
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdfAre Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Telecoms Supermarket
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Hundred applicable AI Cases for oil and Gas
Hundred applicable AI Cases for oil and GasHundred applicable AI Cases for oil and Gas
Hundred applicable AI Cases for oil and Gas
bengsoon3
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Play It Safe: Manage Security Risks - Google Certificate
Play It Safe: Manage Security Risks - Google CertificatePlay It Safe: Manage Security Risks - Google Certificate
Play It Safe: Manage Security Risks - Google Certificate
VICTOR MAESTRE RAMIREZ
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
TrsLabs Consultants - DeFi, WEb3, Token Listing
TrsLabs Consultants - DeFi, WEb3, Token ListingTrsLabs Consultants - DeFi, WEb3, Token Listing
TrsLabs Consultants - DeFi, WEb3, Token Listing
Trs Labs
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
BookNet Canada
 
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and MLGyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
Gyrus AI
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
AsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API DesignAsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API Design
leonid54
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Vibe Coding_ Develop a web application using AI (1).pdf
Vibe Coding_ Develop a web application using AI (1).pdfVibe Coding_ Develop a web application using AI (1).pdf
Vibe Coding_ Develop a web application using AI (1).pdf
Baiju Muthukadan
 
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdfAre Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Telecoms Supermarket
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
Hundred applicable AI Cases for oil and Gas
Hundred applicable AI Cases for oil and GasHundred applicable AI Cases for oil and Gas
Hundred applicable AI Cases for oil and Gas
bengsoon3
 
Ad

CSS3 and a brief introduction to Google Maps API v3

  • 1. CSS3 and a brief introduction to Google Maps API v3 Watercooler Session 28 April 2010 Jeffrey Barke
  • 2. CSS3: What is it? A style sheet language used to describe the presentation semantics of a document written in a markup language. CSS specifications are maintained by the World Wide Web Consortium (W3C). CSS level 1 was published in December 1996. CSS level 2 was published in May 1998. CSS level 3 is currently under development. CSS level 3 has been in development for a long time!
  • 3. CSS3: What is it? (cont’d) CSS3 is modularized and will be composed of several separate recommendations. Progress report at http://www.w3.org/Style/CSS/current-work#table CSS Template Layout (positioning) CSS Aural Style Sheets (audio) CSS Backgrounds and Borders CSS Basic User Interface (forms) CSS Basic Box Model (layout) CSS Extended Box Model (floats) CSS Marquee (for mobile) CSS Cascading and Inheritance CSS Color CSS Fonts ...
  • 4. CSS3: A bit more terminology Each level of CSS builds on the last and adds new features. Profiles are a subset of a CSS level designed for a particular device or use interface (mobile devices, printers and television sets).
  • 5. Back to practical web design It’s about the browsers. So, what the browser support? Well, that's complicated. Because it's not just a binary opposition of support or not. Except, of course, there’s IE. IE 8 and below have no native support for any of the CSS3 modules (except for @font-face and a few of the CSS3 selectors). The IE 9 pre-alpha looks very good, but it requires Vista SP 2 or Windows 7 and Internet Explorer 8. Windows XP users are SOL. CSS Compatibility and Internet Explorer Test drive IE 9
  • 6. How/when/why to use It’s still in draft form and browser support is patchy, so what’s the use cases? Performance! Slim down the markup for smaller file size Slim the DOM for faster parsing Fewer HTTP requests Less compelling, but the ability to do cool things without Flash and with less JavaScript. Probably not for a large, complicated corporate website with a lot of IE traffic.
  • 7. Ways to use: Pure CSS3 approach Use as much CSS3 as possible (say for rounded corners) Compliant browsers get the full experience Non-compliant browsers “gracefully” degrade (square edges) Advantages Per the previous slide Less development time (no cutting images) Less maintenance time (no re-cutting images) Disadvantages Design looks different in different browsers. If a large percentage of your traffic uses IE, this is probably not good. If your CEO does a little browsing on IE and doesn’t understand what happened to the design, this is probably not good.
  • 8. Ways to use: CSS3 with fallback to images Use as much CSS3 as possible (say for rounded corners) Create browser-specific or fallback stylesheets that use background images per usual Advantages Design is consistent across browsers Compliant browsers make fewer HTTP requests (though the HTML and DOM will not be slimmer) Disadvantages More development time (CSS3 + standard approach) More maintenance time (need to remember to change things in two places) May require CSS hacks and may not target all browsers correctly
  • 9. Ways to use: My recommendation If your traffic/user base justifies a pure CSS3 approach, I say use it. The advantages are real and it’s the future of web design. However, if you’re forced to do the CSS3 with fallback to images approach, I would probably avoid using CSS3 altogether (especially if the site is large or complex). I started out doing a project the hybrid way and ended up scrapping it for background images for all browsers—I didn’t see the advantages as outweighing the development costs. Plus, the markup would be handed off to a different team for implementation and maintenance, which means that team would need to know to change the CSS3 in one place and update the background images in another.
  • 10. CSS3 Selectors Probably most familiar from jQuery. There’s an excellent article on them at 456 Berea St E[att^=”val”] E[att$=”val”] E:last-child E:checked E:selection What about the performance hit? Overrated: http://www.stevesouders.com/blog/2009/03/10/performance-impact-of-css-selectors/
  • 11. CSS3 Selector browser support Probably most familiar from jQuery. Browser Version OS Results Chrome 5.0 Mac 43/43/0/0 Firefox 3.0 Win XP 43/36/0/7 Firefox 3.6 Mac 43/43/0/0 IE 6.0 Win XP 43/10/1/32 IE 7.0 Win Vista 43/13/4/26 IE 8.0 Win 7 43/22/1/20 IE 9 preview Win 7 43/43/0/0 Opera 10.52 Mac 43/43/0/0 Safari 4.0 Mac 43/43/0/0
  • 12. All the fun new CSS rules Borders, backgrounds, colors, columns, etc. No new code examples, because there are a ton out there: Style Master CSS Editor CSS3.info CSS3 preview CSS3 Generator
  • 13. RGBA and HSLA Alpha-transparency possible for both. I’m not a designer, but according to Molly Holzschlag, HSL is better: Not CRT specific Easier, more intuitive to work with Working with a set of colors allows for easy palette creation Reduces errors Reduces dependency on charts and other value lookup tools Works in Firefox, Webkit and Opera Notes from Molly’s presentation HSL chart
  • 14. Transforms and transitions NSFW! The sexy stuff, however browser support is the worst here. Transforms are presently supported in Safari 4, Chrome Firefox 3.5. and Opera 10.5 Transitions are supported in Safari 4, Chrome and Opera 10.5. Opera 10.5 pre alphas crash animating these transforms, and so this is not enabled at present for Opera. Lightsaber 3D rotating cube CSS3 JavaScript alternatives CSS3 accordion CSS Coke can 47 Amazing CSS3 Animation Demos
  • 15. @font-face Web typography is a huge issue, but the good news is that all browsers support it. However, the font format supported is another thing. IE: .eot Other browsers: .ttf or .otf @font-face browser support @font-face { font-family: 'Graublau Web'; src: url('GraublauWeb.eot'); src: local('Graublau Web Regular'), local('Graublau Web'), url('GraublauWeb.otf') format('opentype'); } Licensing is another issue altogether.
  • 16. @font-face licensing A nice overview of font embedding on the web (EOT, sIFR, font linking): http://www.fontembedding.com/fonts-and-the-web/ Ascender study of free/shareware fonts: http://www.ascendercorp.com/news/web-fonts-study/ Out of the 4572 fonts tested, 4385 fonts (95.9%) failed one or more of the six tests that were performed More useful links: Web fonts licensing overview List of fonts available for embedding List of commercial foundries that permit embedding
  • 17. @font-face Enter Typekit! Advantages They have clout when it comes to type foundries Handle the font format issues for you Problems: Not free (I’m cheap!) JavaScript-based
  • 18. The future When will CSS3 be published as a recommendation? Some modules are stable and have been implemented Some may be dropped, but it’s hoped that they rest will be implemented 4-5 years Will there be a CSS4? Maybe, but no definite plans When will IE 9 be released? Hopefully in 2011 When will IE 6 finally die? ???
  • 19. Tools, links, etc. Info, news, tutorials CSS3.info Toolkits, CSS Generators CSS Generator CSS3 Please! The Cross-Browser CSS3 Rule Generator Modernizr Tests, browser compatibility tables CSS Compatibility and Internet Explorer CSS3 Selectors Test HTML5 Readiness QuirksMode: CSS compatibility tables When Can I Use…
  • 20. Tools, links, etc. (cont’d) Demos, interactive demos 3D rotating cube 47 Amazing CSS3 Animation Demos CSS3.info CSS3 preview CSS3 Generator Style Master CSS Editor
  • 21. And a very brief into to Google Maps API v3 Things to love about the new API Smaller (faster?) for mobile platforms No more API key! No more GUnload! (Everyone hates to clean-up) Things to note about the new API It’s marked beta (does that mean anything from Google?) Smaller feature set Things that are ambiguous about the new API API style (I prefer it) Bottom line: I would use this in production depending on the feature set required and target audience
  • 22. Some early thoughts on v3 In the Google Maps JavaScript API v3 group, John Coryat writes: From my understanding, v3 isn't a direct replacement for v2 but instead is a complete re-write from scratch. V3 on the other hand, being a complete re-write, has very few features at this point but is extremely efficient, fast loading, modular and potentially much more extensible. I would recommend that any developer who is considering using v3 think of it as a "mobile only" API
  • 23. Some early thoughts on v3 Google's response: We wanted to get this in your hands as soon as possible, so we've intentionally released it early, and with a basic set of features. We're releasing it in Labs because it's not fully baked yet; we want to get your feedback on the new design and what you'd like to see in future revisions now that we have a chance for a fresh start. I would urge you to not think of this as a "mobile only" API. While mobile browsers are a new focus for us, the API is fully supported on desktop browsers (including the addition of Chrome).