-
DataForm
contains aBuilder
class which has a more useful API thantigase.server.Command
andtigase.server.DataForm
. This new builder should be a preferred way to create forms. While it may be slightly heavier than usingDataForm
orCommand
APIs, usage of this API is easier to read and understand.
Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.5.0
|
Iterations
-
tigase-server-8.5.0 Open
Issue Votes (0)
Curently both of those APIs seems to share a lot of functionality. Quite possibly all data form handling could be moved to
tigase.server.DataForm
. We should also utilise more, if possible, provided builders. (We also havetigase.form.Form
API, but it could be "too heavy", especially forCommand
objects, though ideally we should limit number of APIs doing the same thing…)Intention for 8.3 is to come up with way forward and deprecating older APIs that will be removed.