Open dchambers opened 10 years ago
Don't you prefer calling the last one 'ko-component' (a library that allows vanilla 'knockout' to be used inside a BRJS Component), instead of 'knockout-component'? To keep it concise and cohesive?
@andyberry88, @dchambers Lately all libraries coming with BRJS are preceded with a 'br-'. Therefore, I came up with new suggestions for the names: 1) br-ko 2) br-BRJS-ko 3) br-presenter-ko 4) br-component-ko
1) is the basic knockout library 2) is the BRJS compatible version of the knockout library 3) is the Presenter compatible version of the knockout library 4) is the knockout version ready to be used as part of a BRJS component
What do you think?
ko
library isn't a BRJS library, it's a vanilla knockout, it should probably be renamed knockout
though.br-BRJS-ko
doesn't make sense. The br-
prefix says its a BRJS library, so the BRJS
isn't needed here.br-presenter-ko
and br-component-ko
could potentially become another 'class' inside of the respective library if knockout isn't expected to be used directly for these libs.Maybe we need to discuss this whole change on a call.
We definitely need to make a call for that one. Seems like there is a different understanding of these components among the team members.
I'd prefer the ko
library to remain named as-is. The benefit we get from renaming it is outweighed by the faff we have to go through to fix example apps and docs. The library exposes a ko
variable so require( 'ko' )
makes sense.
All in IMO.
We've decided to do the following:
ko
(the untainted version of knockout) will be renamed knockout
knockout
name otherwise it will be left as ko
br-knockout-utils
(-utils
part is up for debate if anyone can think of a better name)
KnockoutComponent
, ko workbench tools and the ko binding utilitypresenter-knockout
will be moved in to presenter
as it doesn't need to be exposed a library since presenter
wraps it
define(..)
block otherwise it will remain presenter-knockout
presenter-component
will move into br-knockout-utils
(see point 2)Given this is more work than originally advertised I'll move it back into the backlog so it can be re-planned.
We currently have the following libraries with 'ko' or 'knockout' in their name:
Component
)This is somewhat confusing. Additionally, due to #657, there is also the need for another variant of the 'knockout' library that is BRJS compatible.
Therefore, I'd like to propose the following library names:
HTMLResourceService
)Component
)