1351
Примеры / Re: Модель прецедентов использования - практический вопрос
« : 12 Апреля 2012, 14:36:34 »
Мне понравилась книга Use Case Modeling by Bittner K., Spence I.
В этом разделе можно просмотреть все сообщения, сделанные этим пользователем.
Конкретный пользователь получает нужные роли (группы доступа) при настройке прав доступа.Полностью согласен.
Тогда роль Автор позволяет только CRUD Tрансляцию, а роль Модератор - только Модерировать Трансляцию (модерирование не имеет ничего общего с CRUD. В противном случае у вас получится, что Модератор может создавать и править трансляции от имени других пользвателей, что вряд ли приведет их в восторг.)
Если надо показать, что любой пользователь может получить обе эти роли независимо, то нарисуйте слева от человечков Автор и Модератор еще человечка Пользователь, и проведите к Пользователю от двух других стрелочки Генерализация.Да именно об этом я и пытался сказать ниже
Если уж нужно, тогда следует выделять промежуточное обобщение от которого наследуются и автор и модератор.
А я вот с Эдуардом не соглашусь...1 вариант я вообще не стал обсуждать. он не верен изначально, также как и второй. И первый и второй ошибочен. Впрочем я высказал свое мнение, холивары устраивать не буду. Просто нужно следовать логике языка, его синтаксису, семантике и прагматике.
Use Case: CRUD Task
Brief Description
The use case registers, modifies, or cancels the information about a task to be performed as stated in information received from the Task Definer.
Basic Flow
The use case has four different basic flows:
Register Task
Modify Existing Task
Cancel Task
View Tasks That Failed
REGISTER TASK
The use case starts when the Task Definer chooses to register a new task. The use case presents a list of possible kinds of tasks to the Task Definer, and asks what kind of task is to be registered, what name it is to be assigned, and when it is to be performed.
The Task Definer enters the required information. The use case checks whether the specified time is in the future and whether the name of the task is unique.
The use case registers a new task in the system and marks the task as enabled.
The use case ends.
MODIFY EXISTING TASK
The use case starts when the Task Definer chooses to modify an already registered task. The use case retrieves the names of all the tasks not marked as active and presents them to the Task Definer.
The Task Definer selects one of the tasks. The use case retrieves the information about the task and presents it to the Task Definer.
The Task Definer modifies any of the presented information except the name of the task.
The Task Definer accepts the information. The use case checks whether the specified time is in the future and, if so, stores the modified information.
The use case ends.
CANCEL TASK
The use case starts when the Task Definer chooses to cancel a task. The use case retrieves all the tasks not marked as active.
The Task Definer selects one of the tasks. The use case retrieves the information about the task and presents it to the Task Definer.
If the Task Definer confirms the cancellation, the use case removes the task; otherwise, no modifications are made.
The use case ends.
VIEW TASKS THAT FAILED
The use case starts when the Task Definer chooses to view a list of all the tasks that have failed. The use case collects all the tasks with the status failed and presents their names to the Task Definer.
The use case ends.
Alternative Flows
CANCEL OPERATION
The Task Definer may choose to cancel the operation at any time during the use case, in which case any gathered information is discarded, and the use case ends.
INCORRECT NAME OR TIME
If the name of the task is performed not unique or the time is not in the future, the Task Definer is notified that the information is incorrect and is requested to re-enter the incorrect information.
The Task Definer re-enters the information. The flow resumes where the check of the information is performed.
а есть такая в электронном виде, желательно pdf или rtf?google, но только первое издание
В интернет-магазине http://my-shop.ru/shop/books/653522.html?partner=00519 появилась новое издание 2011 года. Заказал его. По цене намного дешевле, чем в Озоне.
Прошу прощения, а тема еще обсуждается или уже все забыли? а то почти 5 лет прошло, а у меня вопросик...Конечно, не акутальна, но задавайте, может отвечу. Кадрами все равно занимаюсь
Мне кажется было бы интереснее силами форума подредактировать текст да издать книгу.Спасибо еще раз, но издавать и даже распространять в том виде как есть к сожалению нельзя. Права на книгу ни вам, ни нам не принадлежат. Т.е. для ее издания нужно их приобретать у автора или у издательства. Вообще не знаю как в этих случаях поступают
ух, какая тут оживленная дискуссия.. =DВидимо не туда попали с вопросом