CodeIgniter Forums
nodejs tips and tricks - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3)
+--- Thread: nodejs tips and tricks (/showthread.php?tid=71660)

Pages: 1 2 3 4 5


RE: nodejs tips and tricks - ignitedcms - 09-28-2018

So I just deployed nodejs onto my production server and it was a breeze. Plesk really makes it simple, you just have to install Passenger's Phusion module first.
The only thing is there aren't any error messages logged to the web browser like on localhost. Still investigating.

Almost ready to wrap up this MVC framework.


RE: nodejs tips and tricks - ignitedcms - 09-28-2018

Asynchronous Programming
Hi guys, just wanted to post a useful practical example of async programming as this is the most difficult concept to wrap your head around. The video is really clear and helps understand how it works talking about

#1 Callbacks
#2 Promises
#3 Async await

https://www.youtube.com/watch?v=PoRJizFvM7s


RE: nodejs tips and tricks - ignitedcms - 09-30-2018

Found a useful image processing lib with no external dependencies

https://www.npmjs.com/package/jimp

Dompdf - pdf generator
https://www.npmjs.com/package/express-dom-pdf