Skip to content

This work presents an implementation of the MVC (model-view-controller) software architecture, using a car repair agency as the application's domain.

License

Notifications You must be signed in to change notification settings

alexandreclem/MVCapplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application using the MVC Architecture

What it does?

This work presents an implementation of the MVC (model-view-controller) software architecture, using a car repair agency as the application's domain.

MVC Architecture

Application

NOTE

The application was primarily aimed to portuguese speakers, so the GUI and the code have a lot of portuguese words and phrases.

How to run?

  • Clone the Repository

    $ git clone https://github.com/alexandreclem/MVCapplication.git
  • Compile - creates the binaries (.class)

    • Within the src directory, run:
      $ javac -d ../bin ./model/*.java
      $ javac -cp ../bin -d ../bin ./controller/*.java ./persistence/*.java
      $ javac -cp ../bin -d ../bin ./view/*.java
      $ javac -cp ../bin -d ../bin ./main/*.java        
    • A new directory bin with all compiled files will be created inside the project root directory
  • Execute

    • Within the src directory, run:
      $ java -cp ../bin main.Main
  • The data directory:

    • This folder stores the application persisted data (serialized objects)

NOTE

All the files are already compiled and ready to execution, moreover, is presented a previously created data.bin for tests. That is, you can test the application just by doing the "Execute" phase from the last section.

How to use?

The first view is the Menu, in which you can choose:

  • Catalog

    • Creates categories and items (products or services) that intends to be used by the agency to fix the cars
  • Clients

    • Add or remove clients from the system
  • Employees (Funcionarios)

    • Add or remove employees from the system
  • Vehicles

    • Register vehicles and add services that must be done on these vehicles
  • Service Orders (Ordens de Servico)

    • Creates the service orders that can be used in the vehicles view

About

This work presents an implementation of the MVC (model-view-controller) software architecture, using a car repair agency as the application's domain.

Topics

Resources

License

Stars

Watchers

Forks

Languages