Skip to content

quick_overview_of_application

Krishna Prasad edited this page Dec 11, 2015 · 7 revisions

#Convention over Configuration This is a framework where we can configure a CRUD based application and start entering data. Let me demonstrated this with an example. Let us say we want to implement a Vendor Management system, this needs entities as below,

  • Supplier list
  • SOW list
  • Project list
  • Team member list
  • Vender relationship table
  • Team member location table

We can create a quick properties file will attributes of each entity as above,

vendor_management.project=Crud#name:project_code,project_type,start_date#supplier,sow vendor_management.supplier=Crud#name,supp_code#country:location vendor_management.sow=Crud#name:sow_code,description# vendor_management.country=Crud#name,country_code# vendor_management.project_rule_lookup=Rule#citizenship_date#project,supplier,country:citizen vendor_management.team_member=Crud#name,emp_code vendor_management.citizenship_rule_lookup=Rule#citizenship_date#team_member,country:citizen

vendor_management indicates that is is for a Vendor Management application

project, supplier indicates the entity itself. Each of the entity can be of 2 types Crud or Rule. Crud forms are Create, Read, Update, Delete forms and Rules are rule lookup forms. If you run the below command in the "spring_boot_form_builder/formbuilder_h2_parent" mvn clean package -DskipTests, it will build the application and is ready to go.

If you want to test the application go to spring_boot_form_builder/formbuilder_ui and run java -jar target\formbuilder_ui.jar and open the browser and enter http://localhost:8080 and you will see the below screen,

#Read Screen:

Read Screen

#Edit Screen: Edit Screen

Clone this wiki locally