CGI Development - Multiple Entry or Dispatch
scottp at dd.com.au
Sat Nov 2 23:29:03 CST 2002
When developing CGI, wether via web application style (ala Mod Perl) or
individual (ala CGI) you get the choice of having multiple entry points
or a dispatch.
Most programs never go for complete multiple entry. Usually you will
get a CGI script to view, edit and save an entry of some type (eg: in a
database). So even multiple entry points have at least some dispatch.
An alternative is to have a single entry point for an application,
where you have a dispatch (usually around the rest of the PATH) to
decide if you want to list vs edit vs save etc.
Do people have an opinion on what is the better way and why? What would
you recommend if you were developing all over again ?
Anthropomorphic Personification Expert
scott at cpan.org
Dismaimer: While every attempt has been made to make sure that this
email only contains zeros and ones, there has been no effort made to
guarantee the quantity or the order.
More information about the Melbourne-pm