Menu

#230 Improve Node.js tutorial examples

open
nobody
None
5
2012-09-08
2012-09-08
Jira Trac
No

I've received a feedback from a user who wants to use CUBRID Node.js driver. He says that at first sight, the example displayed in [README.md|https://github.com/CUBRID/node-cubrid/blob/master/Readme.md] on Github looks like spagetti.

He understands that calls follow *waterfall* flow, but since there are so many callbacks, the code simply looks not readable.

I'd like to suggest to change extract the callback function in a separated named functions. This would at least make it more readable.

We could also create an example which shows how to use CUBRID Node.js driver with [async|https://github.com/caolan/async] module.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.