vim, git, aws and other three-letter words

Software Development Notes

Tag: js

Node.js error ECONNREFUSED ::1:4723
Node.js: localhost connection error ECONNREFUSED ::1:4723 in node 17 and node 18.
There Is No Callback Hell In JavaScript
There is no callback hell in JavaScript; there is badly written code.
Node.js: debug a mocha test
How to debug a mocha test with node inspector
Node.js: how to get core module source
How to see the core node.js module source code.
JS libraries for charts (links)
A list of JS libraries for charts and other data visualizations.
Angular.js: POST data to PHP
How to read Angular.js POST requests in PHP, on the server side or by sending form-encoded data from the client.
Angular.js and SEO, pre-render content on the server
How to improve SEO for an Angular.js app.
Want Scalable Application Architecture? Check AngularJS.
The Scalable JavaScript Application Architecture by Nicholas Zakas, frameworks built on it, and why AngularJS is close to it.
Yii and jquery.localtime.js: display dates in user local timezone
How to keep UTC dates on the server with Yii and show them in the user's local timezone with the jquery.localtime plugin.
jQuery: global ajax response handler and jquery.localtime plugin
How to convert dates to local time in all ajax responses with a jQuery ajax prefilter and the jquery.localtime plugin.
Express.js and EJS: reuse template on server and client
Two ways to use the same EJS template for rendering on the Express.js server and in the browser.