Nim/examples/cross_todo/nimrod_backend
2012-11-15 20:56:59 +01:00
..
backend.nim Removes 'of TObject' to finalize objects not meant for inheritance. 2012-11-15 20:56:59 +01:00
readme.txt Adds backend code for the cross platform todo example. 2012-11-01 20:41:15 +01:00
testbackend.nim Improves the style of some examples. 2012-11-13 22:27:13 +01:00

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.