- Retrieving a list of collections
- Retrieving a collection
- Removing a collection
Actually, I've finished it on July 7. After that, I was always thinking about how to implement "Replication". This part(Replication) seems like implementing a "version control system"(Simpler, of course). I still can't figure out an efficient way to do this, so I decide to make it "workable" first.
Here is my thoughts:
- Add a "access" attribute to chat element, representing the time this collection is last accessed(created/modified/removed).
- modified_handler check this "access" attribute to determine if include this collection in the result set or not.
- If a collection has no any child, that means it has been deleted.
The next step:
- Mid-term Evaluation, :)