We have just rolled out the Blunt umbrella site for the US in conjunction with the Tile launch. https://www.thetileapp.com
This US build was also part of a larger infrastructure setup to cater for the other markets.
We first deployed the US site. Shortly there after the NZ and Global site.
USA: bluntumbrellas.com/us
NZ: bluntumbrellas.com/nz
Global: bluntumbrellas.com
The site had some interesting challenges with the type of content that was to be displayed within a single page. For example every content page is a Basic Page.
Site Features:
Mega Menu
Background Video
jQuery UI
Several Sliders
Drupal Commerce
Picture and Breakpoints
In this talk I'll cover:
Business needs
Site and platform architecture
Theming
Picture and Breakpoints module
Hover state menu
Drupal Commerce
Memcache Gotha
2. WHO AM I
• Gareth Hall (gareth@communica.co.nz)
• Lead developer at Communica (communica.co.nz)
• Consulting
• Drupal, Laravel, Codeigniter, Symphony
3. SITE REQUIREMENTS
• Responsive / Device Smart
• Large Imagery
• Immersive Experience
• Modern Commerce Experience
• Global Enforced Branding
• Scalable and Adaptable
• Multi Country
• Multilingual
• Multi Currency
• Selectable Product Range
• Country Specific Shipping
Provider
• Deadline 3 Weeks!
4. BIGGEST CHALLENGE
HOW?
• Multi Country
• Multilingual
• Multi Currency
• Selectable Product Range
• Country Specific Shipping Provider
• Country Specific Stock
5. WE DIDN’T TRY
• Used a multisite setup
• Base Blunt Theme (Platform
Level)
• Base Blunt Module (Platform
Level)
• -
• Each site is their own entity
• Database
• Files
• Theme is required
• Modules if required
13. VARIABLES
• Variable should be named to describe it’s intent
$text-grey: #5a5b5e;
$text-color: $text-grey;
$link-blue: #008fd7;
$link-color: $link-blue;
15. CSS WEB COMPONENTS
• It’s encapsulated and reusable CSS components for your
theme
16. HOW
• Filename should match a class, id or element.
• Try to use the SRP (single responsibility principal)
• Meaning the file scope should be small and relevant to
only the parent selector.
18. PAY OFF
• Ruby compiles pretty fast
• Reduces bloat
• Very readable
• No disinformation
19. PICTURE AND
BREAKPOINTS
• Picture module will deliver alternate image sources based
on device capabilities to prevent wasted bandwidth and
optimise display for both screen and print.