 Fel gyda nhw, dyna arlai, sydd ydych chi'n meddwl i'r ffordd. Felly rwy'n meddwl, roi'n meddwl Felly rwy'n meddwl i'r sicr i hyn o ddwyngodol Ac yn ddwy'r brood pobl teulu, felly dynnu i'r rhoi'r rhoi teulu A'r bobl cofnodol yn ddechrau ein ysgol iawn i gyrthdoedd ac eich wrthredag ac ydw i ei adydddon ond mae'n meddwl y bynnag, ond mae'n meddwl y gwasanaeth i gael i gael i gael eich bwnnig, i gael i'r cwlau'r cyd-dweithio, i gael i'r cyd-dweithio, a'n gallu gwneud weithio cael ei gael i'r cyflogau. Yn modd ymlaen chi, rydw i chi ddweithio i gael i gael i gael i gael i'r cyflogau? Yn cael ei gael i'r cyflogau a'r cyflogau a'r cyflogau i gael i'r cyflogau?ancing. ëCause I think we're in this sort of catch-22 situation where developers haven't got a lot of experience and they're not getting a lot of experience because businesses aren't quite prepared to go for it. I'm quick slide for start, just to say you could be in other great talks and quite frankly I wish I was in any other one than this one. But if you're not sure you're in the right talk, this one's about migrating to Jubilate. There's other really good talks there, at least a couple I would have like to have gone to. Y little bit about me seem to be essential. When we do these talks I'm a freelancer contractor, I've worked at enterprise level stuff for a few years, some of you or quite few of you may know me through, various companies, digital agencies I've worked with as well. dylai'r bwrdd drwpl dda wedi gyrincio'r bwrdd drwpl 28 yn y lleidio'r bwrdd drwpl 5 yn ymlaen o'r bwrdd drwpl 6. Felly rwy'n meddwl gyda'r bwrdd drwpl 5, ond maen nhw'n fagorol yma, ond dwi'n gwybod hi'n gwybod, ond erbyn fod yn ymlaen i'r bwrdd drwpl 6 o'r bwrdd drwpl 7, ond wedi gennym i'r bwrdd drwpl 8 o'r bwrdd drwpl. Rwy'n gwneud am y gweithio arweinydd ym 1999, rydych chi'n gofynnwch ein modd a'r bwrdd arall, ac that was probably my fault as well, but I've been developing I mean I started my career in Wilbur, the Stone Age, way back. So you know I've been doing CC++ Java development before that also quite an active number of the community so many of you may or many of you know me through beth dyweddo'r cwm, cefnod, ateb, ac allwch. Yn y gallu amser dw i'r gwaith, byddwn yn gweithio'r adnodd yn ysgrifennu. Felly, yn y prag, yn 2013, y Prif Ynysgrifennu, byddwn yn gwneud bod y maen nhw'n cyhoeddenu'n gwneud i mi. Mae'r adnodd wedi cael ei bod yn gweithio â'r adnodd yn gweithio'r adnodd. A'r adnodd yn ysgrifennu. If we needed a bit of motivation to think why do we need to get on to Drupal 8, then if we're still on Drupal 6, literally in the last week or so we will have, if you look at your current updates required for your Drupal 6 site, it's the first time I've ever seen a screen go quite like this but suddenly on the 24th of February the required basically everything went unsupported, Drupal 6 is now officially unsupported so you get an entire red screen and that should have frightened a few people if they've still got Drupal 6 sites up and running. That should be good enough motivation. At the same time the security team were good enough to release critical core security issues and on the day when I first saw this it wasn't obvious whether they were going to patch Drupal 6. In fact I assume they weren't which is what made me really scared. But the truth is they had been working on some of these patches for a few weeks in advance and the really good news is at least the critical issue here which was to do with file uploads and the ability to use them badly maliciously was that they've got a patch for that so Drupal core was patched. There were also patches for file, somebody is tweeting aren't they? There's patches for chaos tools, patches for views, panels, as well as the file field was the main security update but there were other updates as well. So it's good to see that even though Drupal 6 is officially no longer supported there have been a few patches keeping it alive for a little bit longer. There's obviously a lot of people who care about it. So the preliminary is for this. What we're starting off with is the assumption that we're working from a Drupal 6 or 7 site. The migrate module in Drupal will happily allow you to migrate from other systems but I'm not really going to go into that today. I'm not going to go into it at all. When we're migrating from a previous site we will always do a survey of what we've used our previous site in the way of contributing modules to see when they're up to date to see whether a new version is available. Drupal 8 is currently in a state where some of the most important modules have gone into Drupal 8 core so we're in a good state from the perspective of those. There's a top 10 set of modules most of which are fairly well down the path of being imported to Drupal 8 at this stage. There are one or two that aren't there. Webforms is one that I've come across which everybody is shouting out for and it just needs that extra work to make it happen. As well as the contributed modules you obviously need to assess any customisation you've done in your old site and what you need to do in order to move that forwards. I'm not going to go into how you move forward to custom code a lot although we'll mention a module that's a great help with that. Step 0 is clearly to install your Drupal 8. Well actually it's not clearly because when we went from version 6 to version 7 and prior to that there were upgrade paths that tried to in place upgrade your entire Drupal and I believe the Drupal 5-6 kind of worked. Drupal 6-7 didn't really work very well and a lot of people expected it to work but there were too many problems really. Drupal 7-8 was never planned to work in that way so there was never a plan to say here's my Drupal 7 site, I just run the update script and suddenly it'll be turned into a Drupal 8 site. As many of you will know Drupal 8 has changed the foundational layer, the underlying framework to Symphony 2 and to be honest Drupal 8 is fundamentally different in many but probably half the code base has been changed since Drupal 7. It's the biggest step change that Drupal has ever gone through. It's been five years in the making and there's good reasons for that because we waited a long while for it but there's so much to change that we've learnt lessons from that and in the future we won't do such big changes all in one go. Anything else there? So the final tagline there is there are some very powerful tools that help to make the job not necessarily easy but plausible and depending what your current site is you're trying to migrate from it may be relatively easy, there's probably going to be some snacks both in terms of at the moment certain modules are not available and there's going to be some things to work through soon. I think all of this is caveats to all of this. We would love the path to be completely smooth, it's not quite ready yet in some certain respects but it's coming and if we all work together we can make it happen sooner rather than later. So what are the tools of the trade? Many of you I hope will be familiar with Drush from previous versions of Drupal and the good news is Drush is still there. Everything you could do with Drush previously works pretty much the same. There's a few little changes like where we used to say Drush CC all to clear the cache we know Drush CR for cache rebuild. There's some changes inside Drupal 8 that improve the way in which caching works but the essence of it is Drush is still there. If you have a server or an installation, I will make all of these slides available later by the way and there's links against all of these which take you to more information. We'll follow some of these links just to get there but there's lots of information attached to these slides. So Drush is still there if you've got a server or a local instance and you've got Drush installed globally, you will need to upgrade Drush to Drush 8. If you've got one of the older versions of Drush that happily work with Drush 7 it's not going to work with Drush 8. There was a stage earlier in the Drupal 8 cycle where Drush 7 would work with it but that has gone along the way as well. The new key on the block is something called Drupal console. I think I've got some more details on these as we go through them so perhaps I'll move on. My grade upgrade is what I'll hopefully be able to demonstrate a bit of which is actually how we migrate the content from our existing sites and the module upgrade. My grade upgrade is available for both Drupal 6 and Drupal 7 sites to bring data and configuration through to your Drupal 8 site. Module upgrade is about helping you to update existing custom functionality and it's not the complete answer but it does some really useful stuff in a lot of the legwork of converting modules from Drupal 7 but it's only available for Drupal 7. There's been no attempt to do that to bring custom functionality from Drupal 6. I've got a bit of a rough throw. Is there a water supply anywhere about a chance? I don't know if there's something outside. Would you mind? Thank you. I can just tell it's going to go before we finish at this rate. Drupal console, it was originally developed not as a replacement for Drush and to some extent you can use both and there's an overlap between them but they have slightly different purposes but it was originally developed simply for generating boilerplate code for the new Drupal 8 modules but it's extended way beyond that and now there is this significant overlap. In fact I think from Drupal console you tend to call Drupal console on the command line just as Drupal so there's actually a command where you say Drupal, Drush, whatever so you can run Drush commands from Drupal console and probably vice versa for all I know. The two are slightly competing I think because the Drupal console has been extended to cover much more but in many ways Drupal console is the new way forward it's based much more on the Drupal 8 approach and so I think as developers get more used to it a lot more will be done with Drupal console rather than Drush if you're used to using that. Actually can I just get a sort of show of hands of how many people are first of all how many people are developers versus site builders so how many people are developers how many people have called themselves more site builders ok 50-50 a few more developers great and how many people have had a chance to do something with Drupal 8 great plenty of movement there how many people would like a chance to do something with Drupal 8 why are people not putting their hands up? so my great upgrade is based on the my great module that Drupal had in Drupal 7 and it's just going to click on one or two of these links I forgot to sort out my wifi before we started right I'm not going to click on one or two of these links quite yet ok back to my great upgrade my great upgrade is the my great module which was a contributed module for Drupal 7 but part of the Drupal 8 initiative has been to bring that into core nearly my great has been brought into core but it's still under a category of experimental so it's not completely released there's also I need to get some internet access sorted out sorry it's the house internet working apologies for this that might be the problem so I'll be tethering here very quickly it probably has the council last year we're going out of the network no no no city guest yes let's go to city guest and see let's go to the password I think it's c1 something it's about arsenal yes sorry guys there's jim edition there's jim type there's jim type sorry about this I should have sorted this out sooner there's a very short gap between the is this the keynote even me I had to sorry guys maybe I want to take a vote whether arsenal was supposed to win maybe we can talk about it that's not the one we need see if my hotspot is there but the phone is not going to win I think because let's go to this one I want to yeah I want to remove this one but it's not that's good let's remove this where is the other one it's not there city guest so let's try to click advanced and then you remove the yeah that one yeah let's just remove this yeah yeah yeah yeah we need to unlock it sorry I can unlock it yes unlock that is that to see my seal pin for your card sir can we try that can you borrow your card let's remove that one maybe maybe we can talk about arsenal the sparse now that's terrible you know yeah I think I should just thank you actually what I was considering doing how are we doing for time at the stage now we haven't got time for that there's module upgrade is the tool that will help you to take custom modules from Drupal 7 and convert them into a Drupal 8 form and if you go to the page which will be linked on to the slides there's a great little 5 minute video by Webchick done at some previous conference or event I think Webchick can explain more in 5 minutes than I could explain in an hour so I suggest you follow it up I wasn't considering showing it but I don't think we've quite got time for that at the moment so my great upgrade is the tool is the tool for getting data from a Drupal 6 or 7 site data and configuration this is a big step up from what my great did in Drupal 7 where it was really just doing data and the configuration side of things you had to do separately the mistakes I made when I first tried to do some migration was I set up a Drupal 8 site and I set up my content types and I added all the fields I wanted and then tried to do the migrate and what I actually found was there were a whole heap of conflicts because when I ran the migration the the new Drupal 8 migrate actually tried to create extra fields or duplicate fields and had to rename the fields to prevent collisions so one thing to remember when you try and run the migrate upgrade is don't set up your content types in most of your configuration first the bit that I'd like to try and demo which if it goes as well as we've gone so far isn't going to show too much I can't actually see my command bar on the side ok here's a local version of my nasty old Drupal 6 site that I I didn't do the design for this but I rebuilt it in Drupal about a hundred years ago or something this is a Drupal 8 installation and I have literally only done Drush DL of Drupal 8 and then I've downloaded one additional module the migrate is the core migration functionality which can be applied to pulling from Drupal or can be applied to just like in Drupal 7 it can be used for migrating from other systems WordPress or anything else custom you build my great Drupal is what Drupal 7 used to call Drupal to Drupal migration so this is the new code that does the Drupal configuration the only thing I've added I've pulled in with a Drush download is the Drupal upgrade which confusingly is actually called Migrate Upgrade as the module so we basically have a completely clean Drupal 8 installation and I'm going to just enable I only need to enable that one because it's dependent on the others so this will automatically enable the Drupal Migrate module Migrate Upgrade and my great upgrade is actually it's a very thin user interface which gives you virtually no options but just does everything for you in one long in one not even very long so we need to go to the path upgrade that's good upgrade is just as interesting and it gives you a bit of general feel but all you really need to do is continue from there and what it's now asking to do is give the minimum information this can be run from a Drush command as well but give the minimum information which simply allows you to connect to the database of the old Drupal installation the way in which you access that will obviously depend where your Drupal installation is I've got a local copy of the database here pulling from that old Drupal installation is read only so it's not going to touch the database there, it's not going to destroy anything it's not going to interfere with it or add any log tables or anything to the old site so it's safe as far as that's concerned I've got a so I enter the host, it's my SQL I enter the host database name which I try and pull the data from this site it's called mysteries just to prove my security on here I'm using the root login with no password even the rot the glasses are for a purpose aren't they this was actually a multi-site on Drupal 6 so I do have a refix on this and then this final bit is in order to allow my great to get hold of the files you can either pull them from the local if you've got private files you only have one option you have to pull them from a local file folder but if you've got if you haven't got any private files you can actually pull them from a site out there on the internet somewhere but as we know that's even more reliable so there he is that should pull them from the files folder of that Roman Mysteries site first step after this is to review and this is probably one of the most interesting pages while there's very little to set up this gives you feedback on basically every module that it's finding in the Drupal 6 site that it's so it's already looked at my Drupal 6 site had a look to see what's there and it's going through that site and saying there are all these things that I don't know what to do with so I think there's somewhere up here was and this doesn't sound too healthy in a sense because it's saying that there's only 16 of the modules that in the Drupal 6 site that it knows what to do with and 36 it doesn't know what to do with it's not quite as bad as it sounds but certainly there are some missing areas that are still being worked on C tools for example I haven't installed while a lot of the functionality of C tools has moved into core little bits of C tools that are available available as a contributed module but I don't think I mean on this particular this is a very simple site and it's probably not using anything in C tools that I care about you might have set some some devil stuff up with devil generate for example you know we don't care too much about that sort of stuff Google Analytics is an interesting one this is actually an old version of the Google Analytics library there are some newer versions so again you'd probably decide to trash that and use the newer versions of Google Analytics modules a lot of the image resizing stuff oh and look we've got the nasty old IMCE WYSIWYG so we probably want to trash that and use the new Drupal 8 stuff anyway WYSIWYG again we don't need the sorry can you see what's on the screen there we don't need the WYSIWYG module that we used to have in Drupal 6 because Drupal 8 does that out of the box it also this module is actually so quiet in terms of what it's doing that it even hides away the things it can do you know it's kind of making a big noise about the things it can't do but actually it hides away the things it can do so it's going to happily bring across block configuration comments if we had any content including the fields watchdog database log filters text filters it'll bring across the menu it's an awful lot more than was handled in the Drupal 7 version of the Migrate module which was primarily just data just content obviously bring across all the nodes all the paths taxonomies it's fantastic really how much it is covering so we'll say perform the upgrade I've talked too long because actually the process itself is really incredibly quick it's a very simple module with only a few settings but actually it's doing a huge amount under the limit five more minutes is that including Q&A or whatever we're doing with Q&A okay this will finish in the next few seconds spoiler alert when we look at the site that's been created unfortunately at this stage it doesn't look anything like the original site we've done absolutely nothing in the way of bringing across the theme for example and to so extent if you're upgrading from a Drupal 6 site to a Drupal 8 site you almost certainly will be trashing the theme anyway because your Drupal 6 site was almost certainly not responsive and used ancient technologies that you don't really want to be using so there's a fair chance you're going to have to rewrite or integrate with a new nice responsive theme which is one of the big features of Drupal 8 there's another little issue which if we edit the homepage we have got content in here but as you saw there was absolutely nothing showing on the homepage and the reason for that is somebody thought it was a good idea to put some PHP code in so we had a PHP filter and one of the things with this migrate module is that it really hates the PHP filter for very good reasons and it's one of the issues that is highlighted as a current issue that it will replace the PHP code filter with something called filter null which simply doesn't bother displaying your content so if you use PHP code I'm led to believe it is possible to install PHP filter as a contributed module I haven't tried that and if you do that it should then work if you really have to have PHP in your content not a good idea really but I believe the solution to this is you simply have to re-save the content and drop that filter null or possibly you have to take that filter null out of the image style we're running out of time so I think I'm not going to have time to actually go through that with at this stage let me just go back to my slides to finish off the last few minutes sorry this has been a bit rushed and not everything has worked quite as expected I put on these slides a whole heap of a whole heap of resources so when I make the slides available you may have done the obvious thing which is to google and found lots of useful stuff but the other thing when you google is you find lots of stuff which might have been useful two years ago but actually things have changed a bit since then I found some lovely how to build a module stuff on SitePoint for example but it's out of date so some of the stuff is wrong and not very helpful Drupal8.org slash 8 is of course the best place to look for everything is the starting point theapi.drupal.org is now by default Drupal8 but there's lots of great stuff on there and the other really useful place to look is on any particular contributed module there should be a status message at the bottom saying whether or not it's been ported to Drupal8 and if not it attaches it to an issue where they will discuss what's the outstanding issues what things are that's holding it back and should really tell you the status Books is a bit of a many of us maybe books are old fashioned these days but many of us learnt Drupal6 and previous versions from Drupal7 for previous versions with some good books there's a lot of books in the pipeline but most of them at this stage haven't actually quite been published I was going to flick down Amazon to just look at if you do a search on Drupal8 on Amazon what you'll find is there's a couple of books that are available the configuration management book is available but most of them say due for release I know the main module development book said initially would it be released last December but now it's said it will be released in about April maybe May something like that so books should be a good resource once they're there but most of the useful books aren't quite published yet may not be published until at least June some of them there's lots of good blogs around too many to mention though that link actually goes to the blog which is pretty useful Drupal8 Theming Guide is a lovely site that takes you through all the Theming side of things it's not my area of expertise but I think there's another talk later this weekend on Tweek which is if you haven't been to a Tweek talk well worth going to there's lots of YouTube playlists put up by the Drupal Association in particular Barcelona I recommend simply because it's got so many videos Barcelona DrupalCon it's got so many videos and it's the most recent DrupalCon that's been I know there was a DrupalCon in Asia but from what I've seen there aren't many videos available from that quite yet for some great video tutorials OS Training have had a scheme where they've been sponsored to create 200 free videos Drupalize me I've got quite a lot and then there are a few there are probably lots of sites out there with lists of really useful stuff my personal friends at Drupal Cafe Nick sitting in front here runs Drupal Cafe over a period of the last year or more has put together all the links you can ever find on Drupal8 and that's a great resource and my final point was simply going to be to say while my experience on getting started with Drupal8 has been quite limited just this week I've started with Christian Aid on the contract and last year they made the decision they're porting from some nasty old ASP.net system to and they were porting to Drupal7 but they haven't got very far with it and actually since I started this last week we made the decision to move to Drupal8 instead which I think is great news obviously I'll get some more experience but I think there's lots of really positive reasons why moving to Drupal8 is the right solution especially if you've got a development team who aren't very experienced in Drupal which is the case with Christian Aid because they're not wasting Drupal7 experience I'm over time now great, we'd better get going then so I'll just say thank you I will make the slides available by one method or another later thanks very much