-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootstrap vs material #11
Comments
My thoughts.... The impact on each of the consumers apps of
|
I agree with much of what you say. The key though, is if/when cbp-theme will move from a bootstrap based theme to an material theme. With everyone implementing bootstrap, it may be hard for cbp-theme to move away from bootstrap due to the cost of everyone having to update their apps as you've pointed out. One thing that could happen is that cbp-theme completely materializes their bootstrap theme vs moving to material itself so as to reduce the cost of everyone having to update. If that were to happen, we'd not be able to benefit much at all. We'd be in the same boat now, if not worse, where we basically have our own material theme for angular which we continually need to update to keep pace with cbp-theme. I much prefer material2 to ngx-bootstrap; I think the components are much nicer and it has a great community around it with angular devs. However, it seems risky with a lot of duplicate effort of us trying to match the current theme in hopes that they'll move to material. If they were currently working on a material branch, it wouldn't be an issue. That's my 2 cents. We can continue to follow this path, but wanted to voice my concerns. |
Got busy/caught in some issues to respond to another excellent concern raised above which I will attempt to address further below. I must say that we need to document these in a better way - update the readme.md to link to another document that addresses these concerns. Also some of the reasoning behind got buried in our internal discussions and another document before starting this repository :) hence the assumptions did not make it into the ant of the readme.md or the contributing.md I will start a new document as time permits.
Here I am assuming that My thoughts are as below:- All these libraries Materialize are only a means to achieve the ultimate specifications from Google Material These libraries are merely there so that that individual applications can attain the Material specs. For example the React developers created Material-UI (react) so that Reach applications can achieve Material specs. Similarly Angular team created Material2 (angular) so that Angular apps can do the same. Just as This perspective to bring forth 2 key points that:-
So one might assume that only one implementing library written in pure Javascript and CSS would suffice ? But yet we have so many libraries. This brings to the next point.
Yet so many component libraries exist to solve this problem because they all offer components that are native to their framework. Quoting straight from Material Design Lite
and yet we have Material-UI (react) It is fair to say that native components will deliver better performance. Throwing competing libraries in these applications is opening to a very complex runtime where the components runs, behave and render in a way which become very difficult to fathom. Hence the proliferation of so many libraries to achieve the same end goal : Material Specs.
This is true only if Bottom like is whenever I could be wrong in some assumptions or missing any supporting or opposing points. If the reasoning is satisfactory or if need to change something ideas are welcome. I will wait for a response/pm before I close since we are all so busy with so many things. |
doc updated f197d97 |
Has any thought been given to using bootstrap as the base vs material? Essentially, instead of using material2, use ngx-bootstrap? While I think the material stuff is probably nicer, it seems like cbp-theme is a bootstrap theme with changes for material. By using Material as the base, it's hard to reuse much of the cbp-theme at all. You have to redo it to make it work for material. I wonder if we used bootsrap as the base, if we'd be able to use more of the base cbp-theme.
Once cbp-theme moved to a material theme, we could then make the same change, and hopefully again be able to reuse most of the cbp-theme. Thoughts?
The text was updated successfully, but these errors were encountered: