sqlite_orm icon indicating copy to clipboard operation
sqlite_orm copied to clipboard

Development documentation

Open ElephantInTheRoomFirst opened this issue 9 years ago • 11 comments

Thanks for providing such a good library. It serves my purpose most of times. But sometimes, it does not have functionality which I need and I can enhance the functionaliy most of times by myself. The biggest limitation for me is lack of development documentation like purpose of each class, class type(e.g. implementation, binders, row converters etc.). It will be great if you provide some documentation in code(e.g. doxygen documetation), class diagrams, collaboration diagrams. I used doxygen before. Doxygen creates the diagrams automatically. Have a good day.

ElephantInTheRoomFirst avatar Jun 05 '17 08:06 ElephantInTheRoomFirst

Hi. Thanks for response. I use wiki here on github to describe classes, functions and use cases. It has not enough content. Is it comfortable for you instead of doxygen and class diagrams?

fnc12 avatar Jun 05 '17 11:06 fnc12

Thanks for response. Where is the wiki?

ElephantInTheRoomFirst avatar Jun 05 '17 14:06 ElephantInTheRoomFirst

here

fnc12 avatar Jun 05 '17 14:06 fnc12

Thanks. Let me go through it.

ElephantInTheRoomFirst avatar Jun 05 '17 14:06 ElephantInTheRoomFirst

I went through wiki. It is less documented than the library offers. Should we discuss here possibilities to make documentation better?

ElephantInTheRoomFirst avatar Jun 13 '17 10:06 ElephantInTheRoomFirst

@Ninja-007 of course. It's just a matter of time

fnc12 avatar Jun 13 '17 10:06 fnc12

Good, I think, we should merge ReadMe and wiki.

The wiki should be organisied in chapers like

  1. Introduction (library organisation, C++ standard etc., various datatype)
  2. Getting started(How to use library, simple example)
  3. Database storage objects. (Best practices, links to examples, make_storage equivalent class method, detecting datatype of Storage using decltype etc.)
  4. Schema function
  5. Saving data in database(example)
  6. Retieving data from database(simple example)
  7. Conditional retriving data from database
  8. Transactions
  9. Utility functions like table_exists, drop_table, sync_schema_simulate
  10. Contributions

What do you think?

ElephantInTheRoomFirst avatar Jun 13 '17 10:06 ElephantInTheRoomFirst

I think there is no need to combine readme and wiki. Readme must 'sell' the lib. It must attract user. Wiki must have classes and functions reference in case developer has question about how functions work and tutorial articles. Both tutorial and references cannot be placed in readme cause long readme is bad.

fnc12 avatar Jun 13 '17 10:06 fnc12

I agree with you about readme. I was saying it to avoid duplication and putting some of wiki ar readme place. What about chapters of wiki? I fee it should be exhaustive.

ElephantInTheRoomFirst avatar Jun 13 '17 11:06 ElephantInTheRoomFirst

@Ninja-007 hey are there any issues with documentation of the lib?

fnc12 avatar Mar 26 '18 17:03 fnc12

Closing due to inactivity. Documentation can be found in wiki. The lib is not fully documented but work is in progress

fnc12 avatar Apr 30 '19 18:04 fnc12