SlideShare une entreprise Scribd logo
1  sur  99
Télécharger pour lire hors ligne
<h1>There are no messages</h1>
<?php if($db->fetchOne('select count(*) from messages')) { ?>
<?php $messages = $db->fetchAll('select * from messages'); ?>
<h1>There are <?php echo count($messages); ?> messages:<h1>
<ul>
<li>From <?php echo $message['from']; ?></li>
<?php foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<?php } else { ?>
<php } ?>
<h1>There are no messages</h1>
<?php if($db->fetchOne('select count(*) from messages')) { ?>
<?php $messages = $db->fetchAll('select * from messages'); ?>
<h1>There are <?php echo count($messages); ?> messages:<h1>
<ul>
<li>From <?php echo $message['from']; ?></li>
<?php foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<?php } else { ?>
<php } ?>
<h1>There are no messages</h1>
<?php if($db->fetchOne('select count(*) from messages')) { ?>
<?php $messages = $db->fetchAll('select * from messages'); ?>
<h1>There are <?php echo count($messages); ?> messages:<h1>
<ul>
<li>From <?php echo $message['from']; ?></li>
<?php foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<?php } else { ?>
<php } ?>
<h1>There are no messages</h1>
<?php if($db->fetchOne('select count(*) from messages')) { ?>
<?php $messages = $db->fetchAll('select * from messages'); ?>
<h1>There are <?php echo count($messages); ?> messages:<h1>
<ul>
<li>From <?php echo $message['from']; ?></li>
<?php foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<?php } else { ?>
<php } ?>
<h1>There are no messages</h1>
<? if (count($messages)) { ?>
<h1>There are <?= count($messages) ?> messages:<h1>
<ul>
<li>From <?= $message['from']; ?></li>
<? foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<? } else { >
<php } ?>
<? $messages = $messageStore->getAll(); ?>
<h1>There are no messages</h1>
<? if (count($messages)) { ?>
<h1>There are <?= count($messages) ?> messages:<h1>
<ul>
<li>From <?= $message['from']; ?></li>
<? foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<? } else { >
<php } ?>
<? $messages = $messageStore->getAll(); ?>
<h1>There are no messages</h1>
<? if (count($messages)) { ?>
<h1>There are <?= count($messages) ?> messages:<h1>
<ul>
<li>From <?= $message['from']; ?></li>
<? foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<? } else { >
<php } ?>
<? $messages = $messageStore->getAll(); ?>
<? $messages = $store->getMessages();
'messageCount' => count($messages),
'messages' => $messages
$model = array(
); ?>
<h1>There are no messages</h1>
{{^messageCount}}
<h1>There are {{messageCount}} messages:<h1>
<ul>
<li>From {{from}}</li>
{{#messages}}
{{/messages}}
</ul>
{{/messageCount}}{{#messageCount}}
{{/messageCount}}
<? $messages = $store->getMessages();
'messageCount' => count($messages),
'messages' => $messages
$model = array(
); ?>
<h1>There are no messages</h1>
{{^messageCount}}
<h1>There are {{messageCount}} messages:<h1>
<ul>
<li>From {{from}}</li>
{{#messages}}
{{/messages}}
</ul>
{{/messageCount}}{{#messageCount}}
{{/messageCount}}
<? $messages = $messageStore->getAll(); ?>
<h1>There are no messages</h1>
<? if (count($messages)) { ?>
<h1>There are <?= count($messages) ?> messages:<h1>
<ul>
<li>From <?= $message['from']; ?></li>
<? foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<? } else { >
<php } ?>
<h1>There are no messages</h1>
{{^messageCount}}
{{/messageCount}}
<h1>There are {{messageCount}} messages:<h1>
<ul>
<li>From {{from}}</li>
{{#messages}}
{{/messages}}
</ul>
{{#messageCount}}
{{/messageCount}}
<? $messages = $messageStore->getAll(); ?>
<h1>There are no messages</h1>
<? if (count($messages)) { ?>
<h1>There are <?= count($messages) ?> messages:<h1>
<ul>
<li>From <?= $message['from']; ?></li>
<? foreach ($messages as $message) { ?>
<?php } ?>
</ul>
<? } else { >
<php } ?>
<h1>There are no messages</h1>
{{^messageCount}}
{{/messageCount}}
<h1>There are {{messageCount}} messages:<h1>
<ul>
<li>From {{from}}</li>
{{#messages}}
{{/messages}}
</ul>
{{#messageCount}}
{{/messageCount}}
{ date: '2010-05-10',
slot: '9h - 14h' }
bookings: [
],
{ name: 'April'
… }
months: [
] ...
{ date: '2010-05-10',
slot: '9h - 14h' }
bookings: [
],
{ name: 'April'
… }
months: [
] ...
<div>
Name: <span>John Wayne</span>
Homepage: <a href="http://johnwayne.com">
<span>johnwayne.com</span>
</a>
</div>
<div>
Name: <span>John Wayne</span>
Homepage: <a href="http://johnwayne.com">
<span>johnwayne.com</span>
</a>
</div>
{
person: {
name: "John Wayne",
url : {
href: "http://johnwayne.com",
caption: "johnwayne.com"
}
}
}
<div property="person">
Name: <span property="name">John Wayne</span>
Homepage: <a property="url" href="http://johnwayne.com">
<span property="caption">johnwayne.com</span>
</a>
</div>
{
person: {
name: "John Wayne",
url : {
href: "http://johnwayne.com",
caption: "johnwayne.com"
}
}
}
{
person: {
name: "John Wayne",
url : {
href: "http://johnwayne.com",
caption: "johnwayne.com"
}
}
}
<div property="person">
Name: <span property="name">John Wayne</span>
Homepage: <a property="url" href="http://johnwayne.com">
<span property="caption">johnwayne.com</span>
</a>
</div>
{
person: {
name: "John Wayne",
url : {
href: "http://johnwayne.com",
caption: "johnwayne.com"
}
}
}
<div property="person">
Name: <span property="name">John Wayne</span>
Homepage: <a property="url" href="http://johnwayne.com">
<span property="caption">johnwayne.com</span>
</a>
</div>
{
person: {
name: "John Wayne",
url : {
href: "http://johnwayne.com",
caption: "johnwayne.com"
}
}
}
<div property="person">
Name: <span property="name">John Wayne</span>
Homepage: <a property="url" href="http://johnwayne.com">
<span property="caption">johnwayne.com</span>
</a>
</div>
{
person: {
name: "John Wayne",
url : {
href: "http://johnwayne.com",
caption: "johnwayne.com"
}
}
}
<div property="person">
Name: <span property="name">John Wayne</span>
Homepage: <a property="url" href="http://johnwayne.com">
<span property="caption">johnwayne.com</span>
</a>
</div>
{
person: {
name: "John Wayne",
url : {
href: "http://johnwayne.com",
caption: "johnwayne.com"
}
}
}
<div property="person">
Name: <span property="name">John Wayne</span>
Homepage: <a property="url" href="http://johnwayne.com">
<span property="caption">johnwayne.com</span>
</a>
</div>
<div property="person">
Name: <span property="name">John Wayne</span>
Homepage: <a property="url" href="http://johnwayne.com">
<span property="caption">johnwayne.com</span>
</a>
</div>
<div property="person" typeof="Person">
Name: <span property="name">John Wayne</span>
Homepage: <a property="url" href="http://johnwayne.com">
<span property="caption">johnwayne.com</span>
</a>
</div>
<div vocab="http://schema.org/">
</div>
Templates don’t need to break the browser by Nikolas Martens

Contenu connexe

Tendances

Web осень 2012 лекция 7
Web осень 2012 лекция 7Web осень 2012 лекция 7
Web осень 2012 лекция 7
Technopark
 
Web весна 2013 лекция 7
Web весна 2013 лекция 7Web весна 2013 лекция 7
Web весна 2013 лекция 7
Technopark
 
Topological indices (t is) of the graphs to seek qsar models of proteins com...
Topological indices (t is) of the graphs  to seek qsar models of proteins com...Topological indices (t is) of the graphs  to seek qsar models of proteins com...
Topological indices (t is) of the graphs to seek qsar models of proteins com...
Jitendra Kumar Gupta
 
Ejercicios de programacion
Ejercicios de programacionEjercicios de programacion
Ejercicios de programacion
Jeff Tu Pechito
 
News of the Symfony2 World
News of the Symfony2 WorldNews of the Symfony2 World
News of the Symfony2 World
Fabien Potencier
 

Tendances (19)

Hop ngu MIP
Hop ngu MIPHop ngu MIP
Hop ngu MIP
 
MIPS Merge Sort
MIPS Merge SortMIPS Merge Sort
MIPS Merge Sort
 
The Ring programming language version 1.3 book - Part 36 of 88
The Ring programming language version 1.3 book - Part 36 of 88The Ring programming language version 1.3 book - Part 36 of 88
The Ring programming language version 1.3 book - Part 36 of 88
 
The Ring programming language version 1.9 book - Part 55 of 210
The Ring programming language version 1.9 book - Part 55 of 210The Ring programming language version 1.9 book - Part 55 of 210
The Ring programming language version 1.9 book - Part 55 of 210
 
Web осень 2012 лекция 7
Web осень 2012 лекция 7Web осень 2012 лекция 7
Web осень 2012 лекция 7
 
The Ring programming language version 1.5.3 book - Part 46 of 184
The Ring programming language version 1.5.3 book - Part 46 of 184The Ring programming language version 1.5.3 book - Part 46 of 184
The Ring programming language version 1.5.3 book - Part 46 of 184
 
Web весна 2013 лекция 7
Web весна 2013 лекция 7Web весна 2013 лекция 7
Web весна 2013 лекция 7
 
wget.pl
wget.plwget.pl
wget.pl
 
PHP 7 – What changed internally? (Forum PHP 2015)
PHP 7 – What changed internally? (Forum PHP 2015)PHP 7 – What changed internally? (Forum PHP 2015)
PHP 7 – What changed internally? (Forum PHP 2015)
 
Topological indices (t is) of the graphs to seek qsar models of proteins com...
Topological indices (t is) of the graphs  to seek qsar models of proteins com...Topological indices (t is) of the graphs  to seek qsar models of proteins com...
Topological indices (t is) of the graphs to seek qsar models of proteins com...
 
Can WordPress really do that? A case study of vierderduer.no
Can WordPress really do that? A case study of vierderduer.noCan WordPress really do that? A case study of vierderduer.no
Can WordPress really do that? A case study of vierderduer.no
 
PyLecture4 -Python Basics2-
PyLecture4 -Python Basics2-PyLecture4 -Python Basics2-
PyLecture4 -Python Basics2-
 
Aggregation Pipeline Power++: MongoDB 4.2 파이프 라인 쿼리, 업데이트 및 구체화된 뷰 소개 [MongoDB]
Aggregation Pipeline Power++: MongoDB 4.2 파이프 라인 쿼리, 업데이트 및 구체화된 뷰 소개 [MongoDB]Aggregation Pipeline Power++: MongoDB 4.2 파이프 라인 쿼리, 업데이트 및 구체화된 뷰 소개 [MongoDB]
Aggregation Pipeline Power++: MongoDB 4.2 파이프 라인 쿼리, 업데이트 및 구체화된 뷰 소개 [MongoDB]
 
Pre-Bootcamp introduction to Elixir
Pre-Bootcamp introduction to ElixirPre-Bootcamp introduction to Elixir
Pre-Bootcamp introduction to Elixir
 
PHP 7 – What changed internally?
PHP 7 – What changed internally?PHP 7 – What changed internally?
PHP 7 – What changed internally?
 
Taking Perl to Eleven with Higher-Order Functions
Taking Perl to Eleven with Higher-Order FunctionsTaking Perl to Eleven with Higher-Order Functions
Taking Perl to Eleven with Higher-Order Functions
 
5th Sem SS lab progs
5th Sem SS lab progs5th Sem SS lab progs
5th Sem SS lab progs
 
Ejercicios de programacion
Ejercicios de programacionEjercicios de programacion
Ejercicios de programacion
 
News of the Symfony2 World
News of the Symfony2 WorldNews of the Symfony2 World
News of the Symfony2 World
 

Plus de Codemotion

Plus de Codemotion (20)

Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
 
Pompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyPompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending story
 
Pastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaPastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storia
 
Pennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserPennisi - Essere Richard Altwasser
Pennisi - Essere Richard Altwasser
 
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
 
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
 
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
 
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 - Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
 
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
 
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
 
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
 
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
 
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
 
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
 
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
 
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
 
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
 
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
 
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
 
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Dernier (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Templates don’t need to break the browser by Nikolas Martens

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. <h1>There are no messages</h1> <?php if($db->fetchOne('select count(*) from messages')) { ?> <?php $messages = $db->fetchAll('select * from messages'); ?> <h1>There are <?php echo count($messages); ?> messages:<h1> <ul> <li>From <?php echo $message['from']; ?></li> <?php foreach ($messages as $message) { ?> <?php } ?> </ul> <?php } else { ?> <php } ?>
  • 20. <h1>There are no messages</h1> <?php if($db->fetchOne('select count(*) from messages')) { ?> <?php $messages = $db->fetchAll('select * from messages'); ?> <h1>There are <?php echo count($messages); ?> messages:<h1> <ul> <li>From <?php echo $message['from']; ?></li> <?php foreach ($messages as $message) { ?> <?php } ?> </ul> <?php } else { ?> <php } ?>
  • 21. <h1>There are no messages</h1> <?php if($db->fetchOne('select count(*) from messages')) { ?> <?php $messages = $db->fetchAll('select * from messages'); ?> <h1>There are <?php echo count($messages); ?> messages:<h1> <ul> <li>From <?php echo $message['from']; ?></li> <?php foreach ($messages as $message) { ?> <?php } ?> </ul> <?php } else { ?> <php } ?>
  • 22. <h1>There are no messages</h1> <?php if($db->fetchOne('select count(*) from messages')) { ?> <?php $messages = $db->fetchAll('select * from messages'); ?> <h1>There are <?php echo count($messages); ?> messages:<h1> <ul> <li>From <?php echo $message['from']; ?></li> <?php foreach ($messages as $message) { ?> <?php } ?> </ul> <?php } else { ?> <php } ?>
  • 23. <h1>There are no messages</h1> <? if (count($messages)) { ?> <h1>There are <?= count($messages) ?> messages:<h1> <ul> <li>From <?= $message['from']; ?></li> <? foreach ($messages as $message) { ?> <?php } ?> </ul> <? } else { > <php } ?> <? $messages = $messageStore->getAll(); ?>
  • 24. <h1>There are no messages</h1> <? if (count($messages)) { ?> <h1>There are <?= count($messages) ?> messages:<h1> <ul> <li>From <?= $message['from']; ?></li> <? foreach ($messages as $message) { ?> <?php } ?> </ul> <? } else { > <php } ?> <? $messages = $messageStore->getAll(); ?>
  • 25. <h1>There are no messages</h1> <? if (count($messages)) { ?> <h1>There are <?= count($messages) ?> messages:<h1> <ul> <li>From <?= $message['from']; ?></li> <? foreach ($messages as $message) { ?> <?php } ?> </ul> <? } else { > <php } ?> <? $messages = $messageStore->getAll(); ?>
  • 26. <? $messages = $store->getMessages(); 'messageCount' => count($messages), 'messages' => $messages $model = array( ); ?> <h1>There are no messages</h1> {{^messageCount}} <h1>There are {{messageCount}} messages:<h1> <ul> <li>From {{from}}</li> {{#messages}} {{/messages}} </ul> {{/messageCount}}{{#messageCount}} {{/messageCount}}
  • 27. <? $messages = $store->getMessages(); 'messageCount' => count($messages), 'messages' => $messages $model = array( ); ?> <h1>There are no messages</h1> {{^messageCount}} <h1>There are {{messageCount}} messages:<h1> <ul> <li>From {{from}}</li> {{#messages}} {{/messages}} </ul> {{/messageCount}}{{#messageCount}} {{/messageCount}}
  • 28.
  • 29.
  • 30.
  • 31. <? $messages = $messageStore->getAll(); ?> <h1>There are no messages</h1> <? if (count($messages)) { ?> <h1>There are <?= count($messages) ?> messages:<h1> <ul> <li>From <?= $message['from']; ?></li> <? foreach ($messages as $message) { ?> <?php } ?> </ul> <? } else { > <php } ?> <h1>There are no messages</h1> {{^messageCount}} {{/messageCount}} <h1>There are {{messageCount}} messages:<h1> <ul> <li>From {{from}}</li> {{#messages}} {{/messages}} </ul> {{#messageCount}} {{/messageCount}}
  • 32. <? $messages = $messageStore->getAll(); ?> <h1>There are no messages</h1> <? if (count($messages)) { ?> <h1>There are <?= count($messages) ?> messages:<h1> <ul> <li>From <?= $message['from']; ?></li> <? foreach ($messages as $message) { ?> <?php } ?> </ul> <? } else { > <php } ?> <h1>There are no messages</h1> {{^messageCount}} {{/messageCount}} <h1>There are {{messageCount}} messages:<h1> <ul> <li>From {{from}}</li> {{#messages}} {{/messages}} </ul> {{#messageCount}} {{/messageCount}}
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68. { date: '2010-05-10', slot: '9h - 14h' } bookings: [ ], { name: 'April' … } months: [ ] ...
  • 69. { date: '2010-05-10', slot: '9h - 14h' } bookings: [ ], { name: 'April' … } months: [ ] ...
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83. <div> Name: <span>John Wayne</span> Homepage: <a href="http://johnwayne.com"> <span>johnwayne.com</span> </a> </div>
  • 84. <div> Name: <span>John Wayne</span> Homepage: <a href="http://johnwayne.com"> <span>johnwayne.com</span> </a> </div> { person: { name: "John Wayne", url : { href: "http://johnwayne.com", caption: "johnwayne.com" } } }
  • 85. <div property="person"> Name: <span property="name">John Wayne</span> Homepage: <a property="url" href="http://johnwayne.com"> <span property="caption">johnwayne.com</span> </a> </div> { person: { name: "John Wayne", url : { href: "http://johnwayne.com", caption: "johnwayne.com" } } }
  • 86. { person: { name: "John Wayne", url : { href: "http://johnwayne.com", caption: "johnwayne.com" } } } <div property="person"> Name: <span property="name">John Wayne</span> Homepage: <a property="url" href="http://johnwayne.com"> <span property="caption">johnwayne.com</span> </a> </div>
  • 87. { person: { name: "John Wayne", url : { href: "http://johnwayne.com", caption: "johnwayne.com" } } } <div property="person"> Name: <span property="name">John Wayne</span> Homepage: <a property="url" href="http://johnwayne.com"> <span property="caption">johnwayne.com</span> </a> </div>
  • 88. { person: { name: "John Wayne", url : { href: "http://johnwayne.com", caption: "johnwayne.com" } } } <div property="person"> Name: <span property="name">John Wayne</span> Homepage: <a property="url" href="http://johnwayne.com"> <span property="caption">johnwayne.com</span> </a> </div>
  • 89. { person: { name: "John Wayne", url : { href: "http://johnwayne.com", caption: "johnwayne.com" } } } <div property="person"> Name: <span property="name">John Wayne</span> Homepage: <a property="url" href="http://johnwayne.com"> <span property="caption">johnwayne.com</span> </a> </div>
  • 90. { person: { name: "John Wayne", url : { href: "http://johnwayne.com", caption: "johnwayne.com" } } } <div property="person"> Name: <span property="name">John Wayne</span> Homepage: <a property="url" href="http://johnwayne.com"> <span property="caption">johnwayne.com</span> </a> </div>
  • 91.
  • 92.
  • 93.
  • 94.
  • 95.
  • 96.
  • 97. <div property="person"> Name: <span property="name">John Wayne</span> Homepage: <a property="url" href="http://johnwayne.com"> <span property="caption">johnwayne.com</span> </a> </div>
  • 98. <div property="person" typeof="Person"> Name: <span property="name">John Wayne</span> Homepage: <a property="url" href="http://johnwayne.com"> <span property="caption">johnwayne.com</span> </a> </div> <div vocab="http://schema.org/"> </div>