the
making
of kit.nl
@LucP
WP Meetup
Eindhoven
25 februari 2019
Image: KIT
"Heb je zin om van
zeven WordPress sites
één WordPress site te
maken?"
- Peter van Grieken, Maart 2018
@LucP
@LucP Image: Wikimedia Commons
December
2018
Koninklijk 

Instituut voor de
Tropen
- Research
- Training & coaching
- Development programs
- Studies & Scholarships
- Conferences & Events
@LucP
@LucP Image: Wikimedia Commons
Gutenberg
@LucP Image: Wikimedia Commons@LucP Image: Vidar Nordli-Mathisen,

Unsplash
Accessible
Dus:
- Gigantische content
uitdaging
- Gigantische backend
uitdaging
- Gigantische frontend
uitdaging
- Gigantische interne
uitdaging
- AUB nét na de vakantie
live 😬
@LucP
"Yikes"
- Luc Princen, April 2018
@LucP Image: Caitlin Russell
"Coolcoolcool!"
"Wat verwachten we
aan problemen tegen
te gaan komen?"
@LucP
@LucP
Accessibility Gutenberg
@LucP
Accessibility Gutenberg
@LucP
Blind 78.000
Slechtziend 238.000
Kleurenblind 700.000
Doof en slechthorend 1.300.000
Fysieke beperking 1.500.000
Dyslexie 825.000
Laaggeletterd 1.500.000
Totaal 4.000.000
@LucP Image: Ian, Unsplash
Lees
baar
heid
@LucP Image: Elijah O'Donnell
Leesbaarheid
More about us More about us
Huisstijl Website
Contrast
@LucP
Semantische
HTML
VS
@LucP
<div class="flex-md-row mb-4 shadow-sm h-md-250">
...content
</div>
<section class="overview overview--news">
...content
</section>
VS
Schaalbaarheid
@LucP
text-format +175%
Leesbaarheid:
- Kleurcontrast
- Formaat &
schaalbaarheid
- Semantische HTML
- ALT-tags
- Content
@LucP
@LucP Image: Tyler Lastovich
Gebruikers-
gemak
Skiplinks
@LucP
Lees meer...
VS
@LucP
Lees Meer
<a href="#" class="read-more button">
Read more
</a>
<a href="#" class="read-more button">
Read more 

<span class="visuallyhidden">about <?php the_title();
</a>
VS
Focus
states
@LucP
Nifty
Stuff
@LucP
@media (prefers-color-scheme: dark) {
color: $color-offwhite;
}
/* MacOS dark-mode support: */
if( isset( $_SERVER['HTTP_DNT'] ){
return $_SERVER['HTTP_DNT'];
}
/* Do Not Track mode support: */
&
Gebruikersgemak
- Skiplinks
- "Lees meer..."
- Focus-states
- Do Not Track & Dark
mode
- Laadtijd
@LucP
Google Lighthouse meting, 6-11-2018@LucP
Resultaat:
Accessibility Gutenberg
@LucP
BLOCK!
BLOCK!
BLOCK!
BLOCK!
BLOCK! BLOCK!
BLOCK!
@LucP
Drie keer raden...
@LucP
BLOCK!
BLOCK!
BLOCK!
Yep!
@LucP
Seperation
Of
Concerns
@LucP
Data
Vorm
Functie
WordPress
@LucP
Data
Vorm
Functie
😕
Gutenberg
@LucP
Data
Vorm
Functie
(Backend, want React)
Custom Blocks KIT
page-break
container
intro
links
hero
subtitle
home-intro
read-more
related
collection
staff-collection
staff-publications
publications
collection-filter
studies-collection
vacancies-collection
expert
service
publication
contact
partners
testimonials
media
checklist
room-layout
room-specs
possibility-block
banner
faq-list
taxonomy-menu
page-menu
sidebar
text-button
@LucP
@LucP
Seperation
Of
Concerns?
BLOCK!
BLOCK!
BLOCK!
BLOCK!
BLOCK! BLOCK!
BLOCK!
@LucP
Gutenberg frontend:
@LucP
(Frontend)
- Weinig query-opties
(alles in één table cell)
- Data + templates door
elkaar
- Veel backend errors
@LucP
Layout
Areas
@LucP
Main content
Sidebar right
Sidebar left
Related posts
@LucP
HTML
Parser:
Kit:Container
InnerBlocks:
WP:heading
WP:linklist
Title
Links
Link
Link
Link
Link
HTML:
<aside>



Sidebar
<section>

Tekst
<article>
Content
<header>

titel + intro
<footer>

related +

further links
<section>
<section>
<section>
<section>
<footer> (page)
<header>
@LucP
Layouts
@LucP
Post-type, voor
herhalende elementen.



Opgehaald in één query
Cookie melding
Header
Footer
Search
Filter
404 links
@LucP
Resultaat:
Data Vorm Functie
Custom database column Maatwerk WP template Gutenberg Parser
@LucP
Resultaat:
Data Vorm Functie
Makkelijke queries 100% themable Volledige controle
Danku!
@LucP
Zijn er nog
vragen?
Image: KIT

More Related Content

PDF
The Making of KIT
PDF
Block the System
PDF
Block the System - building blocks in Gutenberg
PDF
PDF
Block the System - building blocks in Gutenberg
PDF
Ditch Your Framework!
PDF
Ditch Your Framework! - Magical layouts with modern css
PDF
An imposters journey through "real" development
The Making of KIT
Block the System
Block the System - building blocks in Gutenberg
Block the System - building blocks in Gutenberg
Ditch Your Framework!
Ditch Your Framework! - Magical layouts with modern css
An imposters journey through "real" development
Ad

Making of Kit.nl