* Tuesday, April 10,  E51-372 - Revisting the Dread CGI -- The Uri

 CGI refactored before and after

As many of you have known and seen, Uri Guttman will do code review on the
fly with anyone's code on display at pm meetings. This may seem frivolous
or whatever but it is can be useful in many cases. He has a client for his
Perl support/training services which entails lots of code and design review
and it has proven very valuable to this shop. He has obtained permission to
show one CGI script in its before any review state and after much review
and refactoring. The author of the script did almost all of the editing and
rewriting but for one sub rewrite that Uri did because it was more complex
than the author could handle. The script went through 14 revisions and it
still isn't where it should be (that means using a proper template module
like Template::Simple) but it is light years from where it was. This talk
is being called before/after. You will see some of the worst coding and
template practices ever unleashed at a boston.pm gathering. You will be in
shock at the use of globals, the lack of subs, and the redundant everything
everywhere. Then the tranquility of the after version will calm your
senses, sooth your jangled nerves and show you there really can be order in
this chaotic universe. Be prepared for coding hell and heaven! Fun is
guaranteed for all!

   -

   Our WIKI http://boston.pm.org/kwiki/

     * Tech Meetings are held on the 2nd Tuesday of every month at MIT
   (directions http://boston.pm.org/kwiki/index.cgi?MITDirections ).
         o NOTE - Sometimes the lot has filled early, overflow is to
   Hayward lots (avoid MEDICAL RESERVED spaces!). See alternatives
   http://boston.pm.org/kwiki/index.cgi?MITDirections

   RSVP for count encouraged but not required, to mebill.n1...@gmail.com
   or Boston-PM list, by 3pm Tuesday.

   Talk begins at 7:30. Refreshments in the hallway prior.

-- 
Bill
@n1vux bill.n1...@gmail.com
_______________________________________________
Boston-pm-announce mailing list
Boston-pm-announce@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm-announce

Reply via email to