Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
WWW Platform - Modern Landscape
Search
Adrian Aguirre
October 20, 2014
0
36
WWW Platform - Modern Landscape
Adrian Aguirre
October 20, 2014
Tweet
Share
More Decks by Adrian Aguirre
See All by Adrian Aguirre
WWW Platform - Legacy Landscape
adrianaguirre
0
43
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
740
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
[SF Ruby Conf 2025] Rails X
palkan
1
760
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
87
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.4k
Faster Mobile Websites
deanohume
310
31k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
120
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
The Spectacular Lies of Maps
axbom
PRO
1
530
Transcript
WWW Platform _modern landscape
[ ingredients ]
[ wp-multisite ]....
letʼs us manage multiple wordpress sites through one admin network.
video - create subsite
giveʼs LifeLock teams the ability to manage their own page
creation.
video - create page from template
giveʼs LifeLock teams the ability to manage their own page
content.
video - manage page content floodlight tags editable background images
editable text- tfn, cta, copy
giveʼs LifeLock teams the ability to manage press releases
video - manage press releases
giveʼs LifeLock teams the ability to manage upcoming events
video - manage upcoming events
WWW subsites / - Manage WWW /education - Manage ID101
/pr - Manage Press Releases
WWW Campaigning subsites /dm - Digital Marketing /offers - Partner
/rn - DM / Right Now
with every adventure, there comes some challenges
[challenge]
[optimization]
page speed
code redundancy
scalability
[ ingredients ] we need more
[ sass ] [ sass ]....
css files are getting larger.
more complex
harder to maintain
this is where [ sass] comes in..
[sass] letʼs us use features that don't exist in CSS
yet
variables, nesting, mixins, inheritance and others
video - sass globals: typography, extensions, sprites?
using pre-processed css enhances our ability to...
ACHIEVE OUR PERFORMANCE GOALS
to be optimal, we need to be modular.
the importance of modular architecture
helps with code convention, easier to leverage global elements
ships to QA/QE quicker. easier to debug
focuses on detail
mitigates regression
using sass, json, and html templating....
we can create reusable [modules]
[mySQL] a mutual relationship [ php] [json ]
get data faster?
several server calls [ ] mySQL] [ php
one call & cached?
this is where [ json & php] comes in..
[ php][ json]....
create a json controller
None
execute json using wp-api
wp-admin
[json ]
this is where { mustache } comes in..
{ mustache }....
Mustache? What?
Mustache is a simple logic-less template engine.
template : * {{ name }} * {{ age }}
* {{ company }} * {{{ company }}}
Use key => value to associate data to template
data : array( 'name' => "Chris", 'company' => '<b>GitHub</b>', );
output: * Chris * * <b>GitHub</b> * <b>GitHub</b>
only create a few html templates
data drives the view,
better performance
What does the final flow look like?
json_api_controllers curl json-api parse for mustache bind to mustache template
data defines pageview WordPress / mySQL browser render end-user content input < < < <