Does anyone know of a site where angular2_material Dart example can be found?
I know it is its alpha state but it would be nice to be able to experiment with it.
The Angular GitHub repo contains some examples.
Seems they are built so that the Dart code can automatically generated but I haven't done that myself yet.
Seems there are only very few Angular2 material elements available yet.
Related
I recently came across this little tool: Swagger-diff
It compares two APIs which are currently running and then shows changes you made from old version to new version. Sadly this only works for Swagger 1.x and 2.0.
Does anyone knows a tool with the same functionality but works with Swagger 3.0?
Regards,
Hannes
Sometime back, I was also challenged with the same issue.
I was not able to find anything readymade open-source online.
But digging all the swagger-diff implementations a little bit deeper, I found that all of them work on this swagger-parser library.
Apart from the one you mentioned, there is one implementation in ruby and another one in node. All of them work on the same concept of the swagger-parser.
Swagger 3 works on yml instead of JSON format, so the above libraries will fail to parse the contracts. So, you need to modify the swagger-diif library to convert the yml to JSON format before parsing. Everything else remains the same.
I would like to use this file uploader in AngularDart. It's written in AngularJS.
https://github.com/agreatfool/Cart/tree/master/dart-version/web/src/bower/angular-file-upload
Is this possible?
Are there examples anywhere of how to do this?
Is there an alternative AngularDart file uploaders I can use?
Thanks
No, there is no way to combine components of these frameworks,
except perhaps host a complete Angular Dart app inside Angular TS or vice versa, but still with very limited ways to interact.
Angular Dart was originally generated from Angular TS code until about 2 years ago, but even then this was not supported. Since then they are developed independently and diverted quite a bit more.
I'm probably missing something very basic here, but I've spent quite a while searching for just about any term I could come up with.
I wanted to check out Dart and Dart.Polymer, so I grabbed some examples from various tutorials. I managed to get everything working, but it seems ALL HTML/JS/CSS content from custom Polymer elements and paper-/iron-/... elements get pasted to index.html, along with various other JavaScript stuff.
This leads to my index.html being 16.000+ lines long in release mode builds, (20.000 in debug) in this Dart Academy Tutorial, and here is the corresponding source in GitHub
The tutorial also links to a live version that has pretty HTML/imports.
The same happens with the basic Polymer sample project in Webstorm.
My different setups:
Windows 10 and Ubuntu 14.04 (tried both)
Dart SDK current stable and dev version
pub build --mode:release and debug, from commandline and within Webstorm
various transformers, various orders, various dependency versions in pubspec.yaml
Aside from the index.html file my output folder seems fine, elements are present in e.g. output_folder/build/web/packages/polymer_elements/.
I know that everything that is compiled into the index is necessary, but why does it not generate links to the files in the created build/polymer_elements folder? I assume it is possible and the live versions of the examples I found have not been edited manually to link to all elements and scripts and cut them from index.html. I know it probably does not even affect load times in a significant way, but it still bugs me.
Thanks for any help in advance, don't be shy to point out if I read over something very basic or just did not search for the right term :D
This is a deployment optimization, similar to the vulcanize tool for polymer js, except that its the default in Dart. Html imports create tons of extra requests which is slower than just downloading the one large file.
Inlining transformed code (JS/CSS) is normal behavior and none of the options to dart2js will affect this.
I believe the demo output linked in the tutorial you mentioned was unfortunately not the actual dart output. I believe https://polymer-checkout.firebaseapp.com/ is a demo of the original polymer version, not the dart version.
I wanted to know if there were a Canvas external library for DART like Fabric.js ?
If it doesn't exist is there a project to make one ? Cause I'm thinking of starting this project, but I would prefer joining a existing project on GIT.
Or maybe there is things integrated in DART that I don't know ?
I've not worked with Fabric.js, but after taking a look at the website, I'd point you to the projects listed below. Neither project is exactly what you are looking for, but should give you a starting point.
2D (Flash object model) - The project changed to StageXL
https://github.com/bp74/StageXL
WebGL
https://github.com/johnmccutchan/spectre
I don't know of any serious Canvas abstraction libs for Dart but maybe these two projects could provide a good inspiration foundation to create one.
Drag & Draw approach
Animation approach
I am currently looking for a way to integrate detail views of selected Jira Issues into a Conflluennce page. It seems it is not a problem at all to embed a list of Issues into confluence, but I am looking for a way to integrate the detail-view of a single Jira Issue into a Conflluence page.
The reason I need this, is that I am currently defining a workflow for formmally planning a Project. Currently I export the Issues of a Project version to Word and then update the resulting document to become a formal specification document. I would now like to do this in Confuence.
Any help greatly appreciated.
Chris
This is available in the latest Confluence version, 3.5. Here's the documentation.
Well I solved my problem by creating my own confluence macro that accesses Jira using the REST interface. Works like a charm. If I find the time, I'll try to make it generally available (currently It's extremely tied to our configuration (hard-coded urls and credentials) Will be looking forward to utilizing the trusted communication features in the future.