saschakiefer / generator-openui5

yeoman generator for OpenUI5 applications and assets
Other
64 stars 17 forks source link

Add namespace to Component/ View creator #2

Closed saschakiefer closed 10 years ago

saschakiefer commented 10 years ago

The complete path entered for the component will be used as component name in the Class declaration. But there might be cases, where the path is different to that name (e.g. additional package declarations). Maybe the namespace should be declared separately.

e.g. the namespace of the component is: my.foo.bar.component

but the user want's the component be placed under js/components/

That could be the case, if there is one central place for components but the component should be put under a certain namespace extending a package.

Do you think, that is a viable use case or more of an edge case?