CGI should do specific operations by its parameters.
Basically, CGI have not to be modified by Cassiopeia users.
General operation, such as taking all tags, should be imported from Interface.
General flow
- Initialize.
- Check whether using secure connection and logged in or not.
- Take CGI parameters.
- Check validity of parameters.
- Run appropriate Rhtml.
Usual parameters
- command: what kind of task CGI will do.
- cgi_cont: where CGI will be back after some operation.
- start: offset of some list.
- ditem: shown number of items of some list.
- sort: sorting method of some list.
- order: if plus, list is sorted by ascending order, otherwise minus, descending order.