backbase-widget-dependencies-proposal's People
backbase-widget-dependencies-proposal's Issues
Making things clear: proposal covers ideal end structure - transition period is different process
Current proposal is not fully compatible with todays Backbase CXP structure, first implementations will have differences in implementation as any transition stages do.
Our goal for now, is to create flexible core. Compatibility layers will be described in separate documents, and will be treated as temporarily solutions till global refactorings.
Do we need assets-tree.json?
assets-tree.json
, that could be generated during backbase-cli install
may be very useful for developing build scripts on project level. It will look approximately like this:
{
"bower_components" : {
"jquery": {
"js": "dist/jquery.js"
}
},
"bb_components" : {
"widget-robert-todo": {
"js": "js/robert-todo.js",
"css": "css/robert-todo.css"
}
}
}
How do you think, will it be really useful, or we could just parse dependencies folders by hand from our project build scripts?
Is it worth it to maintain in official backbase-cli install
tool?
Dependencies folder naming
As Bower allows to configure names, folder naming topic is open for discussion. Current proposal describes two endpoints for dependencies:
bower_components
- standard Bower path for storing client-side dependenciesbb_components
- backbase structure related folder for item dependencies (widgets, bundles, containers, etc...)
I suggest using standard directory for client-side dependencies, as in most open source projects in is not renamed. Despite the ability to configure, it's not always easy to follow conf changes, also as config for Bower is defined in .bowerrc
, most users will not see it at all (dotfiles are hidden by default).
In case with item deps - bb_components
, I chose temp name, so I would like to hear your options.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.