Moresoda & EECMS
• Default install
• Git Version Controlled
• Customised config
For multi environment support
• Beanstalk
Deployments & Team Migration
• 3 Environments
Development, Staging, Production
Bootstrapping EE - Carl
Crawley
Today 16:30
Tuesday, 16 October 12
Slide 7
Slide 7 text
Moresoda & EECMS
GOOD
Development Staging Production
Initial Setup
Tuesday, 16 October 12
Slide 8
Slide 8 text
Moresoda & EECMS
PROBLEMS
Development Staging Production
Continuing Development
Staging Production
Development
Tuesday, 16 October 12
Slide 9
Slide 9 text
EECMS & the Web Agency
New Techniques
Example
Adding a blog to an existing site
Tuesday, 16 October 12
Slide 10
Slide 10 text
Adding a blog - Files
Development Staging Production
Templates
Addons
Git & Beanstalk Git & Beanstalk
Tuesday, 16 October 12
Slide 11
Slide 11 text
Adding a blog - EECMS Creation
Development Staging Production
Field Group
Channel
Categories
Field Group
Channel
Categories
Field Group
Channel
Categories
Tuesday, 16 October 12
Slide 12
Slide 12 text
Adding a blog - The Problem
Development Staging Production
Client
Data
New
Features
Tuesday, 16 October 12
Slide 13
Slide 13 text
EECMS & the Web Agency
New Techniques
Data Migration
Solutions today
Tuesday, 16 October 12
Slide 14
Slide 14 text
Data Migration
Duplicate on each Environment
via Control Panel
1
Tuesday, 16 October 12
Slide 15
Slide 15 text
Data Migration
Migrate entire DB after each
environment file update
2
Tuesday, 16 October 12
Slide 16
Slide 16 text
Data Migration
Migrate relevant database tables
3
Tuesday, 16 October 12
Slide 17
Slide 17 text
Data Migration
Staging and Production share the
same database
4
Tuesday, 16 October 12
Slide 18
Slide 18 text
Data Migration
Update production first, migrate
database downwards
5
Tuesday, 16 October 12
Slide 19
Slide 19 text
Data Migration
?
6
Tuesday, 16 October 12
Slide 20
Slide 20 text
EECMS & the Web Agency
New Techniques
Examining the Problem
10,000 mile view
Tuesday, 16 October 12
Slide 21
Slide 21 text
The pieces
Data
Communication
Sites
Overview
Compare
Data
Security
Tuesday, 16 October 12
Slide 22
Slide 22 text
A Solution
Site Manager
Tuesday, 16 October 12
Slide 23
Slide 23 text
Demo
Site Manager
Tuesday, 16 October 12
Slide 24
Slide 24 text
Site Manager
• 2 x ExpressionEngine Modules
Client & Server
• Powered by RequireJS & AMD
RequireJS-for-EE Extension
• 2.1+ Compatible
Tuesday, 16 October 12
Slide 25
Slide 25 text
Site Manager
• Async Javascript Communication
• Local & public environment support
• What your browser sees, it sees
Regardless of installation location
Tuesday, 16 October 12
Slide 26
Slide 26 text
Site Manager
• AES Encrypted Communication
Decrypt/Encrypt on the fly
• Public / private key
Regenerate to deny existing credentials
• Super Admins only
• Protected by EE Security Sandbox
• Child sites retain freedom control
Tuesday, 16 October 12
Slide 27
Slide 27 text
The pieces
Data
Communication
Sites
Overview
Compare
Data
Security
Tuesday, 16 October 12
Slide 28
Slide 28 text
Demo
Site Manager
Tuesday, 16 October 12
Slide 29
Slide 29 text
Site Manager
• Compare any two environments
Live data - compare as you work
• Synchronise Data & Settings
Channels, Fieldgroups, Fields, Categories
• Fault tolerance
Native EE methods used where possible
• License & version review
Tuesday, 16 October 12
Slide 30
Slide 30 text
Availability
Tuesday, 16 October 12
Slide 31
Slide 31 text
Availability
Today
alpha
Tuesday, 16 October 12
Slide 32
Slide 32 text
Availability
Today
Free
alpha
Tuesday, 16 October 12
Slide 33
Slide 33 text
Availability
Free
Tuesday, 16 October 12
Slide 34
Slide 34 text
http://github.com/ckimrie
Availability
Free
Tuesday, 16 October 12
Slide 35
Slide 35 text
EECMS & the Web Agency
New Techniques
Future
Where to from here?
Tuesday, 16 October 12
Slide 36
Slide 36 text
Future
• Testing
• Fieldtype extension hooks
• Entry migration
• APIs for third party data transfer
• One click login improvements
• Styling improvements
Tuesday, 16 October 12
Slide 37
Slide 37 text
EECMS & the Web Agency
New Techniques
@chrisimrie
github.com/ckimrie
[email protected]
Thank You
Tuesday, 16 October 12