I am making my own node js structure and i am using express for http server. I also saw few other structures like loopback and sails.js They are also assigning some objects to global
. So i am little bit confused about it that if i will make app global will it make any problem like security base performance base or any other issue with this way.
Before marking it negrive please mention the reason in comment so that I will not repeat this mistake again Thank you
via 9me
No comments:
Post a Comment