Adds backend code for the cross platform todo example.
This commit is contained in:
parent
b2e486b237
commit
c71e0a409a
6 changed files with 333 additions and 0 deletions
14
examples/cross_todo/nimrod_backend/readme.txt
Normal file
14
examples/cross_todo/nimrod_backend/readme.txt
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
This directory contains the nimrod backend code for the todo cross platform
|
||||
example.
|
||||
|
||||
Unlike the cross platform calculator example, this backend features more code,
|
||||
using an sqlite database for storage. Also a basic test module is provided, not
|
||||
to be included with the final program but to test the exported functionality.
|
||||
The test is not embedded directly in the backend.nim file to avoid being able
|
||||
to access internal data types and procs not exported and replicate the
|
||||
environment of client code.
|
||||
|
||||
In a bigger project with several people you could run `nimrod doc backend.nim`
|
||||
(or use the doc2 command for a whole project) and provide the generated html
|
||||
documentation to another programer for her to implement an interface without
|
||||
having to look at the source code.
|
||||
Loading…
Add table
Add a link
Reference in a new issue