Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Shipping WordPress Projects Like a Boss12:26 with Hristo Pandjarov
Learn which are the latest trends in WordPress workflow optimization: automation of repetitive tasks with WP-CLI; safe development using a staging environment; easy collaboration with GIT, the use of child themes etc. This session is sponsored by Siteground.
[MUSIC] 0:00 I make WordPress themes, both for 0:01 site ground, and in my spare time I'm 0:06 really involved into making tools to help our 0:11 customers at work at WordPress to feel more 0:16 comfortable, improve their workflow and so on. 0:21 And I've spent quite a lot of my time to try to make improvements 0:28 in our customers and friend's sites in terms of speed optimizations. 0:33 So today I'm gonna talk about, shipping WordPress sites like a boss. 0:39 So I'm, what I mean by that is, WordPress gives a really, really easy for 0:44 people that are not experts and have not 0:51 stumbled upon big projects to create something good. 0:53 And, but there are quite a lot of things that they can improve in their work flow 0:58 so they can ship faster safer and eventually better projects. 1:03 What we try to promote to our customers and the way we come up 1:10 with new, new services is is based on the idea that we want 1:15 to, to promote better workflow and to educate the more 1:20 novice WordPress users about the possibilities, about the 1:25 different ways they can improve their, their way of creating 1:30 new websites. 1:36 So, to begin with if you're making a WordPress 1:38 themes either for selling them on a store like Team Forrest, or 1:43 a building a new team from scratch for one of your customers. 1:49 Using WordPress frameworks is one of the things that 1:55 are great great starters to implement in your workflow. 1:59 They give you a lot of a lot of advantages and the 2:03 first and mo, and most important one is probably the, they are properly 2:06 called the backbone of the WordPress team structured files, so that you 2:11 don't have to think about, a missing text page or file for example. 2:15 They give you a lot of pre-made functionality that you don't have 2:21 to make from scratch over and over again, like options say pi, send 2:26 Some of them even take part of your styling into the framework, actually, 2:32 there isn't exact border between frameworks and paritimes. 2:38 I'll talk about paritimes a bit later, some frameworks, 2:42 they include a piece of design, take for example 2:46 take the responsiveness of your site so you can 2:49 take advantage of that or not depending on your needs. 2:51 And finally, most of them are really much better 2:55 documented than, than anything I've ever done in my life. 2:58 So, even people that work on big projects, big websites and corporate sites, they 3:01 tend to slack when things reach the part they have to make proper documentation. 3:08 So one of the most important most famous WordPress 3:16 frameworks that work great, that have been tested by 3:18 a lot of people, recommended by a lot of 3:21 influential people in the WordPress community, are the Genesis Framework. 3:23 There are some people at iThemes they have the so-called theme iThemes Builder, 3:28 which is really nice framework, it gives you a lot more than simple. 3:32 Call structure and get this [UNKNOWN] framework. 3:36 So if you're starting to go into WordPress maybe considering 3:41 developing teams those three are a great way to start. 3:47 The first two are premium frameworks so you 3:50 have to pay for them and Gantry is free. 3:53 A lot of people when they put for example, a lot of people create WordPress 3:59 websites by initially purchasing premium themes or 4:04 downloading something free and they start modifying it. 4:08 Unfortunately there, there is not many people that use child and parent themes 4:12 correctly, WordPress has this great great way of loading teams. 4:17 So, you can create a foreign team and 4:23 then another one which acts like a completely separate 4:25 team, but it inherits the oh, everything that 4:28 you don't want to overwrite from the parent team. 4:31 So, if you start something new, if you just want to tweak existing 4:34 premium theme, or even if you want, if you have created your own theme that 4:40 you use as a frame work basically, or as a parent theme, it's a, it's a 4:45 great way of working to start utilizing child themes in your work flow. 4:50 It saves you a lot of time, it saves you a 4:56 lot of pain later in the future, because if if at some 4:58 point you decide to create update due to your parent team 5:03 probably fix a bug, something that'd you'd notice later on if you. 5:07 If you are using child themes, it's much easier to fix this issue in 5:13 the parent theme and just release an update, and, you can update that then. 5:16 You don;t break all of the sites that are, are based on that parent theme. 5:20 And, on the other hand, if, if you don't use child themes you'll basically 5:27 have to go and manually make those fixes on every place that, that's necessary. 5:32 So, they save a lot of time, and really 5:36 improve the, the way you maintain your worker sites. 5:40 Staging environments, are great, using the staging 5:46 environment is really nice thing to have 5:50 and to make a habit of using, 5:53 unfortunately not many people are, are doing this. 5:55 Staging your environment is basically a full 6:00 blown of your website working from another URL. 6:02 That you can now use to test new things, 6:05 new designs before you shift them to your website. 6:07 [INAUDIBLE] a static environment gives you a lot 6:10 of flexibility to test out new features, you don't 6:13 have to, you don't have to make any checks 6:17 whether you're showing some content to a specific user. 6:20 And you don't have to worry about that,uh, your visitors will 6:24 see some design that's not ready to the, to the public audience. 6:27 And finally, it's really great to trouble shoot problems using a 6:32 staging environment because you can, output 6:36 variables play stops, whatever you want. 6:38 Just try things out without concerning at all that someone 6:42 will see a warning or error message or stuff like that. 6:45 Version control systems I think that most of you are familiar with version control 6:51 and most of the people that work in design or development teams they have to do it. 6:57 But even if you are a freelancer, if you're starting a pro, project all 7:04 by yourself teaching yourself to use a version control system is a great thing. 7:09 Because there's not only the team cooperation benefit that you get 7:14 from it, and there's a lot more to that to get obviously versions. 7:20 But you get e, a very easy way to to reverse to a simple, to a certain 7:25 time where your, your website has been working a different way. 7:32 You, you can reverse to any point if you're [INAUDIBLE] basically. 7:38 And using portion control she teach yourself to work 7:42 with teams so, eventually one day you start to 7:45 working with foreign people it will be much easier 7:48 for you if you have already been using that before. 7:51 Another thing that's been unfortunately neglected by people working 7:57 with WordPress websites is the maintenance, once you, you build a 8:03 website your responsibilities to it actually doesn't end right away. 8:08 Maintaining your, your sites based on WordPress 8:14 and pretty much any other CMS, it's really 8:18 important, and you can do, there are quite a lot of useful tools out there. 8:21 I have a list of few of them on the next slide that you'll probably find useful. 8:28 It's important to keep a regular mainta, maintenance on fewer websites to keep 8:32 the WordPress core updated of the plugins just to avoid the security issues. 8:36 To introduce a regular database optimizations. 8:42 They're really nice tools, like, double PCOI which 8:45 is common to an either face for WordPress. 8:49 You can you can do pretty much everything that you 8:53 can on the applications back-end, but on a regular shell comment. 8:56 So it's like using [UNKNOWN] to connect to your server, 9:00 and it's great because you can connect it to different 9:05 scripts that you made and use it mostly for maintenance stuff 9:10 In addition to that they are a lot of tools out there, that provide 9:16 you with easy way to maintain your WordPress website even if 9:21 its one or more than one. 9:25 You have tools like ManageWP, MainWP, and InfiniteWP, they're not very 9:27 creative when it comes to naming their stuff, but those tools are great. 9:34 They basically give you a dashboard that you can add all of your WordPress 9:40 installations, no matter whether they're hosted on 9:44 one server, or on different hosting providers. 9:47 And we can see at advance that for 9:49 example, this website needs an update for something. 9:52 That you have five new comments that you have 9:56 to reply to on the other website and so on. 9:58 And finally, there's backupbuddy, it's amazing product 10:02 and it's developed by the guys from iTEAMS. 10:06 They it does back ups, [LAUGH] but, it can be used 10:09 if you want to transfer your website from one place to 10:13 another, so, even if I have backups for, provided by your 10:17 hosting company it's a great idea to have an alternative to those. 10:22 And BackupBuddy's a really, great program that does this for you. 10:27 Some wor, a few words more about backups it's really nice 10:33 to have, a hosting provider that gives you a lot of, backups. 10:37 But you, should always try to make more of them, make more, 10:42 like, make local copies, try to back up on a separate server. 10:45 I won't talk a lot about back up site, you, you guys should know 10:50 that they're really important and we often think about them after things go wrong. 10:54 So, it's kinda good thing to start thinking 11:00 about backups and how you're gonna backup those 11:02 sites and how often you need to do 11:04 that the moment you start working on that project. 11:06 So,as a final advice I can say a few 11:09 things, the first one is don't talk very [UNKNOWN]. 11:13 I mean all those things are really nice but, 11:18 you need to take them to the exact case. 11:21 So, if you're building a small website about your work or 11:24 church or school community, you don't 11:27 need to schedule database maintenance, performance. 11:29 well, optimization on a daily basis you don't need to 11:33 back it up on five different locations and stuff like that. 11:36 Just try to 11:39 to scale things, depending on your actual project. 11:42 And if there is one thing that I believe is 11:46 really, really important is that you need to teach yourself 11:49 to make to adopt new habits, to add new things 11:53 to your day to day routine, to your work flow. 11:57 Because there are a lot of things that can 12:00 really improve the way we create and publish new projects. 12:03 But there is no use of them if you just know about 12:07 them, that they exist, you have to implement that in your work flow. 12:09 You have to start using them so there is any benefit. 12:13 That's pretty much everything I have to say, so if you 12:17 have any questions, I'll be more than happy to answer you. 12:21
You need to sign up for Treehouse in order to download course files.Sign up