Difference between revisions of "HOWTO migrate a CGI"

From WormBaseWiki
Jump to navigationJump to search
(New page: conversion outline: 1. create model and controller script/wormbase_create.pl controller Your_class script/wormbase_create.pl model Your_class 2. rip code from CGI, marking cleared c...)
(No difference)

Revision as of 20:50, 10 February 2008

conversion outline:

1. create model and controller

 script/wormbase_create.pl controller Your_class
 script/wormbase_create.pl model Your_class

2. rip code from CGI, marking cleared code (#++) and problem code (#--)

3. add configuration for widgets and fields to WormBase.pm

4. add get_object method to controller

5. freeze CGI if warranted and commit to CVS.