[f] CGI::Application code should have only run_modes

Bug #396363 reported by Dan MacNeil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MVHub
Confirmed
Low
Unassigned

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  affects mvhub
  tag refactor

There is a fair amount of duplicate code that will be more visible if
CGI::Application modules have only run_modes

all email is in:

 MVHub::Utils::Email::Send

all db stuff (not including queries which go in SQL::Library ) in:

  MVHub::DB::Insert
  MVHub::DB::Select
  MVHub::DB::Update

etc / etc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpS0l8ACgkQLzI3mETyffyNQACeMHAcAAaxTAX3le3H7peh5BS1
2JkAn3vWmQINX0H/rzleSmucuQV33h7v
=Sg5A
-----END PGP SIGNATURE-----

Tags: gsoc refactor
Revision history for this message
Swetha (cswetha25) wrote :

what is a run mode?

Changed in mvhub:
status: New → Incomplete
Revision history for this message
Dan MacNeil (omacneil) wrote : Re: [Bug 396363] Re: [f] CGI::Application code should have only run_modes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A run mode is a method() of a CGI::Application class that is designed to
handle particular mode or phase of a web application. It is usually
invoked by URL like:

  http://mvhub.com/cgi-bin/guide/guide.pl?rm=browse_headings

...or a hidden field in a form.

for more info see:

 man CGI::Application

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKYNjcLzI3mETyffwRAtKgAKCij10zOTQHZtKwGFG+gUsZXKX1swCfdt7x
QoJNMy3EwqhZtK+3a3v/0iY=
=ylSL
-----END PGP SIGNATURE-----

Dan MacNeil (omacneil)
Changed in mvhub:
status: Incomplete → Confirmed
importance: Undecided → Low
tags: added: gsoc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.