Skip to content

flatline01/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node testing

=====

Basic node testing and learning. Nothing remotely interesting here.

01/16/18 - Lets add a router, and start setting up mvc. 01/17/18 - Should have some basic templating set up. Not sure if this is the best way. Continuing to learn more about the basics of the node system.

02/02/18 - lets add express, as that seems to already have the routing baked in. We'll use pug for view rendering, bodyParser to GET posted variables. We're going to add knex and the mysql connection.

02/06/18 - more stuff to add to the boilerplate. bodyParser doesn't handle multipart forms, like at all. so lets use express-formidible.

02/11/18 - async database calls are terrible. knex is pretty ok, but complex database transactions get cought in callback hell or endless promises. reference counting, maybe? or add more glue from npm.

Could probably handle the db calls easier with any given backend language, but then i "wouldn't learn node the right way", according to one opinionated blog. This seems silly... 20 hours getting node to do something that it doesn't specialise in, or 10min in php. Still need to learn the node way tho...


Links/info used, in no particular order

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published