[Saute-develop] Re: Split of saute.pl
Status: Alpha
Brought to you by:
heiseltc
|
From: Conan H. <hei...@ya...> - 2001-09-03 16:21:09
|
Ok, this is kind of wild. Do you read Perl Monks? I just asked a question about this (http://www.perlmonks.org/index.pl?node_id=109616&lastnode_id=6364). I'm definately all for the modularization of the code, but I'm not versed in object oriented design enough to make a decision of how best to do it. Since this is a pretty significant change, and one that will probably remain for the rest of the code's existence, I'd like to have the opinions of everyone else on the list. The question is not so much should we split up the code but how we should do so. conan. --- "Olivier.Roch-Vilato" <Oli...@wa...> wrote: > Conan, > > > like i said in my last mail, i took some time to comment and clean > up (no more 'categorie') the code, > since saute.pl started to be quite long,i split it in 4 parts : > > queries.pl contains all functions which query the database > (get_measures_list, get_categories_list, ...) > categories.pl contains functions which deals with the edit > categories window > recipes.pl contains all functions which deals with recipe > (new/edit/delete/...) windows > saute.pl contains all functions which deals with the main window. > > each of these files is a package. > > > I think it's clarify the code, but if you don't agree with it or > have a better idea, let me know. > > > A+ > > Olivier > > > > > CHANGES: > Split saute.pl in 4 parts : > queries.pl > categories.pl > recipes.pl > saute.pl > > Add comments. > > Simplify add_ingredients. > > Delete confirmation and add ingredient windows are now > modal (they must be closed before any other action) > > > > > > > > > > > > > > > > > ATTACHMENT part 2 application/x-compressed name=saute.tgz __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com |