wordpress continuous maintenance
TRANSCRIPT
PowerPoint-presentasjon
WordPress continuous maintenance
x1
WordPress in business critical applications
x2
Olaf lindstrm
linkedin.com/in/olaflindstromtwitter.com/[email protected]+46 706 10 67 81
Olaf lindstrmlinkedin.com/in/olaflindstromtwitter.com/[email protected]+46 706 10 67 81
4
WordPress in business critical applications
x5
Thinking of using WordPress in business critical web pages? This talk will guide you on what to consider before you start and also give hands on tips on how to create a workflow that makes it possible to rollback releases, orchestrate PLUGINS/WordPress, Manage dev/QA/prod environments, and how to maintain servers in a automated way. At the Jnkping office WordPress group we've packaged this into a "product" which we will also give a short presentation on.
Thinking of using WordPress in business critical web pages? This talk will guide you on what to consider before you start and also give hands on tips on how to create a workflow that makes it possible to rollback releases, orchestrate PLUGINS/WordPress, Manage dev/QA/prod environments, and how to maintain servers in a automated way. At the Jnkping office WordPress group we've packaged this into a "product" which we will also give a short presentation on.
Thinking of using WordPress in business critical web pages? This talk will guide you on what to consider before you start and also give hands on tips on how to create a workflow that makes it possible to rollback releases, orchestrate PLUGINS/WordPress, dev/test/prod environments and how to maintain servers in a automated way. At the Jnkping office WordPress group we've packaged this into a "product" which we will also give a short presentation on.
Thinking of using WordPress in business critical web pages? This talk will guide you on what to consider before you start and also give hands on tips on how to create a workflow that makes it possible to rollback releases, orchestrate PLUGINS/WordPress, Manage dev/QA/prod environments, and how to maintain servers in a automated way. At the Jnkping office WordPress group we've packaged this into a "product" which we will also give a short presentation on.
Thinking of using WordPress in business critical web pages? This talk will guide you on what to consider before you start and also give hands on tips on how to create a workflow that makes it possible to rollback releases, orchestrate PLUGINS/WordPress, Manage dev/QA/prod environments, and how to maintain servers in a automated way. At the Jnkping office WordPress group we've packaged this into a "product" which we will also give a short presentation on.
Thinking of using WordPress in business critical web pages? This talk will guide you on what to consider before you start and also give hands on tips on how to create a workflow that makes it possible to rollback releases, orchestrate PLUGINS/WordPress, Manage dev/QA/prod environments, and how to maintain servers in a automated way. At the Jnkping office WordPress group we've packaged this into CARE OF WP which we will also give a short presentation on.
some considerations
- IS it worth it?
- do clients want it?
- investing in capital struture?
Yes its worth it!Unique advantage on WP marketMinimize risksShorter release cycles
USP with having a good dev workflow!
No fear of releasing, really nice!14
Yes, clients want it!Experienced clients?Inexperienced clients?Will it cost?
Experienced clients or larger companies will probably understand why its good to have a professional way of doing things.
Inexperienced clients or small businesses will be happy that their site breaks less often, even if they dont understand why
Really small clients might not be worth the while to work for15
Yes, we want capital structure!Documented and good processesLess error proneNo more GLHF to new employees
A capital structure makes it easier for new employees as well as colleagues to join in on the same project.
It makes it possible to document workflows in a better way.
No more GLHF!16
create a workflow
different tools
vagrantCreate and configure lightweight, reproducible, and portable development environments.
Create and configure lightweight, reproducible, and portable development environments.19
AnsibleAutomated server provisioning for development, staging & production parity.
Ansible is an IT-automation tool that makes it possible to manage servers and their software. It also supports things like deployment and rollbacks.
Ansible works like chef or puppet and uses playbooks to configure and setup different software.
20
ComposerDependency Manager for PHP
This is how we will handle plugins, WordPress core etc.
Think Node Package Manager but for PHP!
21
use the wp-community
We didnt want to invent the wheel ourselves when theres a vivid community around WordPress. So we started looking at alternatives.22
Scotch BoxOnly a development environmentLAMP-stackMany tools
Scotch Box is a preconfigured Vagrant Box with a full array of LAMP Stack features to get you up and running with Vagrant in no time.
It doesnt give you things like server configuration/automation, deployment etc.23
Scotch Box serverUbuntu 14.04 LTSPHP 5.6Ruby 2.2.xVimNodeNPM
Server config/basic software24
Scotch Box dbMySQLPostreSQLSQLiteMongoDB
Some DB stuff25
Scotch Box TOOLSGruntBowerYeomanGulpBrowsersyncPM2WP-CLI
Some node stuff26
Scotch Box summaryLeave the XAMP-swamp forever!Good environment for multiple PHP-platforms:LaravelWordPress
But no deployment/server configuration!
Some node stuff27
Varying vagrant vagrantsFocused on WordPress developmentLEMP-stackSetup with:WordPress stableWordPress trunkGood for plugin/theme creators
Varying Vagrant Vagrants is an open source Vagrant configuration focused on WordPress development.
VVV is ideal for developing themes and plugins as well as for contributing to WordPress core because of its nightly versions.28
VVV serverUbuntu 14.04 LTSPHP 5.5ApacheOpcache
Server config/basic software29
VVV dbMySQL
Some DB stuff30
VVV toolsWP-CLIgrunt-cliPHPMyAdminNodeJS
Some node stuff31
VVV summaryLeave the XAMP-swamp forever!Good environment for WordPress developersTesting plugins/themes before release
But no deployment/server configuration and with LAMP-stack!
Some node stuff32
bedrock and trellisCreated by roots.ioOpen sourceMany contributors/users
We choose Trellis together with Bedrock, both created by a team called Roots.33
Ansible playbooks for setting up a LEMP stack for WordPress.
Ansible works like chef or puppet and uses playbooks to configure and setup different software.34
trellis - SERVERUbuntu 14.04 LTSNginxPHP 5.6 or HHVMMemcached, Fail2ban, ferm etc.
We choose Trellis together with Bedrock, both created by a team called Roots.35
trellis - DBMariaDB
We choose Trellis together with Bedrock, both created by a team called Roots.36
trellis - TOOLSWP-CLIsSMTP
We choose Trellis together with Bedrock, both created by a team called Roots.37
Bedrock is a modern WordPress stack that helps you get started with the best development tools and project structure
38
Bedrock - StructureChange /wp-content to /appMove WP Core to /wp
We choose Trellis together with Bedrock, both created by a team called Roots.39
Bedrock DEPENDENCY MANAGEMENTComposer to manage WordPress Core, plugins (and themes)
We choose Trellis together with Bedrock, both created by a team called Roots.40
bedrock and trellis -SummaryTargeted for WordPress on VPSBlazingly fast LEMP-stackGives dev/staging/production parityHandles deploymentPlugin/WP-core management
Meant to be used with WordPress, nothing else.
Really fast with micro caching at the easie of setting it to true and time period.
Deployment and rollbacks with Ansible.
Keepdevelopment,staging, andproductionas similar as possible41
Folder structure on our projects42
Folder structure on our projects
43
Deploy:./deploy.sh
Rollback:ansible-playbook -i hosts/ rollback.yml --extra-vars="site=
Setup a new server:ansible-playbook -i hosts/ server.yml
Folder structure on our projects
44
Folder structure on our projects
45
bedrock and trellis -what we dont getDeploying databasesTest routinesCentralized CI-server
46
Care of WPPackaged WordPress maintenance
We choose Trellis together with Bedrock, both created by a team called Roots.47
Maintainand take care of hostinga high performancea high level of security by updating
We choose Trellis together with Bedrock, both created by a team called Roots.48
Refineby working with contentby measuring with Analyticsby analyzing measured data
We choose Trellis together with Bedrock, both created by a team called Roots.49
Developnew functionalitynew sites
We choose Trellis together with Bedrock, both created by a team called Roots.50
small, medium, largeDefined packagesSmall 3h/monthMedium 9h/monthLarge 17h/monthX-Large Custom
We choose Trellis together with Bedrock, both created by a team called Roots.51
tasksWordPress updatesPlugin updatesUptime/transaction monitoringEmail/Phone supportContent updatesEtc.
some tips along the wayDo things the WordPress wayAvoid Plugin hell, as it will give you headache later onHosting should never be shared, use a VPS/Dedicated machineHave a plan to maintain WordPress core as well as plugins, could be part of your service management agreement.
ven allmna saker att tnka p med:Frstudie/effektkartlggningAnalys/mtning av kvalitet
Personalisering I WP kontra t.ex. Epi eller Drupal/Sitecore53
Linksolaflindstrom.se/kdsroots.ioPodcastTutorialsDiscourse forumWordPress-utveckling on Facebook
goo.gl/E5F3X7
Ive gathered some links. Make sure to visit them, you can also find a lot of good things on their site and discourse forum.54
Olaf lindstrm
linkedin.com/in/olaflindstromtwitter.com/[email protected]