Escolar Documentos
Profissional Documentos
Cultura Documentos
Pim-7
Pim-7
2016
UNIP INTERATIVA
1505231 - 1500492
2º Semestre
2016
RESUMO
Com esse cenário, é possível garantir uma documentação que facilite o trabalho dos
desenvolvedores e arquitetos envolvidos com o sistema. A metodologia utilizada
para a elaboração foram as aulas de ‘Projeto de Sistemas Orientado a Objetos’.
ABSTRACT
This document shows a project that has systems aspects of object-oriented, aiming
to create a structural documentation of a system for a company specializing in car
rental. This system controls the locations of each customer returns, if it was delivered
on time or not, makes the calculation of the fine and sends the amounts to be paid.
The entity relationship diagram and shows the definition of database entities that
have been incorporated through the class diagram model, in addition to the
definitions of the data types and the relationship between the entities.
The activity diagram must be the method used by the system, called 'calcularMulta
()', which calculates the value of a fine if it is implemented. This diagram shows the
flow of this method, its logic, the conditions and the return.
The distribution diagram is represented by the devices used in the system, as they
are interconnected, what are the layers, types of connections and types of
components (executable, interface, databases).
Finally, the MVC architecture shows the relationship between the Model, the View,
and the Controller, as well as methods, events, and requests each, and how the
classes are divided between them.
With this scenario, you can ensure documentation to facilitate the work of developers
and architects involved with the system. The methodology used for the preparation
were the classes 'Systems Object-Oriented Design'.
SUMÁRIO
1 INTRODUÇÃO
2 ARQUITETURA MVC
7 DIAGRAMA DE DISTRIBUIÇÃO
8 CONCLUSÃO
9 REFERÊNCIAS
6
1 INTRODUÇÃO
Dois empresários jovens decidiram abrir uma empresa para realizar locação de
veículos. Dentre as diversas atividades programadas, uma delas foi criar um
sistema para controlar as locações (devolução, pagamentos, multas), e para isso
eles contrataram uma empresa especializada em desenvolvimento de software.
Essa empresa já concluiu a fase de análise de requisitos, e agora será a vez da
fase de projeto (design).
2 ARQUITETURA MVC
7
O modelo de arquitetura MVC abaixo, mostra que as classes que estão na View, como
exemplo a VeiculoForm, envia eventos de usuários ao Controller e também pode
solicitar atualizações do Model. O Controller mapeia as ações de usuário para
atualizar o modelo e faz a seleção de várias Views. O Model faz o
encapsulamento do estado da aplicação e traz notificações para View sobre as
mudanças de estado. A classe ‘AplicaçãoFachada’ faz a segurança, garantindo a
proteção da View e da Model, com comunicações com sistemas externos,
gerenciando essa comunicação.
É mostrado a interação entre o cliente e a locação, bem como o veículo, além das
multiplicidades e a interação da View com o Controller, previstos no modelo
de arquitetura.
15
7 DIAGRAMA DE DISTRIBUIÇÃO
22
8 CONCLUSÃO
23
9 REFERÊNCIAS
24