Stream

dart force framework

Announcements  - 
 
Release of forcemvc 0.2.0 with authentication functionality http://forcemvc.herokuapp.com/ https://github.com/jorishermans/dart-forcemvc
1
Add a comment...
 
Running the #Dart VM on Raspberry PI (QEMU)
23
5
pancrazio carbotti's profile photoseb mitchell's profile photoWarren Strange's profile photoThanabodee Charoenpiriyakij's profile photo
 
looks cool, I have a pi which I wanted to run dart on, looks like now I can.
https://code.google.com/p/dart/wiki/RaspberryPi
Add a comment...

Jaja Harris

Discussion  - 
 
Some exciting news coming out of the AngularJS world -- I wonder if this impacts AngularDart in any way.
2
1
Darren Powers's profile photo
Add a comment...

Hans Van den Keybus

Announcements  - 
 #DI
 
Metadata-based Dependency Injection-framework for Google Dart!!
I haz it.

Have a look at the example (more comming up soon, as wel as unit tests).
The API is completely based around the DI framework +Robotlegs uses.
So all credits to these friggin geniusses.

Don't expect it to do what you expect it to do.. I call it an "alpha" release.

https://github.com/dotdotcommadot/dart_robotlegs_di
1
1
Aleksandr Fusman's profile photo
Add a comment...
 
I stumbled across rest.li in my search for a Java based solution for a REST framework. I'm imagining rest.li + MongoDB would make for a JSON fluent back-end.

Opinions?

Additionally, can anyone suggest some JSON friendly libraries for a Dart client? It would be really interesting to get an all JSON workflow.

Thanks!
2
Marcos Placona's profile photoNestor Ledon's profile photo
2 comments
 
This is great, thanks!
Add a comment...
 
Robotlegs for Google Dart!
(still a LOT of work to do.. haven't even hit alpha, but still :))

https://github.com/dotdotcommadot/dart_robotlegs
https://github.com/dotdotcommadot/dart_robotlegs_di
6
3
Ondina Deanna Filip's profile photoGonzalo Pezzi Rodríguez's profile photoEason Pai's profile photoHans Van den Keybus's profile photo
3 comments
 
Sounds good! 
I agree with you about all the intrusiveness of many frameworks. 
We have really good frameworks in AS3, but I think it is because the language and the platform are very mature. 
I am not sure if Dart is solid enough to achieve that kind of architecture, but if it is not, I am confident it will be very soon. 
As you said, it is a work in progress.

Good luck and keep us posted! :) 
Add a comment...
 
I like Dart, I really do, but I can't work with these regresions:

td.text = "Adrián";


Now I get this error,  with dart2js:
FormatException: Bad UTF-8 encoding 0x6e

And in Dartium I get this horrbile character.

I'm really temped to  drop Dart, this is just to much.
1
1
Mike Mitterer's profile photogeorge oloo's profile photoTais Plougmann Hansen's profile photo
11 comments
 
+Tais Plougmann Hansen OMG long, long ago... it was just a mess with all these CPs :-)
Add a comment...
 
Finally my 1 week game test with dart is over. I have gathered some data and draw some conclusions. Probably I have made many mistakes (I am not a Dart Ninja!) but I think I have covered some interesting topics.

Note that the test are also in an area where I am new (game development) and Dart has been proven to work very well with 2 other products I have participated in, so this (critical) review does not mean you cannot use it right now! It only attempts to point out some weak areas you might want to be aware of before undertaking a new game project with Dart.

Please read and feel free to correct me where I made a mistake.
I have been playing with Dart and StageXL for 10 days now and I feel like there are thoughts to be shared. Part of this post is also an update to a thread in the StageXL group The game is really simple clone of the flappy ...
15
4
Alexandre Pugeat's profile photoJack Murphy's profile photogeorge oloo's profile photoPeter StJ's profile photo
10 comments
 
Great article - i've been trying to devise an approach to performance test the dartvm against dart2js for many of the core dart language features. When i was doing Air dev, a great resource was jacksondunstan.com - i'd love to work on this for dartvm vs dart2js with the corresponding language benchmarks. 
Add a comment...
 
I updated my Polymer-Sample on GitHub. As SPA Framework I'm using Angular. So if someone is interested, check it out:
https://github.com/MikeMitterer/DART-Sample-Polymer-Angular

Compiling to JS fails at the moment but it works nice with Dartium. 
6
4
Mike Mitterer's profile photoSeth Ladd's profile photoGünter Zöchbauer's profile photoJirka Daněk's profile photo
2 comments
 
+Seth Ladd No, I think the transformers are not ready for the version I'm using. I "pub upgrade" directly from GitHub. For the moment I'm happy if everything works wit Dartium. 
Add a comment...
 
#metaprogramming  

In dartling you do not need to design a graphical model first. You do not need to generate code for your model. You can create a model by using the meta model of dartling and make it alive with generic web components. All of that in a few lines of code.

http://goo.gl/dgDvcB
6
Dzenan Ridjanovic's profile photoAnders Holmgren's profile photo
12 comments
 
+Anders Holmgren, I have been alone on dartling for a too long time. You are welcome to join the dartling team on your own terms and rythme. I will be happy to help you or any other interested developers with anything you want to know about dartling. If we could use the constrain library that would be great!
Add a comment...

Created by

About this community

This is a place to talk informally with other Dart developers. We welcome all Dartisans, be they curious, experimenting, or experts. Use g.co/dartisans to find us!

Dartifrice

Announcements  - 
 
a new french video about numbers, (num, int, double, ieee 754, ...) conversions, precision problems on dartifrice, the french video channel dedicated to dart
2
1
Alexandre Pugeat's profile photo
Add a comment...
 
Today at #devoxxfr we[1] give a 3h Hand's on Labs (basically a codelab) on #dartlang and #polymer . The goal for the attendees was to implement some parts of a simplified Risk game.
The session seems to have received a quite good welcome.

Feel free to give it a try and give us feedback.

[1] +Guillaume Girou , +Mathieu Breton , +Nicolas François and I.
17
4
Allan MacDonald's profile photoGuillaume Girou's profile photoOn Dart's profile photoSeth Ladd's profile photo
 
Thanks!
Add a comment...
 
Node.js in dart ?

Hi all, is there a way to do some node applications using darts ? any reference on how would be nice.

Thx in advace !
1
François Laroche's profile photoZoran Tkavc's profile photo
7 comments
 
Thanks everyone for this feedback :)

I can't wait to see new generations of web applications, with the ease of dev of node and some type checking. I'll love to see the app engine for dart when it gets ready :)
Add a comment...

Mike Mitterer

Discussion  - 
 
Its very quiet around Angular and Polymer since about 3 or 4 weeks. Does anybody know what's cooking?
5
曹忠's profile photoMarkos Samouhos's profile photo
Add a comment...
 
What characteristics of Javascript had to be preserved in Dart? E.g., its asynchronous nature with callbacks.

Conversely, what "potholes" were smoothed over? E.g., data types. (I know this is very broad question that pretty much describes all of Dart. But I'm looking for some high-level bullet points.)

I'm giving a presentation and would like to discuss how the browser is a critical target for Dart, which means Javascript is the least common denominator for executing anything.

Any references or pointers are appreciated.
1
2
Gabor Orosz's profile photogeorge oloo's profile photoDavid Kopec's profile photo
3 comments
 
You might also checkout the Chapter 1 section "What's Cool About Dart"
Add a comment...
 
Easy way to sync some of my Dart folders to other computers?
1. Daily spam to Pub: "my_messy_useless_big_package.dart" ?
2. Make HUGE web & lib folders with ALL my data and copy them by GDocs or USB-stick? 
3. Use directly GDocs or DropBox folders in computers?
4. Make my own "path-dependency" to my cloud (Gdocs or DropBox) ??
Symlinks should keep away from this system.?
5. Don't do it.  Just work with different projects in other computers?

I am playing for "nonprofit", so payable systems are out for me. Some G-Cloud systems are out, for same reason.
Github is too.. verbose and difficult. No Git in every computer.
Daily changes to data are not big, but usage should be painless.
- Thanks, for advices.
1
1
Mike Mitterer's profile photogeorge oloo's profile photoDavid Kopec's profile photo
5 comments
 
Git, DropBox, Google Drive, Box, Microsoft SkyDrive are all excellent options
Add a comment...
 
Anyone seen this error? One page in my app (http://woven.co/futbolmexico) won't load, and all I get in is this error in the Observatory tab in Dartium DevTools:

Top level service responses must be service maps.

{type: Error, msg: Dart not running}

http://d.pr/i/gaib

cc +Kai Sellgren 
1
Add a comment...
 
No banana
Here is the code:
    <x-menu>
      <x-item>Apple</x-item>
      <x-items>Banana
       <x-item color="blue">Big banana</x-item>
       <x-item>Small banana</x-item>
       <x-noitem>No banana</x-noitem>
      </x-items>
      <x-item>Kiwi</x-item>
    </x-menu>

But where is the Banana?

If I remove the select - it will show up:
 <content select="x-items,x-item"></content>

But then I also get my x-notiem
So how do I get my banana?

Posting to the "Dart Dares" to see if anyone knows ... ;-)

#polymer   #dartlang  

EDIT: ----------------------------------------
I found my banana in Dart:
this.firstChild.text on the x-items code displays my banana.
but then I also had to check in the this.children.forEach
that it was x-item and not the x-noitem
if (n.tagName == "X-ITEM")
2
Fred Pallesen's profile photoYannick Sirjean's profile photo
4 comments
 
But it does, if you look at the last part that I've added, I can turn off the <content> and work in code only. Then I get what I want. But using the declarative way ... then I'm lost
Add a comment...
 
confused by <content>

In my html code I have:
    <x-list>
      <li><a href="#">Apple</a></li>
      <li><a href="#">Banana</a></li>
      <div><a href="#">Kiwi</a></div>
    </x-list>

In my polymer element I have:
  <ol reversed="reversed">
    <content select="li"></content>
  </ol>

What I expect is:
 2. Apple
 1. Banana

View source gives:
    <x-list>
      #shadow-root
          <ol reversed="reversed">
            <content select="li"></content>
          </ol>
      <li><a href="#">Apple</a></li>
      <li><a href="#">Banana</a></li>
      <div><a href="#">Kiwi</a></div>
    </x-list>

What I get is:
  1. Apple
  2. Banana

So what do I need to do to get the content right?
1
Add a comment...
 
So... Dartium can't get DnD from the desktop.

https://plus.google.com/u/0/+JavierGuerra_g/posts/SpPX779RgZ8

it seems it's a long-known issue in Chromium (but not in Chrome) (https://code.google.com/p/chromium/issues/detail?id=126766).  easy to check: open Gmail in Dartium, compose a new message, and try to add a file by dragging from the desktop.

The weird thing for Dart is that if it was known, how come that it has surfaced just now in 1.3 SDK?

checking a little more with jsfiddle (http://jsfiddle.net/7C5BH/3/), it seems that Chrome does call the `drop` event even if both .eventAllowed and .dropEffect are 'undefined', while Dartium (and Chromium) doesn't.

I think the specs are missing detail on this, so the Chrome behaviour can't be faulted as "non-standard" and should be adopted, unless the specs are reviewed to better specify what should be done on this case...
1
Add a comment...