JavaScript Promises

According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise , A Promise is an object represents the eventual completion (or failure) of an asynchronous operation and its resulting value. Think of it like a normal promise you give to someone. You may be working on something and a friend is interested in the outcome. I expect the conversation goes something like Paul : Hey John, could […]

MySQL Stored Procedure

Stored procedures are not very commonly used. I worked for a while before i had to write my first stored procedure. They weren’t exactly hard but they weren’t easy too. So what are stored procedures? The technical definition is A procedure (often called a stored procedure) is a subroutine like a subprogram in a regular computing language, stored in database. […]