GSoC/GCI Archive
Google Code-in 2012 The Fedora Project

Task A02 – Implement Interface and Logic for tbl_Regions

completed by: AnimeshT

mentors: bckurera

Design an interface with controllers (No need of formatting with CSS just use controllers).

Form Title : Add new Region/ Entity

1.  Field Name - Region

1.  Value – String of 50 characters with only alphabetic characters.

2.  Field Name – Description

1.  Value – Some strings with 500 characters max. No < > * { } $ characters can be included.

3.  Field Name - Remarks

1.  Value – Text

Then refer to https://fedoraproject.org/w/uploads/1/12/ER_Model.PNG for the tbl_Regions table. Using PHP develop a script that fetch entered values from the designed interface and store in tbl_Regions table. Data validation should be performed in both interface level and script level.