programsam / binkjs

Music archival site BINK, rewritten as a Node.js express app
0 stars 1 forks source link

Refactoring #120

Open programsam opened 3 years ago

programsam commented 3 years ago

For example, at the moment, there’s a separate Processing method for looking up tracks for an admin because the view lookup method adds them to a jam object… it was too difficult to make that work with how I needed to query tracks for the admin. But there’s a myriad of examples across the code of this.

Typical coding principles: code reuse. Simplicity. Convenience.

programsam commented 1 month ago

All the database accesses have been moved to processing lib. There’s still plenty of other work to be done on this point. Organizing the client-side JavaScript, for example.