Back to Coding Standards and Practices
- Updated Route Parameters and Query Parameters.
- Changed layer requirements to only attempt to parse string values to their target type.
- Updated The Promise Constructor vs. The Deferred Pattern.
- Renamed to Promisification Options and The Deferred Pattern.
- Added
fromCallback
and improved examples.
- Updated Empty Result vs. Not Found.
- Fixed code examples to actually follow our coding standards.
- Updated Empty Result vs. Not Found.
- Added rationale for why not-found errors must be generated in the controller layer.
- Added Private Functions In Modules.
- Renamed Using
require
In Node to Usingrequire
In Node.js. - Updated
use strict
.- Removed the first sentence with SHOULD to simplify and clarify the intention.
- Updated Promise Structure.
- Changed "Promises MUST NOT be structured in this way." to "Promises SHOULD NOT be structured in this way." to explicitly allow for more flexibility in promise structuring.
- Updated Route Parameters and Query Parameters.
- Added missing require for
validation
.
- Added missing require for
- Updated DAL Layer.
- Added missing require for
validation
.
- Added missing require for
- Updated Promise Structure.
- Added a section on conditionally executed subordinate promise chains.
- Updated DAL Layer and Controller Layer
- Moved responsibility for string-to-type conversion from query/param inputs to controller layer.
- Removed references to that kind of validation and conversion from DAL layer.
- Indicated that DAL layer should almost always perform strict type validation.
- Fixed some more description-then-example ordering.
- Added Route Parameters and Query Parameters.
- Explains motivation and execution of string-to-type conversion in the controller layer.
- Updated SQL Query Formatting and Execution.
- Added some more notes about composing queries.
- Inverted the example/description order to place the example below the description.
- Changed
===
and!==
to Equality Operators===
and!==
. - Updated Single-Quoted Strings.
- Added back-ticked string information.
- Added Truthy and Falsy.
- Added Casting To Boolean With
!!
and!
. - Updated Accessing Globals.
- Added more information about ES6 Promise overwriting.
- Added Logging Errors.
- Added Promises.
- Moved Promise Structure into Promises.
- Added The Promise Constructor vs. The Deferred Pattern.
- Added The Explicit Construction Anti-Pattern.
- Added Starting A Promise Chain.
- Added HTTP Verbs.
- Added Single-Quoted Strings.
- Added Indentation Character.
- Added
===
and!==
. - Added Identifier Naming.
- Updated Accessing Globals.
- Split content up in to server-side and client-side sections.
- Added Promise Structure.
- Added Data Retrieval.
- Added Pagination and Sorting.
- Added Validating the
sortby
Parameter. - Added Transactionalized SQL.
- Added To Do section to track future work.
- Added introduction and link to RFC2119.
- Added Header Comment.
- Added
use strict
. - Added Accessing Globals.
- Added Using
require
In Node. - Added Using
parseInt
. - Added Constructing and Raising Errors.
- Updated Route Layer.
- Added more middleware information.
- Updated API Documentation.
- Added links to other wiki pages.
- Updated Controller Layer.
- Simplified and clarified final catch block.
- Added Empty Result vs. Not Found.
- Initial commit.