Polymer component suite

96 views
Skip to first unread message

Daniel M.

unread,
Oct 27, 2014, 1:47:15 PM10/27/14
to General Dart Discussion
Sorry if this question has been asked a million times.
I attempted to search the archives and Google but could not find a good answer.

Other than the unmaintaned/unsuported:

 
 
image
 
 
 
 
 
Dart Widgets
Components Reusable elements. Based on the Polymer.dart. Read more about Polymer on the project page. AccordionWidget
Preview by Yahoo
 
 
 
image
 
 
 
 
 
bwu-dart/polymer_ui_elements
polymer_ui_elements - (deprecated)
Preview by Yahoo
 
 
is there a stable polymer component suite built for dart?

I am having a heck of a time updating my projects because of incompatible dependencies.

Günter Zöchbauer

unread,
Oct 27, 2014, 4:47:21 PM10/27/14
to mi...@dartlang.org, dann...@yahoo.com

Patrick Niemeyer

unread,
Oct 28, 2014, 8:53:52 AM10/28/14
to mi...@dartlang.org, dann...@yahoo.com


I ended up using using AngularJS with Dart controllers so that I could utilize the Telerik Kendo UI component set.  I even went so far as to generate some wrappers.
No commercial component sets play well with Shadow DOM yet.


Pat

David Parish

unread,
Oct 28, 2014, 9:11:31 AM10/28/14
to mi...@dartlang.org
>> I ended up using using AngularJS with Dart controllers

What approach did you use for this?  There seems to be enough misdirection that this would be difficult.

--
For other discussions, see https://groups.google.com/a/dartlang.org/
 
For HOWTO questions, visit http://stackoverflow.com/tags/dart
 
To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.

Patrick Niemeyer

unread,
Oct 28, 2014, 9:30:10 AM10/28/14
to mi...@dartlang.org

In a nutshell - I have Dart start up and place its controller methods into the JS context, then Dart bootstraps angular.  The nice thing is that I can drop this into existing Angular JS applications and choose to write controllers and libs in either JS or Dart.   I use the package JS interop which makes working back and forth between dart and JS very easy - however the caveat is that the Dart people are completely rewriting JS interop, so it may change in the future.

I have also experimented with generating wrappers - e.g. for the Kendo UI chart, which has a million config options - and with exporting typed models from Dart using the @exportable package.    I have this in production in a few small applications but mainly working with an untyped JS model and casting where needed.

I was very excited about this technique when I first got it working and thought about doing a detailed write-up about it because for me it solves the problem of how to use a real commercial component package with Dart today -  However the fact that JS interop is in flux and that the typed models using Exportable were not ideal took some of the wind out of my sails.

However if people are interested I can post more details or an example.


Pat Niemeyer
Reply all
Reply to author
Forward
0 new messages