SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
Herebedaemons.co.uk



       Nanoformats
               by Rozario Chivers




         “Design patterns for HTML”
Herebedaemons.co.uk



       Nanoformats

       “Designed for organisations first
           and machines second”
Herebedaemons.co.uk



       Nanoformats

       Q: “What are they?”

       A: “They're like Microformats,
           but for 'internal' use”
Herebedaemons.co.uk



       Nanoformats
       Q: “eh?!”
Herebedaemons.co.uk



          Microformats?
Q: “What's a Microformat?”

A: “Designed for humans first and machines second,
    microformats are a set of simple, open data formats built
    upon existing and widely adopted standards. Microformats
    intend to solve simpler problems first by adapting to current
    behavior and usage patterns (e.g. XHTML, blogging).”
Herebedaemons.co.uk



                   ?
       Q: “eh?!”
Herebedaemons.co.uk



       Microformats?
Q: “What's a Microformat?”

A: “a clever way of making POSH (Plain Old
   Semantic HTML) self describing and
   understood by other systems (machines).

   For example addresses, calendars, events,
   reviews, etc.”
Herebedaemons.co.uk



                Microformats
<!-- begin class=quot;contactquot; -->
<div class=quot;contact vcardquot;>
    <dl>
         <dt><span>Contact information:</span> <span class=quot;fnquot;>Rozario
Chivers</span></dt>
         <dd class=quot;orgquot;>Salmon Limited</dd>
         <dd class=quot;adrquot;>2nd Floor, 64 Clarendon Road, Watford, Herts, WD17
1DA</dd>
         <!-- geo microformat - http://microformats.org/wiki/geo -->
         <dd class=quot;geoquot;><span class=quot;latitudequot;>51.66206</span>, <span
class=quot;longitudequot;>-0.39657</span></dd>
         <dd class=quot;tel primaryquot;><span class=quot;valuequot;>01923 320011</span></dd>
         <dd class=quot;emailquot;><span>rchivers@salmon.com</span></dd>
         <dd class=quot;actionquot;>
             <a href=quot;quot; class=quot;primaryquot;><span>Contact Customer
Services</span></a>
         </dd>
    </dl>
</div>
<!-- end class=quot;contactquot; -->
Herebedaemons.co.uk



       Nanoformats
       Q: “Why do we need them?”

       A: “They can be used to
           improve the development
           process, code quality,
           testing and extensibility, via
           a component based
           methodology ...
           Design patterns for HTML.”
Herebedaemons.co.uk

       Component based
         Methodology
Can provide the following:

- A place to start
- The benefit of a development communities prior
  experiences
- A common language and shared vision
- A framework for development activities
- A way to define and monitor improvement
Herebedaemons.co.uk



          Example
Herebedaemons.co.uk



          Example
Herebedaemons.co.uk



       Nanoformats
    Q: “What can happen without a
    development process?”
Herebedaemons.co.uk



                Sans Process
Starting points diverge based on developer
Varying knowledge and experience

Individuals sometimes do not share prior experiences or knowledge
Becoming irreplaceable often means not sharing knowledge

A common language and a shared vision can be misunderstood
Common approaches can be lost without communication

Code becomes messy and unstructured without a framework
Individuals code following their own preference and experience

“Improvement” is not defined or monitored
A feedback mechanism is not used to assess success or failures
Herebedaemons.co.uk



         Common Mistakes
                         Generic code

form {

    border: 1px solid #999;       function spawn() {
    border-left-color: #EFEFEF;
    margin: 50px auto 10px;       window.open(quot;http://www.stuff.comquot;,
    padding: 0;                       “Stuffquot;,quot;toolbar=no, location=no,
    position: relative;           width=500, height=800quot;);
    width: 330px;           
    display: block;               }

}
Herebedaemons.co.uk



 Common Mistakes
Herebedaemons.co.uk



       Namespaces
            To the rescue
Herebedaemons.co.uk



              Namespaces

“In general, a namespace is an abstract container providing
 context for the items (names, or technical terms, or words) it
 holds and allows disambiguation of items having the same name
 (residing in different namespaces). ”

- http://en.wikipedia.org/wiki/Namespace
Herebedaemons.co.uk



                 Namespaces
                      CSS & JavaScript

.sitename .section .pagename form   // set up namespace
{                                   var sitename;
                                    if (!sitename) sitename = {};
    border: 1px solid #999;         // page utility methods
    border-left-color: #EFEFEF;     sitename.pagename = {};
    margin: 50px auto 10px;
                                    sitename.pagename.utils = function
    padding: 0;
                                    spawn() {
    position: relative;
    width: 860px;           
                                    window.open(quot;http://www.thing.comquot;,
    display: block;                     “Thingquot;,quot;toolbar=no, location=no,
                                    width=500, height=800quot;);
}
                                    }
Herebedaemons.co.uk



                Namespaces
                          The XHTML

<!-- site name -->
<body id=quot;sitenamequot;>

   <!-- pagename -->
   <div id=quot;containerquot; class=quot;homepagequot;>

       <!-- language -->
       <div id=quot;contentquot; class=quot;en-gbquot;>


           <!-- more HTML stuff -->
Herebedaemons.co.uk



          Common Mistakes
              Semantically incorrect XHTML



<dl>
    <dd   class=quot;propertyquot;>Processor Speed:</dd>
    <dd   class=quot;valuequot;>1.73GHz</dd>
    <dd   class=quot;propertyquot;>Chipset</dd>
    <dd   class=quot;valuequot;>Intel Pentium Dual Core</dd>
</dl>
Herebedaemons.co.uk



                  Nanoformats
                           to the rescue



<dl>
    <dt   class=quot;propertyquot;>Processor Speed:</dt>
    <dd   class=quot;valuequot;>1.73GHz</dd>
    <dt   class=quot;propertyquot;>Chipset</dt>
    <dd   class=quot;valuequot;>Intel Pentium Dual Core</dd>
</dl>
Herebedaemons.co.uk



                Nanoformats
                      Are discoverable
// add product attributes
$(document).ready(
    function() {
        sitename.product = {
            description : $(quot;.product dt.description aquot;).text(),
            image : $(quot;.product dd.image a imgquot;).get()[0],
            note : $(quot;.product dd.note spanquot;).text(),
            price : $(quot;.product dd.pricequot;).text()
        };

       //Product Object example
       //Firebug console
       console.log(sitename.product.description);
       console.log(sitename.product.image.src);
       console.log(sitename.product.note);
       console(sitename.product.price);
});
Herebedaemons.co.uk



                Nanoformats
       Are Testable (automated scripts etc.)
// add product attributes
$(document).ready(
    function() {
        sitename.product = {
            description : $(quot;.product dt.description aquot;).text(),
            image : $(quot;.product dd.image a imgquot;).get()[0],
            note : $(quot;.product dd.note spanquot;).text(),
            price : $(quot;.product dd.pricequot;).text()
        };

       //Product Object example
       //Firebug console
       console.log(sitename.product.description);
       console.log(sitename.product.image.src);
       console.log(sitename.product.note);
       console(sitename.product.price);
});
Herebedaemons.co.uk



         Nanoformats

Are essentially Design Patterns for (X)HTML
Herebedaemons.co.uk



       Nanoformats
Web Development does not have to be...
Herebedaemons.co.uk



       Nanoformats

         A Design Pattern is
            a solution to
              a problem
             in a context
Herebedaemons.co.uk



       Nanoformats


               Thanks!

Weitere ähnliche Inhalte

Was ist angesagt?

Elinvoimaa hunajasta-yleist-hunajatietoa-ja-kyttvinkkej
Elinvoimaa hunajasta-yleist-hunajatietoa-ja-kyttvinkkejElinvoimaa hunajasta-yleist-hunajatietoa-ja-kyttvinkkej
Elinvoimaa hunajasta-yleist-hunajatietoa-ja-kyttvinkkejPertti Paavola
 
Div span__object_があればいい
Div  span__object_があればいいDiv  span__object_があればいい
Div span__object_があればいいShuhei Iitsuka
 
قالب المواضيع
قالب المواضيعقالب المواضيع
قالب المواضيعkhaliled
 
How to create a basic template
How to create a basic templateHow to create a basic template
How to create a basic templatevathur
 
Web Technology Lab files with practical
Web Technology Lab  files with practicalWeb Technology Lab  files with practical
Web Technology Lab files with practicalNitesh Dubey
 
Beyond CSS Architecture
Beyond CSS ArchitectureBeyond CSS Architecture
Beyond CSS Architecture拓樹 谷
 
Best Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStart
Best Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStartBest Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStart
Best Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStartScott DeLoach
 
Rapid HTML Prototyping with Bootstrap - Chris Griffith
Rapid HTML Prototyping with Bootstrap - Chris GriffithRapid HTML Prototyping with Bootstrap - Chris Griffith
Rapid HTML Prototyping with Bootstrap - Chris GriffithUXPA International
 
Xlrays online web tutorials
Xlrays online web tutorialsXlrays online web tutorials
Xlrays online web tutorialsYogesh Gupta
 
WordPress 3 and You
WordPress 3 and YouWordPress 3 and You
WordPress 3 and YouOren Yomtov
 
Você precisa aprender Web
Você precisa aprender WebVocê precisa aprender Web
Você precisa aprender WebJean Carlo Emer
 

Was ist angesagt? (19)

Elinvoimaa hunajasta-yleist-hunajatietoa-ja-kyttvinkkej
Elinvoimaa hunajasta-yleist-hunajatietoa-ja-kyttvinkkejElinvoimaa hunajasta-yleist-hunajatietoa-ja-kyttvinkkej
Elinvoimaa hunajasta-yleist-hunajatietoa-ja-kyttvinkkej
 
Div span__object_があればいい
Div  span__object_があればいいDiv  span__object_があればいい
Div span__object_があればいい
 
Convidar para page !!
Convidar para page !!Convidar para page !!
Convidar para page !!
 
Presentation1
Presentation1 Presentation1
Presentation1
 
1cst
1cst1cst
1cst
 
قالب المواضيع
قالب المواضيعقالب المواضيع
قالب المواضيع
 
How to create a basic template
How to create a basic templateHow to create a basic template
How to create a basic template
 
Web Technology Lab files with practical
Web Technology Lab  files with practicalWeb Technology Lab  files with practical
Web Technology Lab files with practical
 
CAR Email 06.05.02 (a)
CAR Email 06.05.02 (a)CAR Email 06.05.02 (a)
CAR Email 06.05.02 (a)
 
Beyond CSS Architecture
Beyond CSS ArchitectureBeyond CSS Architecture
Beyond CSS Architecture
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 
Best Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStart
Best Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStartBest Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStart
Best Practices for Embedded UA - WritersUA 2012, Scott DeLoach, ClickStart
 
Rapid HTML Prototyping with Bootstrap - Chris Griffith
Rapid HTML Prototyping with Bootstrap - Chris GriffithRapid HTML Prototyping with Bootstrap - Chris Griffith
Rapid HTML Prototyping with Bootstrap - Chris Griffith
 
Html Tags
Html TagsHtml Tags
Html Tags
 
Xlrays online web tutorials
Xlrays online web tutorialsXlrays online web tutorials
Xlrays online web tutorials
 
WordPress 3 and You
WordPress 3 and YouWordPress 3 and You
WordPress 3 and You
 
The Devil and HTML5
The Devil and HTML5The Devil and HTML5
The Devil and HTML5
 
Md5 decrypter
Md5 decrypterMd5 decrypter
Md5 decrypter
 
Você precisa aprender Web
Você precisa aprender WebVocê precisa aprender Web
Você precisa aprender Web
 

Andere mochten auch

E N C E F A L I T I S Meningitis[2]
E N C E F A L I T I S Meningitis[2]E N C E F A L I T I S Meningitis[2]
E N C E F A L I T I S Meningitis[2]estebanbathory
 
soy español
soy españolsoy español
soy españolChemita77
 
Plantas de Luz FGW en Carnaval
Plantas de Luz FGW en CarnavalPlantas de Luz FGW en Carnaval
Plantas de Luz FGW en Carnavalrbyerlee
 
Software livre na educação
Software livre na educaçãoSoftware livre na educação
Software livre na educaçãonratao
 
Kleiner Exkurs: Deutsch fürs Büro. Teil 1.
Kleiner Exkurs: Deutsch fürs Büro. Teil 1.Kleiner Exkurs: Deutsch fürs Büro. Teil 1.
Kleiner Exkurs: Deutsch fürs Büro. Teil 1.tbrueggemann
 
La Programació Per CompetèNcies
La Programació Per CompetèNciesLa Programació Per CompetèNcies
La Programació Per CompetèNciesguest36f45d
 
Accidentes Motos Jamaica
Accidentes Motos JamaicaAccidentes Motos Jamaica
Accidentes Motos Jamaicalosdehinojosos
 
PRECIOSOS RECUERDOS
PRECIOSOS RECUERDOSPRECIOSOS RECUERDOS
PRECIOSOS RECUERDOSguest960f23
 
Green IT Trends in Israel July 2008
Green IT Trends in Israel July 2008Green IT Trends in Israel July 2008
Green IT Trends in Israel July 2008Shahar Geiger Maor
 
Presentation Ethiopiques
Presentation EthiopiquesPresentation Ethiopiques
Presentation EthiopiquesBelieve Digital
 
Internet marketing pre podnikatelov
Internet marketing pre podnikatelovInternet marketing pre podnikatelov
Internet marketing pre podnikatelovBranislav Busovsky
 
50 Best Of 2007
50 Best Of 200750 Best Of 2007
50 Best Of 2007webtel
 
Strategy of Fair Economic Development
Strategy of Fair Economic DevelopmentStrategy of Fair Economic Development
Strategy of Fair Economic Developmenticco.alliance
 

Andere mochten auch (20)

E N C E F A L I T I S Meningitis[2]
E N C E F A L I T I S Meningitis[2]E N C E F A L I T I S Meningitis[2]
E N C E F A L I T I S Meningitis[2]
 
soy español
soy españolsoy español
soy español
 
A B C 123 Dubai
A B C 123  DubaiA B C 123  Dubai
A B C 123 Dubai
 
Monjitas
MonjitasMonjitas
Monjitas
 
Plantas de Luz FGW en Carnaval
Plantas de Luz FGW en CarnavalPlantas de Luz FGW en Carnaval
Plantas de Luz FGW en Carnaval
 
Software livre na educação
Software livre na educaçãoSoftware livre na educação
Software livre na educação
 
Kleiner Exkurs: Deutsch fürs Büro. Teil 1.
Kleiner Exkurs: Deutsch fürs Büro. Teil 1.Kleiner Exkurs: Deutsch fürs Büro. Teil 1.
Kleiner Exkurs: Deutsch fürs Büro. Teil 1.
 
Restaurering
RestaureringRestaurering
Restaurering
 
india usa
india usaindia usa
india usa
 
La Programació Per CompetèNcies
La Programació Per CompetèNciesLa Programació Per CompetèNcies
La Programació Per CompetèNcies
 
Accidentes Motos Jamaica
Accidentes Motos JamaicaAccidentes Motos Jamaica
Accidentes Motos Jamaica
 
PRECIOSOS RECUERDOS
PRECIOSOS RECUERDOSPRECIOSOS RECUERDOS
PRECIOSOS RECUERDOS
 
Green IT Trends in Israel July 2008
Green IT Trends in Israel July 2008Green IT Trends in Israel July 2008
Green IT Trends in Israel July 2008
 
Presentaciones Exitosas
Presentaciones Exitosas Presentaciones Exitosas
Presentaciones Exitosas
 
PresentacióN1
PresentacióN1PresentacióN1
PresentacióN1
 
Presentation Ethiopiques
Presentation EthiopiquesPresentation Ethiopiques
Presentation Ethiopiques
 
Internet marketing pre podnikatelov
Internet marketing pre podnikatelovInternet marketing pre podnikatelov
Internet marketing pre podnikatelov
 
50 Best Of 2007
50 Best Of 200750 Best Of 2007
50 Best Of 2007
 
Restaurering
RestaureringRestaurering
Restaurering
 
Strategy of Fair Economic Development
Strategy of Fair Economic DevelopmentStrategy of Fair Economic Development
Strategy of Fair Economic Development
 

Ähnlich wie Nanoformats

Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX DesignersAshlimarie
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application developmentzonathen
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersTsungWei Hu
 
Clean separation
Clean separationClean separation
Clean separationatorreno
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Ryan Price
 
High Performance Django 1
High Performance Django 1High Performance Django 1
High Performance Django 1DjangoCon2008
 
High Performance Django
High Performance DjangoHigh Performance Django
High Performance DjangoDjangoCon2008
 
Automated Frontend Testing
Automated Frontend TestingAutomated Frontend Testing
Automated Frontend TestingNeil Crosby
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Sadaaki HIRAI
 
The A to Z of developing for the web
The A to Z of developing for the webThe A to Z of developing for the web
The A to Z of developing for the webMatt Wood
 
Pinkoi Mobile Web
Pinkoi Mobile WebPinkoi Mobile Web
Pinkoi Mobile Webmikeleeme
 
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...Codemotion
 
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
Five Pound App talk: hereit.is, Web app architecture, REST, CSS3
Five Pound App talk: hereit.is, Web app architecture, REST, CSS3Five Pound App talk: hereit.is, Web app architecture, REST, CSS3
Five Pound App talk: hereit.is, Web app architecture, REST, CSS3Jamie Matthews
 
Decoding the Web
Decoding the WebDecoding the Web
Decoding the Webnewcircle
 

Ähnlich wie Nanoformats (20)

Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX Designers
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application development
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and Programmers
 
Clean separation
Clean separationClean separation
Clean separation
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
html5
html5html5
html5
 
High Performance Django 1
High Performance Django 1High Performance Django 1
High Performance Django 1
 
High Performance Django
High Performance DjangoHigh Performance Django
High Performance Django
 
Automated Frontend Testing
Automated Frontend TestingAutomated Frontend Testing
Automated Frontend Testing
 
Create a landing page
Create a landing pageCreate a landing page
Create a landing page
 
JavaScripts & jQuery
JavaScripts & jQueryJavaScripts & jQuery
JavaScripts & jQuery
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
 
The A to Z of developing for the web
The A to Z of developing for the webThe A to Z of developing for the web
The A to Z of developing for the web
 
Pinkoi Mobile Web
Pinkoi Mobile WebPinkoi Mobile Web
Pinkoi Mobile Web
 
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
 
[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design[convergese] Adaptive Images in Responsive Web Design
[convergese] Adaptive Images in Responsive Web Design
 
Five Pound App talk: hereit.is, Web app architecture, REST, CSS3
Five Pound App talk: hereit.is, Web app architecture, REST, CSS3Five Pound App talk: hereit.is, Web app architecture, REST, CSS3
Five Pound App talk: hereit.is, Web app architecture, REST, CSS3
 
HTML5 - A Whirlwind tour
HTML5 - A Whirlwind tourHTML5 - A Whirlwind tour
HTML5 - A Whirlwind tour
 
Decoding the Web
Decoding the WebDecoding the Web
Decoding the Web
 

Kürzlich hochgeladen

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Kürzlich hochgeladen (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

Nanoformats

  • 1. Herebedaemons.co.uk Nanoformats by Rozario Chivers “Design patterns for HTML”
  • 2. Herebedaemons.co.uk Nanoformats “Designed for organisations first and machines second”
  • 3. Herebedaemons.co.uk Nanoformats Q: “What are they?” A: “They're like Microformats, but for 'internal' use”
  • 4. Herebedaemons.co.uk Nanoformats Q: “eh?!”
  • 5. Herebedaemons.co.uk Microformats? Q: “What's a Microformat?” A: “Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards. Microformats intend to solve simpler problems first by adapting to current behavior and usage patterns (e.g. XHTML, blogging).”
  • 6. Herebedaemons.co.uk ? Q: “eh?!”
  • 7. Herebedaemons.co.uk Microformats? Q: “What's a Microformat?” A: “a clever way of making POSH (Plain Old Semantic HTML) self describing and understood by other systems (machines). For example addresses, calendars, events, reviews, etc.”
  • 8. Herebedaemons.co.uk Microformats <!-- begin class=quot;contactquot; --> <div class=quot;contact vcardquot;> <dl> <dt><span>Contact information:</span> <span class=quot;fnquot;>Rozario Chivers</span></dt> <dd class=quot;orgquot;>Salmon Limited</dd> <dd class=quot;adrquot;>2nd Floor, 64 Clarendon Road, Watford, Herts, WD17 1DA</dd> <!-- geo microformat - http://microformats.org/wiki/geo --> <dd class=quot;geoquot;><span class=quot;latitudequot;>51.66206</span>, <span class=quot;longitudequot;>-0.39657</span></dd> <dd class=quot;tel primaryquot;><span class=quot;valuequot;>01923 320011</span></dd> <dd class=quot;emailquot;><span>rchivers@salmon.com</span></dd> <dd class=quot;actionquot;> <a href=quot;quot; class=quot;primaryquot;><span>Contact Customer Services</span></a> </dd> </dl> </div> <!-- end class=quot;contactquot; -->
  • 9. Herebedaemons.co.uk Nanoformats Q: “Why do we need them?” A: “They can be used to improve the development process, code quality, testing and extensibility, via a component based methodology ... Design patterns for HTML.”
  • 10. Herebedaemons.co.uk Component based Methodology Can provide the following: - A place to start - The benefit of a development communities prior experiences - A common language and shared vision - A framework for development activities - A way to define and monitor improvement
  • 13. Herebedaemons.co.uk Nanoformats Q: “What can happen without a development process?”
  • 14. Herebedaemons.co.uk Sans Process Starting points diverge based on developer Varying knowledge and experience Individuals sometimes do not share prior experiences or knowledge Becoming irreplaceable often means not sharing knowledge A common language and a shared vision can be misunderstood Common approaches can be lost without communication Code becomes messy and unstructured without a framework Individuals code following their own preference and experience “Improvement” is not defined or monitored A feedback mechanism is not used to assess success or failures
  • 15. Herebedaemons.co.uk Common Mistakes Generic code form { border: 1px solid #999; function spawn() { border-left-color: #EFEFEF; margin: 50px auto 10px; window.open(quot;http://www.stuff.comquot;, padding: 0; “Stuffquot;,quot;toolbar=no, location=no, position: relative; width=500, height=800quot;); width: 330px;            display: block; } }
  • 17. Herebedaemons.co.uk Namespaces To the rescue
  • 18. Herebedaemons.co.uk Namespaces “In general, a namespace is an abstract container providing context for the items (names, or technical terms, or words) it holds and allows disambiguation of items having the same name (residing in different namespaces). ” - http://en.wikipedia.org/wiki/Namespace
  • 19. Herebedaemons.co.uk Namespaces CSS & JavaScript .sitename .section .pagename form // set up namespace { var sitename; if (!sitename) sitename = {}; border: 1px solid #999; // page utility methods border-left-color: #EFEFEF; sitename.pagename = {}; margin: 50px auto 10px; sitename.pagename.utils = function padding: 0; spawn() { position: relative; width: 860px;            window.open(quot;http://www.thing.comquot;, display: block; “Thingquot;,quot;toolbar=no, location=no, width=500, height=800quot;); } }
  • 20. Herebedaemons.co.uk Namespaces The XHTML <!-- site name --> <body id=quot;sitenamequot;> <!-- pagename --> <div id=quot;containerquot; class=quot;homepagequot;> <!-- language --> <div id=quot;contentquot; class=quot;en-gbquot;> <!-- more HTML stuff -->
  • 21. Herebedaemons.co.uk Common Mistakes Semantically incorrect XHTML <dl> <dd class=quot;propertyquot;>Processor Speed:</dd> <dd class=quot;valuequot;>1.73GHz</dd> <dd class=quot;propertyquot;>Chipset</dd> <dd class=quot;valuequot;>Intel Pentium Dual Core</dd> </dl>
  • 22. Herebedaemons.co.uk Nanoformats to the rescue <dl> <dt class=quot;propertyquot;>Processor Speed:</dt> <dd class=quot;valuequot;>1.73GHz</dd> <dt class=quot;propertyquot;>Chipset</dt> <dd class=quot;valuequot;>Intel Pentium Dual Core</dd> </dl>
  • 23. Herebedaemons.co.uk Nanoformats Are discoverable // add product attributes $(document).ready( function() { sitename.product = { description : $(quot;.product dt.description aquot;).text(), image : $(quot;.product dd.image a imgquot;).get()[0], note : $(quot;.product dd.note spanquot;).text(), price : $(quot;.product dd.pricequot;).text() }; //Product Object example //Firebug console console.log(sitename.product.description); console.log(sitename.product.image.src); console.log(sitename.product.note); console(sitename.product.price); });
  • 24. Herebedaemons.co.uk Nanoformats Are Testable (automated scripts etc.) // add product attributes $(document).ready( function() { sitename.product = { description : $(quot;.product dt.description aquot;).text(), image : $(quot;.product dd.image a imgquot;).get()[0], note : $(quot;.product dd.note spanquot;).text(), price : $(quot;.product dd.pricequot;).text() }; //Product Object example //Firebug console console.log(sitename.product.description); console.log(sitename.product.image.src); console.log(sitename.product.note); console(sitename.product.price); });
  • 25. Herebedaemons.co.uk Nanoformats Are essentially Design Patterns for (X)HTML
  • 26. Herebedaemons.co.uk Nanoformats Web Development does not have to be...
  • 27. Herebedaemons.co.uk Nanoformats A Design Pattern is a solution to a problem in a context
  • 28. Herebedaemons.co.uk Nanoformats Thanks!