w00t, just got the major refactor branch of NodeKit (github.com/small-tech/nodekit) running the Hello Count example for the first time.

Been refactoring the hell out of NodeKit recently to take it from prototype to maintainable app.

Nice to have a little win.

Now to find all the other things that are no doubt broken :)

#NodeKit #SmallTech #NodeJS #server

in reply to Aral Balkan

NodeKit refactor details

Besides the goal of having everything nicely encapsulated and unit tested, the major difference in this refactor is that the production and development servers have separate loader and main processes.

The prototype was a real jumble and littered with conditionals. Once I start working on the dev server I’ll likely pull out some common base functionality but my goal is to keep the production server as simple as possible.