ChicagoBoss Project Structure

ChicagoBoss is really neat.

One thing I’m swinging toward though in relation to project layout is to keep the ChicagoBoss-<Version#> at the dir structure. A lot of the tutorials talk about renaming to ‘ChicagoBoss’.

I’d see the benefits of keeping the version number as follows:

  • Easier to upgrade
  • Easier to test with different versions (including rollbacks)
  • Less repo activity on a ‘ChicagoBoss’ dir
  • Exceptions thrown for wrong CB version are very difficult to figure out

Remember the hook for ChicagoBoss dir is in your projects ‘boss.config’ file. Change to something like

{path, "../ChicagoBoss-0.8.6"},