Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Low-Code for the Node.js Developer

Low-Code for the Node.js Developer

Node-RED is a low-code development tool, that lets you quickly build applications by dragging components into a workspace and wiring them together to represent the logical flow of events. It can be an invaluable tool for developers of any experience and can be, for Node.js developers in particular, quick and easy to extend. This talk looks at what low-code development is, why it’s interesting for Node.js developers and cover some design principles for making good Node-RED nodes.

Nick O'Leary

July 28, 2020
Tweet

More Decks by Nick O'Leary

Other Decks in Programming

Transcript

  1. @knolleary Low-Code for the Node.js Developer Low-Code for the Node.js

    Developer July 2020 Nick O’Leary, @knolleary Open Source Developer Node-RED Project Lead
  2. @knolleary Low-Code for the Node.js Developer 1st Generation Machine Code

    0100 0011 0110 0110 1010 1110 1001 0011 1010 1110 1001 0011 0100 0011 0110 0110 0110 0110 1010 1110 1001 0011 0100 0011 1110 1001 0011 0100 0011 0110 0110 1010 0100 0011 0110 0110 1010 1110 1001 0011
  3. @knolleary Low-Code for the Node.js Developer 2nd Generation Assembly Languages

    MOV AL, 1h ; Load AL with immediate value 1 MOV CL, 2h ; Load CL with immediate value 2 MOV DL, 3h ; Load DL with immediate value 3 MOV EAX, [EBX] ; Move the 4 bytes in memory at the address contained in EBX MOV [ESI+EAX], CL ; Move the contents of CL into the byte at address ESI+EA MOV DS, DX ; Move the contents of DX into segment register DS
  4. @knolleary Low-Code for the Node.js Developer 3rd Generation Fortran, COBOL,

    ALGOL, C, Java, Python, JavaScript, Go, Ruby, C++, C#, Swift if (parsedArgs.define) { var defs = parsedArgs.define; try { while (defs.length > 0) { var def = defs.shift(); var match = /^(([^=]+)=(.+)|@(.*))$/.exec(def); if (match) { if (!match[4]) { var val = match[3];
  5. @knolleary Low-Code for the Node.js Developer Handle errors with grace

    Attempting to resume normally after an uncaught exception can be similar to pulling out the power cord when upgrading a computer. Nine out of ten times, nothing happens. But the tenth time, the system becomes corrupted.
  6. @knolleary Low-Code for the Node.js Developer Have empathy for your

    users Make it intuitive Have sensible defaults Choose what can be controlled dynamically Be forgiving Handle errors with grace Be consistent
  7. @knolleary Low-Code for the Node.js Developer Low-Code for the Node.js

    Developer July 2020 Nick O’Leary, @knolleary Open Source Developer Node-RED Project Lead