factories - nodebotschs/nodebotsday-editor GitHub Wiki

Factories

The factories are setup to provide a simple api to the view layer so that the view layer does not have to depend on the implementation details of the persistence layer and the palmetto-flow structure. In our case we can have one factory called a controller:

  • factories
    • controller
      • list files from directory
      • create new directory
      • create new file
      • save file as
      • open file by name
      • remove file
      • remove directory