languages in the Stack Overflow survey for the past seven years.
The language has grown beyond its roots as a simple scripting language for the web, and with the help of frameworks like React is today used to build graphical user interfaces for web and mobile apps, as well as to create server-side software running in a Node.js environment. It can even be found in software controlling IoT appliances thanks to the flow-based development tool Node-RED.
Experts are not what they know but what they do.
OK then, I want to learn Laravel the O’Reilly “Head First” way. Kathy Sierra came up with the idea when she started writing books on Java around 2003: Kathy says: you don’t focus on the tool, you focus on making the user of the tool awesome.
So how does one make the user awesome? One breaks the subject matter down into small lessons, and repeats them alot, to achieve a fast learning flow.
Also using whole-body techniques– Splash! Wake me up with a tiger to get my attention.
I was working on figuring out how to log ftp scripts, and discovered how to use a remote file: .netrc to store usernames and passwords. So I’m going to have to apply that to a number of scripts in the DigitalSignage program I’m working on. Hmmm, which makes me realize I’m doing the same for the main RETS library I’m accessing!
Then I randomly clicked on a YouTube “Tech Code” channel and watched a guy describing how he accidentally hard-coded a password into his program, and saved it to git–thereby uploading it to anyone who has access to the source code. Yikes!
The solution to hard-coding usernames and passwords into programs that get moved about is to use an environmental file: .env (for python or laravel for instance) that stores the either local or remote (test / production) settings. Of course!