“e-Registration” Documentation by “CiptaWeb” v1.0


“e-Registration”

Created: 06/24/2017
By: CiptaWeb
Email: 6dayin8@gmail.com

Thank you for purchasing my application. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!



Table of Contents

  1. CodeIgniter Database Configuration
  2. CodeIgniter Model Structure
  3. CodeIgniter View Structure
  4. CodeIgniter Controller Structure
  5. Android Structure
  6. Android Configuration
  7. Sources & Credits

A) CodeIgniter Database Configuration - top

After copy the project, please do not forget to change your database configuration. Go to [project folder]/application/config/database.php change the configuration with your database server.

database.php
CodeIgniter Database Configuration



B) CodeIgniter Model Structure - top

This model use five methods, there are "getByQuery", "insert", "insertRet", "update" and "delete". Here is the explanation

  1. getByQuery. to select the data.
  2. insert. to insert the data.
  3. insertRet. to insert the data and return the id.
  4. update. to update the data.
  5. delete. to delete the data.
Dataaccess_mdl.php
CodeIgniter View Structure



C) CodeIgniter View Structure - top

This application is a fixed layout with header, menu and main. All of the information within the main content area is in folder "view/pages" and user template in folder "view/template" and the file is "table_incld.php". The menu content is in folder "view/template" and the file is "menu_incld.php". The header content is in folder "view/template" and the file is "header_incld.php". Here is the printscreen.

table_incld.php
CodeIgniter View Structure


menu_incld.php
CodeIgniter View Structure


main_incld.php
CodeIgniter View Structure



D) CodeIgniter Controller Structure - top

We created the contoller with standarization and the code adheres to PSR standards. Every contoller user our method standarization, there are "index", "gridview", "generateId", "form", "save", "view" and "delete". Here is the explanation

controller.php
  1. index. in this method you should provide the data for the main page.
  2. gridview. to show into the table, you should retrieve data from database and declare it in this method.
  3. generateId. this method is a function to generate id or unique id.
  4. form. to show data and form that you can insert and update.
  5. save. this method will save the data to the database.
  6. view. to show data.
  7. delete. this method will delete the data.
Android Structure



E) Android Structure - top

We created the Android Structure to make application clean and easy to develop, here is the structure

  1. Controller/. to select the data.
  2. DataAccess/. to insert the data.
  3. Helpers/. to insert the data and return the id.
  4. Libraries/. to update the data.
  5. Models/. to delete the data.
  6. Views/. to delete the data.
  7. BaseActivity. to delete the data.
  8. BaseApplication. to delete the data.
CodeIgniter View Structure



F) Android Configuration - top

CodeIgniter View Structure

Here are the dependencies of the apps.

CodeIgniter View Structure

Here are the parameter static or we call it "Global Parameter", we use it for all class. Please do not forget to change parameter SERVER_URL and FOLDER_SAVE with your own.

CodeIgniter View Structure

Here are the android configuration.






G) Sources and Credits - top

I've used the following framework and theme as listed.


Once again, thank you so much for purchasing this application. As I said at the beginning, I'd be glad to help you if you have any questions relating to this application. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on CodeCanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.

CiptaWeb

Go To Table of Contents