dawo 0.0.2

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 45

dawo 0.0.2

Learning Dart simple basic data for beginners, and howTo use it for building a package. Beginner Dart programmers kickoff to develop a glorious package..

  • Read: hist_versions.txt to see full changes to this, and coming versions.

Usage

// Classes are separated, without connecting run method.
// Watch code below and example file.
// Eventually usage is planned;
var dawoApp = new DawoApp(clayIn);
dawoApp.roll();

Brainstorming

Collect people together, let they present ideas, collect best ideas to files and try to group them meaningfully. DO NOT build many classes in this phase, for to keep your mind open for intuitive solutions. Leave room and time to resolve, what will be the direction of this package. Practise to use Dawo by finding it's keywords in editor.

Versions

First dawo version seems to be a mess, and, yes, it is intentional so. dawo 0.0.1 shows starter programmers confusion, and records way and steps out of this mess to clarity and understanding.

0.0.1 demonstrates how data is messy, when it is not inside classes. Check for pollution of public namespace!!

0.0.2 version is meant to weed out the material and create a couple of classes. Theme : baseStructure, base_lib, dawo_mill, connector, learn/code_snippets

0.0.3 might be for building first control-flow structures to really use this app. Theme: Choose different Client / customer data and small, playing work-flow

0.0.4 Version Theme: Statistics, output, variation, versatility

0.0 x Basic idea and orientation of package to resolve. 0.0 x Incubator idea: -move first too big parts to independent packages. Maybe chore and team

Files;

code_snippets, learn / copy-paste stuff:

  • aldente_func : Simple functions, including some logical errors. Find them!
  • bat_loop : control structures.
  • learn_stream_sync : examples of simple Streams.

app files

  • base_lib : common properties that other libraries use.
  • base_struct : structures of base classes.
  • dawlib_chore : start of bigger "job" / "chore" for real-world-work. Imitating function of other, bigger, same kind of idea.
  • dawlib_coll : examples and hacking material of collections.
  • dawo.dart : main file
  • dawo_app : dawoApp class, that has mission - and chore under it.
  • dawo_connector.dart connecting ( as #client's) app - mission - chore together, mediating them
  • dawo_dew : Helper functions for cl (command line)and screen testing.
  • dawo_mill : Processing commands, all they in row, by privileges.
  • dawo_mission : chunk of command-processing between app and chore.
  • dawo_src file created by stagehand plugin app
  • dawo_tools : helper tools, sleep, stamps aso.

A simple usage example:

import 'package:dawo/dawo.dart';

// wanna import all of them?
import 'package:dawo/code_snippets/aldente_func.dart';
import 'package:dawo/code_snippets/bat_loop.dart';
import 'package:dawo/code_snippets/learn_stream_sync.dart';

import 'package:dawo/base_lib.dart';
import 'package:dawo/base_struct.dart';
import 'package:dawo/dawlib_chore.dart';
import 'package:dawo/dawlib_coll.dart';
import 'package:dawo/dawo_app.dart';
import 'package:dawo/dawo_connector.dart';
import 'package:dawo/dawo_dev.dart';
import 'package:dawo/dawo_mill.dart';
import 'package:dawo/dawo_mission.dart';
import 'package:dawo/dawo_src.dart';
import 'package:dawo/dawo_tools.dart';

And creating variables

//  create classes::
var dap = new DawoApp('exampleApp', 'Testing in dawo_example');
dap. 
var mission = new Mission('#name','#state');  //  #state  ? :)
mission.

var ch = new Chore('#name','info');
ch.
///  connector is in very early state
var connector = new Connector('name','info');
connector.

// and main:

main() {
  //  from Dart sample:
  var awesome = new Awesome();
  
  //  play with classes
  //  dap.

  //  mission.
  //  ch.
  //  connector.   
  
  //  code, play with other variables
}

About variable names in Dawo

Play in IDE editor with alphabet: a..z to see, what variables are available. See how common namespace might become polluted with unnecessary stuff, and try to find a way, to organize them/ your variables to meaningful classes.

Like:

baseLib. 
goals, teams, temps
morn, night, day 
dev

make, init 

Test objects in code_snippets, learn, section, These files are best, when copy-pasted and studied in computer.

Joker.., aldente...  bat...

sleep(), start..()  
render....()

ride....()   roll(....) 

Features and bugs

Please file feature requests and bugs at the issue tracker.

Changelog

0.0.1

  • Elementary messy data, waiting for pruning and classification.

example/dawo_example.dart

// Copyright (c) 2017, Heikki K Lappalainen. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.
///  dawo_example   dawo version 0.0.2  11.9.2017

import 'package:dawo/dawo.dart';

///  watch difference, when importing dawo/dawo_src.dart
///  dawo_src only #imports all dawo files except dawo.dart
///  dawo.dart exports: export 'package:dawo/dawo_src.dart';
//  import 'package:dawo/dawo_src.dart';


// wanna import all of them?
import 'package:dawo/code_snippets/aldente_func.dart';
import 'package:dawo/code_snippets/bat_loop.dart';
import 'package:dawo/code_snippets/learn_stream_sync.dart';

import 'package:dawo/base_lib.dart';
import 'package:dawo/base_struct.dart';
import 'package:dawo/dawlib_chore.dart';
import 'package:dawo/dawlib_coll.dart';
import 'package:dawo/dawo_app.dart';
import 'package:dawo/dawo_dev.dart';
import 'package:dawo/dawo_mill.dart';
import 'package:dawo/dawo_mission.dart';
import 'package:dawo/dawo_tools.dart';

//

//  create classes::
var da = new DawoApp('exampleApp', 'Testing in dawo_example');
var df = new DawoMill();

var missionX = new Mission('Mission-class', 'example:dawo_example');


var ch = new CommonChore('ChoreInDawoExample', 'Test-Chore');

main() {

  var awesome = new Awesome();
  print('awesome: ${awesome.isAwesome}');

  //  watch something from every file
  //  base
  // baseLibMotto

  //  baseStructMotto;

  //  chore
  // choreBuf

  //  dawo
  // dawoBuf

  //  app
  // appMap;

  //  dev  17 variables
  //  devBlame;

  //  mill
  //  DawoMill

  //  mission
  //  Mission  class

  //  toolsActive;

  //  play with classes
  /*
  da.
  df.
  ch.
  */



  ///  testing dawo
  //  daw... ok

  //  render   //  there are 5 render-functions
}


void playDawoSrcDart() {


}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  dawo: "^0.0.2"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


      import 'package:dawo/dawo.dart';
  
Version Uploaded Documentation Archive
0.0.75 Jan 8, 2018 Go to the documentation of dawo 0.0.75 Download dawo 0.0.75 archive
0.0.7 Dec 18, 2017 Go to the documentation of dawo 0.0.7 Download dawo 0.0.7 archive
0.0.6 Nov 27, 2017 Go to the documentation of dawo 0.0.6 Download dawo 0.0.6 archive
0.0.5 Nov 6, 2017 Go to the documentation of dawo 0.0.5 Download dawo 0.0.5 archive
0.0.4 Oct 16, 2017 Go to the documentation of dawo 0.0.4 Download dawo 0.0.4 archive
0.0.3 Sep 25, 2017 Go to the documentation of dawo 0.0.3 Download dawo 0.0.3 archive
0.0.2 Sep 11, 2017 Go to the documentation of dawo 0.0.2 Download dawo 0.0.2 archive
0.0.1 Sep 5, 2017 Go to the documentation of dawo 0.0.1 Download dawo 0.0.1 archive
0.0.0 Sep 21, 2013 Go to the documentation of dawo 0.0.0 Download dawo 0.0.0 archive

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
89 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90 / 100
Overall score:
Weighted score of the above. [more]
45
Learn more about scoring.

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:dawo/dawo.dart.

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 19 errors 9 hints.

    Strong-mode analysis of lib/code_snippets/learn_stream_sync.dart failed with the following error:

    line: 163 col: 5
    The expression here has a type of 'void', and therefore cannot be used.

    Strong-mode analysis of lib/dawo_mill.dart failed with the following error:

    line: 40 col: 3
    The element type 'String' can't be assigned to the map key type 'int'.

    Similar analysis of the following files failed:

    • lib/dawo_mission.dart (error)
    • lib/base_lib.dart (hint)
    • lib/dawo_app.dart (hint)
    • lib/dawo_connector.dart (hint)
    • lib/dawo_dev.dart (hint)
    • lib/dawo_src.dart (hint)
  • Fix .analysis_options.

    We were unable to parse .analysis_options.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

  • Enable strong mode analysis.

    Strong mode helps you to detect bugs and potential issues earlier.Start your analysis_options.yaml file with the following:

    analyzer:
      strong-mode: true
    

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.1 <2.0.0
browser ^0.10.0+2 0.10.0+3
Dev dependencies
test ^0.12.24+2