Hi Tobias, All!
Pawel from the angular-ui/bootstrap team here. First of all, you made
my day! I'm so happy to see another UI library evaluating the approach
we've taken with http://angular-ui.github.io/bootstrap/
. I strongly
believe that this is a mid-term feature for AngularJS widgets (where
the long-term feature is probably in web components). So far I'm very
happy with the progress we were able to make on the bootstrap project
to have very lightweight library without any additional dependencies.
To add to all the reasoning behind this approach I would add the
- you can take advantage of all the AngularJS infrastructure already
in place ($http, promises, data binding etc.).
- in terms of size - it is not only that you can drop jQuery
that a directive re-written from scratch is _smaller_ as compared to
the wrapper code. This was one of the surprises for me
- you can externalize directive templates and as such make them
customizable - I think that people still don't realize the full power
of this. As an example there are tons of date pickers but usually it
is very hard to change they look and feel - it is usually hard-coded
in JS. With AngularJS directives all the markup can be externalized in
a template: https://github.com/angular-ui/bootstrap/blob/master/template/datepicker/datepicker.html
Of course it is not all without problems and there are number of
things that got us burned. This deserves a separate post and I would
be really keen on working with you guys through the number of issues
we've encountered in the bootstrap project so you can avoid those
pitfalls. But all in all I'm extremely pleased with the results and I
think that it was great to start just with bootstrap's markup / css
and ditch their JavaScrript - the result is a lightweight,
customizable library well integrated into the AngularJS ecosystem.
I won't have time to participate to the project itself but I would be
really keen on working with you guys on working out common solutions
to common problems, sharing our experiences etc. I also think that we
could join forces in evangelizing this approach and paving paths for
@Tobias, let's get in touch to share as much experience as possible.
Later on today I will try to share some of the pitfalls that I believe
are important to avoid.
Good luck with the effort, I'm really happy to see this happening!
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+u...@googlegroups.com
> To post to this group, send email to ang...@googlegroups.com
> Visit this group at http://groups.google.com/group/angular?hl=en-US
> For more options, visit https://groups.google.com/groups/opt_out
Looking for bootstrap-based widget library for AngularJS?