My team has been "tasked" to create an application that follows the task-based UI (not necessarily with CQRS). I really like a UI that helps the user accomplish common tasks easily, but many pieces of this application really "feel" (to me) like a job for a typical CRUD interface (ex: all the details for a product in a catalog).
At this point, we need examples of good task-based UIs to help us see what is possible. What have you seen in the interwebs?
Task based UI (as I understand it) is an approach that is centered around tasks that a user needs to accomplish, as oppose to CRUD form that is geared toward editing data.
Some examples of user interfaces include: computer mouse. remote control. virtual reality.
User interface (UI) design is the process designers use to build interfaces in software or computerized devices, focusing on looks or style. Designers aim to create interfaces which users find easy to use and pleasurable. UI design refers to graphical user interfaces and other forms—e.g., voice-controlled interfaces.
A properly designed, task-driven user interface guides a user through a process, resulting in a much better user experience. Modern applications typically have task-based user interfaces. A properly designed, task-driven user interface guides a user through a process, resulting in a much better user experience.
The easiest way to generate a task based UI is to protect all attributes/properties of your models. i.e. remove all setters.
From this (pseudo code):
public class TodoTask { public Date getDateAssigned(); public void setDateAssigned(Date); public string getAssignedTo(); public void setAssignedTo(string); }
to this:
public class TodoTask { public Date getDateAssigned(); public string getAssignedTo(); public void AssignTo(string userId); }
You can't create a basic CRUD app anymore. You have to perform a task (Assign()
) to update the model.
Start by removing all setters and then analyze what kind of actions (task) you should be able to do on each model.
Then you're all set.
I've blogged about it: http://blog.gauffin.org/2012/06/protect-your-data/ (scroll to the bottom to see mockups for CRUD vs Task based)
I think this would qualify as a Task Based UI.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With