dawo 1.0.0

https://pub.dartlang.org/packages/dawo

Devoted Dart programmers project to learn Dart by developing a glorious package.

  • Complicated and copious spectrum of classes, functions and methods sets creator and user to situation where must take challenging effort to manage and exploit all the features. Here is plenty of room for imagination and ideas. For beginner programmes this is one way to simulate real-world development stress.
  • Latest code in GitHub: https://github.com/heiklap/dawo
  • Read: /doc/hist_versions.txt in gitHub to see full changes to this, and coming versions.
  • Blog: http://dawopack.blogspot.fi/search/label/dawo
  • Dep: Dawo uses my other pack: dawolang: 1.0.0, for word recognition in connector.

Usage

// Mission Class has wide access to data, since they have instances of
// Chore classes inside them, in choresL : List<CommmonChore>   
// Example files here rolls only once, without loops, and output their data in console.
import 'package:dawo/rumba.dart';
import 'package:dawo/dawo_app.dart';
//  or using init:
dawoApp.init(':dawpApp:daily:bundle:', 'By: :daily:bundle:test:');
var rumba = new Rumba();
// This returns in addition a StringBuffer, that is not used here.
rumba.dance(dawoApp);
// Example apps presents output-data on windows console in flow, or in two kind of boxes.

 ///  Instance of dawoApp is already created inside package.
 dawoApp.name = 'Play-rumba:dawoApp';
 dawoApp.motto = 'By: dawo_example: dawoApp rolls missioms');

Packages shape

Purpose and direction of this package: do one clearly restricted thing and do it well.
Not commercial program; using promos, demos to imitate realWorld functionality.
Extra functionality is done by plugins that connect to other packages.

Brainstorming

Get people together, let they present ideas, collect best ideas to libraries and group them meaningfully. Start building first new classes, but keep your mind open for intuitive solutions.

Practise to use Dawo by finding it's properties in editor, and think their importance in app.

Version 1.0.0 Dated: 10.4.2022

  1. Thrust to conduct something useful, nearing Real-World app, small, simple,but sophisticated.
  2. Leave out many important areas, that should be realized in other packages, like resources, money, areas, labor, cost aso.
  3. Ready to be plugged, and plug other packages.
  4. Collect IDEA, WORD, aso.stuff, be big and complicated, make a mess, that real-life sometimes is.
  5. Mark the learning road of hesitations, errors, learning and success.
  6. Be educational, make FAQ and howTo-stuff. Love logic and learning.
  7. Search and find inspirational Happy-Findings-Road: FIN: #Oivallus.. deep, sudden understanding.
  8. Be very careful when using other outside packages. Atleast in core of dawo.
  9. Show vision and develop plugins to inside / outside world of dawo sphere.
  10. LANG idea, Dawolang and other own packages to come live.
  11. Caveat: author do not have experience in developing Full-Stack, Web and server apps, or big real-world business apps.
  12. Dawo version 1.0.0. is World of base-level simple objects static data. Wide range of of dartlang properties are left aside, not used here, or come in next versions.

Versions

First dawo version was kind of artistic mess, as a consequence of long-time brainstorming. Dawo 0.0.1 shows starter programmers confusion, and records ways and steps out of this mess to clarity and understanding. Latest code in GitHub: https://github.com/heiklap/dawo

0.0.1 demonstrates how data is messy, when it is not inside classes. But you have direct instant access to every piece of it. Check for pollution of public namespace!!

0.0.3 Was for building first control-flow structure (Rumba.dance) to use Class-data inside app. Theme: Present different Mission ( = Client / customer) data and small, elementary work-flow. Chores ( 7 chores by default in every Mission). dawo_example.dart gives 14 screen-full data output.

0.0.4 Version Theme: Statistics, output, variation, versatility, documentation in doc-folder. dawo_example.dart gives 11 -36 screen-full data output.

0.0.5 High level connections between objects, placard, glb, commonOp and states.
0.0.6 box_serve presentation and corporate.
0.0.7 Connector and #say language, scout class and join.

0.0.75 Mission act Map. Instance of dawoApp is now created inside app. 0.0.78 Updated to be dart2 compatible.

0.0.8 Fixed health suggestions and additional 21 files with analysis or formatting issues. 0.1.0 Migrating to null safety. 0.2.0 - 0.9.0 Series of cleaning, saved in gitHub 0.9.6 New library & class grouping. 1.0.0 Steady developing and clarity.

Files;

code_snippets, learn / copy-paste stuff:

  • aldente_func : Simple functions, including some logical errors. Can you spot errors?!
  • bat_loop : Control flow structure samples.
  • learn_stream_sync : Examples of simple Streams. So. async stuff.

dawo app library files

  • alpha : Structuring base classes. No dependency downwards.

  • beta : Develop common properties, that work on alpha rerources.

  • clay : is synonym for data. -folder has static data class elements

  • corp-folder has corporate, affair, resolve and store classes.

  • corp/connector.dart Connecting ( as #client's) app - mission - chore together, mediating them. Seeking deep, inner connections of objects.

  • dev : Classes and data, that help in developing this package. And history data.

  • fake : separate, irrational inspirational idea, that will have a great, bright future.

  • gear : dashboard-like stuff, global glb file, mill - loop and control flow coming,

    • mill : Plan: processing commands orderly, all they in row, by given priorities.
  • hacker : not used in dawo-app, separate extra learning and study stuff.

  • mis/missions : Chunk of command-processing between app and chore. Caring Chores. Missions keep and process data ( #clay) of their favorite area.

  • mis/chore : Start of bigger "job" / "chore" for real-world-work. Imitating functionality of other, bigger, same kind of library.

  • mis/effort.dart : Human activities, chores sub, main user-activity and presentation.

  • mis/equipment.dart : Controlling material resources for Mission and Chore.

  • mis/camp : Scout class has connected objects stuff.

  • src : Folder and File created by stagehand plugin app. Hiding data from end-user.

  • tools : Helper tools, sleep, stamps, lists aso.Helper functions for cl (command line)and screen output. used via instance: tl. that is really glorious and useful.

  • venue : output, show and box stuff.

    • shower.dart : con-presentations, box-shaped. box_serve is command!
    • shower / box_serve gives frames for box_shaped cl screen outputs.
  • dawo.dart : main package file, library dawo, that exports : dawo_src.dart.

  • dawo_app.dart : DawoApp class, handles Missions and keeps out-put-buffers in Map.

  • dawo_src.dart : Back door or dead end, maybe a genius workshop? Some accumulated stuff. Maybe looking for a different way to approach the package.

  • rumba.dart : Rumba classes .dance method runs here dawo's control-flow (once)

  • (? coll_lib : Resources. Examples and hacking material of Dart collections. Missing / todo)

Creating Dawo variables in new file:

// play with them in IDE:
dawoApp.   //  dot notation gives you hint of classes properties.
var mission = new Mission('#name','#state');  //  #state  ? :)
mission.

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

// Using Dawo in your web app: (Dawo do not include HTML-code)

Add to your pubspec.yaml:
dependencies:
  dawo: 1.0.0
  
dev_dependencies:
  browser: ^0.10.0
  dart_to_js_script_rewriter: ^1.0.1
  
//  your main.dart
import 'dart:html';
import 'package:dawo/dawo.dart';
import 'package:dawo/rumba.dart';
import 'package:dawo/dawo_app.dart';    
  
main() {
  //  Create or init classes as above. Or copy code from: Usage:
  
  dawoApp.init(Pplay-rumba:dawoApp', 'By: dawo_example: dawoApp rolls missioms');
  //  var dawoApp = new DawoApp('Play-rumba:dawoApp', 'By: dawo_example: dawoApp rolls missioms');
  var rumba = new Rumba();
  rumba.dance(dawoApp);
}
// Run code in browser and check console output: Ctrl-Shift-i 
// Or make html templates that catch output to text fields / elements.

About variable names and Classes 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: goals, teams, temps morn, night, day dev, make, init

Test objects in code_snippets-folder / learn... -section. These files might be best, when copy-pasted and studied in computer.

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

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

ride....()   roll(....) 
// Watch: init.. build.. roll.. show.. done method-cycle.

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

alpha
Model structures, base classes, that are used everywhere in dawo: [...]
beta
Modeling joint, reusable controls and operations for libraries. [...]
clay
is governed by a BSD-style license that can be found in the LICENSE file. ## [...]
corp
  • interface-Base class for corp classes
  • dwv: version: 1.0.0. 10.4.2022. created: 26.3.2022
  • devState: 8% PLAN: yes SCHEDULE: NO.
  • dawo
    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_app
    dawoApp library and class [...]
    dawo_dev
    Dev (& team) [...]
    dawo_src
  • dwv: version: 1.0.0. 10.4.2022 devState : 20 %
  • [...]
    fake_lib
    fake_lib for some visibility & magic checking [...]
    gear
    Gear, dashboard system for dawo. [...]
    hack
    hack library [...]
    mis
  • interface-Base class for mis classes
  • dwv: version: 1.0.0. 10.4.2022. created: 27.3.2022
  • devState: 8% PLAN: yes SCHEDULE: NO.
  • rumba
    Rumba : Loop, that runs dawoApp and some other stuff. [...]
    tools
  • dwv: version: 1.0.0. 10.4.2022. devState : 51 %
  • [...]
    venue
    Shower - presentation info and data screens. [...]