Skip to content

Dart port of Spring Actionscript framework, targeted at Canvas and WebGL via StageXL, base of Röckdöt Framewörk.

Notifications You must be signed in to change notification settings

acanvas/acanvas-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acanvas Spring

Acanvas Spring – for Dart 2.0 and StageXL.

Acanvas Spring is part of the Acanvas Framework layered architecture (diagram).

Build your own Acanvas project now – with Acanvas Generator!

  • Blazing fast IoC/DI/MVC UI framework for WebGL and Canvas2D, written in Dart.
  • Write web apps, games, or both, in pure Dart. No HTML, no CSS, no JS.

Features

Acanvas Spring is a port of Spring Actionscript, an official Spring Framework implementation, to Dart 2.0 and StagelXL.

  • ApplicationContext - Add any object to the project's runtime context, and by Interface injection and Interface postprocessing, wire them into Acanvas Spring or Acanvas Framework.
    • ObjectFactory - Creates and manages objects.
    • InstanceCache - So much better than singletons.
    • PropertyProvider - Load and access language or configuration properties conveniently.
  • Inversion of Control
    • Interface Injection - Inject other Acanvas Spring objects into your object based on the Interfaces it implements.
    • PostProcessing - Have other Acanvas Spring objects postprocess your object based on its Interfaces, object name, or type.
  • Micro MVC library - The Controller is implemented as front controller dispatching to Commands and Command Sequences via Signals.

Examples

Limitations

Acanvas Spring is targeted for use in Dart 2.0 web projects, and as such is omitting all Spring functionality that would negatively affect file size, especially those requiring reflection. As such, not present in Acanvas Spring are:

  • XMLApplicationContext - Additional impediment: Dart offers only basic XML libraries.
  • Stageprocessing - Additional impediment: CPU resource heavy.
  • Configuration with Annotations and Metadata.
  • Instantiation and Injection based on class Type.

About

Dart port of Spring Actionscript framework, targeted at Canvas and WebGL via StageXL, base of Röckdöt Framewörk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages