Returning to coding 10 years later. A lot has happened.

As you get older (I'm 80) your brain slows down. This is a well-known fact. The defence against this is to keep it active and learn a new skill.  I tried a new language (Spanish), but it turns out that if you are really bad at languages in your youth you are God-awfully bad in later years. So, I turned to something I did have a talent for - coding. 

As we were stuck indoors anyway, courtesy of Covid, I thought I would update my knowledge of JavaScript, and something called Node. 

JavaScript is a coding language that is used to program web browsers like Edge or Chrome. It is called JavaScript because when it was developed there was a hot new coding language called Java, so they thought they could get some of the hot-ness to rub off on them. The script part is because it was a scripting language - which normally means something very basic as language go. It has moved on a lot since then and it now a full-blown coding language.  So, the name is a total misnomer; it has nothing to do with Java and isn’t a scripting language anymore.

Until 2010 or thereabouts, JavaScript only ran in web browsers. So, to create a website you needed two coding languages - a ‘traditional’ language (like Java or Perl) on the web server and JavaScript in the browser. 

 In 2009 a guy called Ryan Dahl created Node.js, a system for running JavaScript on the web server. This means you have the same language throughout the system which has got to be a good idea. 

So, this has been my goal - learn JavaScript and Node.js. The result is here:

SUDSJS has grown to a serious database support system allowing users to create, update, delete and search information. I tested it with MySQL, SQLite, PostgreSQL and MongoDB. I have done enough with CouchDB to convince me that it will work.  I took a shot at Firestore - it didn't go well.  

No comments:

Post a Comment