Database: housing/database/mysql/housing.sql;
this project front end initially created with Angular 7, but deprecated and changed back to laravel blade.
mainly consist of Model,View,Controller (MVC).
Model & Table shared same attribute since both indicates object related to real world
Model/Table :-
- houses // list of house record
- states // list of state
- system_parameter
- parameter //Not Used since the relationship not working (last time when i did for laravel 5.4/5.5 its work)
- agents
- cities
this project used only HomeController and have these function:-
- index(), load in initial state
- search(), trigger when user search/filter
- getParameter(), features to derive filter listing option in
parameter
(table) based onname
onsystem_parameter
(table)
View only consist one blade
- welcome.blade.php ( since structuring directory will be time consuming, i didn't structure properly)
Used only in: Form: Line 102 - 149 House Listing: Line 151 - 200
To Create another Filtering Option,
- you may create another table if the attribute is not support by system_paramter/paramter optionlisting or
- you can just add in a new record in
system_parameter
and insert listing inparameter
, and the id number would be used in as fk column in thehouses
table
Documentation for the framework can be found on the Laravel website.