Your thoughts on modularization


#1

I’ve just started the process of laying the foundation for a large ember application. The application will have quite a few functionality modules that can be enabled or not and will have to deal with quite a messy API. Lots of fun adapters and serializers to develop.

I want to make the application as modular as possible and so far using “ember addon” seems to work great for that. Here is what I think I want to do.

Every model, adapter, serializer will be its own ember addon without auto-merging anything into the host application.

I’m creating special ‘use’ addons that will group those addons and take care of merging them into the host application by providing an ‘app’ folder.

The possibilities seem endless here. Modularizing CSS, templates, API versions, etc. Any thoughts?


#2

You should read the Engines RFC