BRJS should support some sort of override mechanism for require paths, HTML templates, and other stuff. How exactly this would work needs to be figured out, but what I want as a feature is:
Have some sort of config, where I can say app/something/Foo -> app/custom/something/Foo. Which would mean, that wherever app/something/Foo is required, BRJS would actually return app/custom/something/Foo. Same goes for HTML templates, XML stuff, etc.
The HTML/XML bit could be done entirely client side, but I would prefer a unified solution.
There are several reasons for doing this. One major PITA is when people take our apps and customize them. This ties our hands behind our back as it's hard for us to then make changes. And it's also hard for people to customize our apps, as they have to deal wit merges on every upgrade.
Let's have a discussion about this next week.
BRJS should support some sort of override mechanism for require paths, HTML templates, and other stuff. How exactly this would work needs to be figured out, but what I want as a feature is:
Have some sort of config, where I can say
app/something/Foo -> app/custom/something/Foo. Which would mean, that whereverapp/something/Foois required, BRJS would actually returnapp/custom/something/Foo. Same goes for HTML templates, XML stuff, etc.The HTML/XML bit could be done entirely client side, but I would prefer a unified solution.
There are several reasons for doing this. One major PITA is when people take our apps and customize them. This ties our hands behind our back as it's hard for us to then make changes. And it's also hard for people to customize our apps, as they have to deal wit merges on every upgrade.
Let's have a discussion about this next week.