I’ve been tasked to design and create a large javascript application, which will involve the effort of several developers across a very large codebase.
I have perfectly in mind how to design the backend to respect my goals, but I can’t imagine how to realize a modular frontend.
I would prefer very much to stay with Blaze, and my questions are:
How do I create a modular frontend?
How do I let modules inject dependencies for the front end?
Can anyone suggest me any book or resource on the topic of modern javascript application design?
The only issue I’ve run into while trying to do this is, if you have one application that feeds into another via user impersonation. There’s no elegant solution to going back and forth between them. In my example, I have an admin app, where the admin will from time to time need to log in to the user application as a different user. It works if the application is the same, if they’re two different apps, it’s much harder.