Example Project API Reference¶
Api Layer¶
-
class
todo_example.api.
TodoApp
(collections=NOTHING)[source]¶ A Basic Todo List Storage
-
create_item
(name)¶ create a new named <class ‘todo_example.api.TodoList’> item
-
get_by
(name)¶ get element by name
-
UX layer¶
-
class
todo_example.ux.
TodoElementUX
(parent, controlled_element)[source]¶ ux controller element for a todo list element
-
parent
¶ the controling TodoListUX
-
controlled_element
¶ the controlled TodoElement
-
completed
¶ completion state of the controlled element
-
-
class
todo_example.ux.
TodoListUX
(ux, controlled_list)[source]¶ example ux for single todo lists .. attribute:: ux
reference to the root ux-
controlled_list
¶ reference of the todo list implementation
-
-
class
todo_example.ux.
TodoUX
(app)[source]¶ example root UX fore todo lists
-
create_item
(name)[source]¶ create a new named todo list
Return type: TodoListUX
-
get_by
(name)[source]¶ get a todo list ux by name
Return type: TodoListUX
-
RPC Layer¶
a hideous rpc interface used to demonstrate partial implementation