mvc-ui-embeded
This is the repository for implementing actual system with real UIs
GitHub has replaced their keyword 'master' with 'main'. Then the master branch will become main branch now onwards.
Desired Working Progress
- clone the dev branch of this repository using 'git clone' command (make sure to clone into your htdocs folder).
- make your own local development repository (ex:- if your name is Nimal make a branch such as nimalDev or something entends the username).
- continue your part within the dev branch created at the obove step (ex:- nimalDev).
- after a successful commit please make sure to pull from the dev branch of the original repo using 'git pull origin dev' command.
- please fix any conflict error exists.
- then push it to your own origin dev branch using 'git push origin yourDevBranchName' command (ex:- git push origin nimalDev).
Be aware
- Don't try to work in others' branches.
- Never work/push with tha main branch (master branch) without informing group members
[TIP !] Sometimes the browser doesn't reload newer CSS. Just Shift click on Refresh icon. It works on Chrome.
! Please update following list of Models, Views, Controllers each time you make changes
Controllers & Methods
-
admin
- index => (Useless)
- crops
- collectingcenters [must be collectingCenters]
- admins [ retrieve all registered admins ( + routing)]
- toofficer [must be toOfficer]
- toadmin [must be toAdmin]
-
dashboard
- index
- xhrInsert
- xhrGetListings
- xhrDeleteListing
-
error
-
help (Used to demonstrate passing data array to views, no relation to this project)
- index
- other
- vcon (array passing to view)
-
index (default controller)
- index => Rendors index/index method
-
user
- index
- register
- create
- edit
- editSave
- delete
- login
- loginusr
- logout
-
vendor
- index
- register
- viewVendor
- delete
- vendors
-
farmer
-
officer
- cropReq
- damageClaims
- reports
- notifications
- register
-
collectingCenter
- register
- create
- edit
- update
-
crop
- index
- register
- create
- crops
- edit
- update
Models
-
admin_model
- tooficer [must be toOfficer]
- toadmin [must be toAdmin]
- vendorList
- centerList
- delete
- farmerList
-
collectingcenter_model
- create
- singleCenterList
- update
-
dashboard_model
- xhrInsert
- xhrGetListings
- xhrDeleteListing
-
farmer_model
-
officer_model
-
user_model
- create
- editSave
- delete
- loginto [must be logInto]
- userSingleList
-
vendor_model
-
crop_model
- create
- singleCropList
- crops
- update
- delete
Views
-
header.php
-
footer.php
-
admin
-
dashboard
-
error
-
help
-
index
- index.php => welcome message
-
user
- edit.php
- index.php
- login.php
-
vendor
- index.php
- register.php
- view.php
-
crop
- crops.php
- edit.php
- register.php
random text