Design+Refactoring

A place to list potential or planned refactoring jobs


  • Transition from Cardtype to datatype
  • Datatypes with extensions (ie. User) should create the card and extension in a single transaction at the model level.  The current implementation of User creation does it in the controller, and does cleanup in a rescue block if anything goes wrong.  That code has caused a lot of bug chasing.
  • permissions stuff should be up a level from where it is in wql
        probably in the card model: Card.find_by_wql with/without permissions
  •  rename:  wait for significant release because some are user facing changes    
      log in -> sign in
        ServerDatatype -> ScriptDatatype
        BlockController -> SearchController
        QueryCard -> SearchCard??
        link_to_connector_update -> link_to_lister_update
        User cardtype -> Person cardtype
  • Get rid of tags (probably same time as new structure for pointers, arrays, etc)
  • restful-ize controllers