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

Task A04 – Implement Interface and Logic for tbl_Trac

completed by: GLaDOS

mentors: bckurera

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

Form Title : Add new Trac info

1.  Field Name - TracName

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

2.  Field Name – Description

1.  Value – String with 100 max.

3.  Field Name – Status

1.  Value – String with 100 max.

4.  Field Name – Group

1.  Value – String with 100 max.

5.  Field Name – Remarks

1.  Value – Text


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