xForum icon indicating copy to clipboard operation
xForum copied to clipboard

Code rewrite

Open SlashmanX opened this issue 12 years ago • 0 comments

Just a general issue for code rewrites. Changes to be made:

  • Code should be more modular
  • Less templating in Javascript (socket functions)
  • File/folder structure made clearer
  • JSDocs (#24)
  • Clean up database connections (Currently there are 3, should only be 1)
  • Better error-handling
  • Less 'callback-hell'
  • Consistent callback returns i.e. callback(err, result)

The above list is not exhaustive

SlashmanX avatar Nov 22 '12 14:11 SlashmanX