Drupal Camp London 2019 on 1-3rd March was a great event - here's my take away notes from the sessions I went to.
Keynote with Rowan Merewood - Google
Rowan is a Developer Advocate for Google Chrome and the web.
How to build a roadmap
I'm researching about roadmaps; what they are and best practice for creating them. I have developed some in the past for work but not with any great understanding of whether on the right track, but luckily I have learned quite a lot about writing them from that experience.
How I did this
Identified my actors - basic users and advanced users. Also had a column for all users. This was because the next step was to add the needs of the users popcorn style, and I knew that I would be repeating a lot of needs that spanned across all users.
This is a nice step by step re. getting local repo to deploy to remote server using a git Hook:
If you make a copy of a string, number or boolean, the copy is not going to update when you change the original. However if you do the same with an array, this is just a reference so it will update the copy if you assign the array new variable.
To actually make a copy of an array - that wont then be modified by the changes made to the original - call slice against is which will return the whole array, i.e.:
const team2 = players.slice();
OR make a new array and concat the copied array into this one:
const team2 = .concat(players);
- Use data-set within html to create nice tidy objects you don't have to cache before using.
- Pipe is alt gr, shift and backslash on linux and shift shift backslash on windows.
Download node.js from https://nodejs.org/en/ (download recommended version). This should also download npm (node package manager).
The GUI did work but I had to close and re-open the command prompt in order to see that.
Check that npm has been installed with npm -v.
Nav to correct directory and go through npm init.
npm will have created a bunch of files - the package.json file will appear in the directory.