Profile cover photo
Profile photo
On Dart
1,101 followers -
Education on Dart (Web programming language).
Education on Dart (Web programming language).

1,101 followers
About
Communities and Collections
Posts

Post has shared content
Add a comment...

Post has shared content
Congrats to Martin Sikora on his new book, "Dart Essentials" !

"Design and build full-featured web and CLI apps using the powerful Dart language and its libraries and tools"

Check it out at https://www.packtpub.com/web-development/dart-essentials
Photo
Add a comment...

Post has shared content
v0.2.6 of boarding

boarding package

Categories: education, canvas, game, model, view, libraries, package, pub.

Description: A package for board games or canvas drawings. The package has both model and view libraries. See the example folder to find out how to use the boarding package.

There are many examples with not much code, the rest is done by boarding. You are invited to contribute more examples in order to make boarding more generic.

Please enable the enums support in Dart Editor (Tools/Preferences/Experimental).

Document

Learning Dart
Add a comment...

Post has attachment

Post has attachment
#education  future is now
Add a comment...

Post has shared content
Add a comment...

Post has shared content
Add a comment...

#dartling   #id  

Each entity has a globally unique id, oid, generated by dartling. An entity has an optional, one attribute id, code, whose values are provided by users. An entity may have a composite id, id, defined by a model designer.

    abstract class EntityApi<E extends EntityApi<E>>
    implements Comparable {
      ...
      Oid get oid;
      IdApi get id;
      String code;
      ...
    }
 
Add a comment...

Post has attachment
Add a comment...

Post has attachment
#dartling   #offline   #integration  

For a collection of entities, dartling provides a JSON interface as well as data integration for offline needs:

abstract class EntitiesApi<E extends EntityApi<E>> implements Iterable<E> {
  ...
  String toJson();
  void fromJson(String entitiesJson);
  
  void integrate(EntitiesApi<E> fromEntities);
  void integrateAdd(EntitiesApi<E> addEntities);
  void integrateSet(EntitiesApi<E> setEntities);
  void integrateRemove(EntitiesApi<E> removeEntities);
}

with action timestamps:

abstract class EntityApi<E extends EntityApi<E>> implements Comparable {
  ...
  DateTime whenAdded;
  DateTime whenSet;
  DateTime whenRemoved;
  ...
}
Add a comment...
Wait while more posts are being loaded