This should certainly be a plugin. I've written a fair amount of documentation on the plugin system on the wiki that can be found here: https://sourceforge.net/apps/mediawiki/grecipe-manager/index.php?title=Plugins

That documentation is a bit dated (some of it still makes it sound like the plugin system is in the midst of being implemented -- in fact, it is now completely in place). However, the basics are right and it will give you a good place to start.

A menu planner shouldn't require any changes to the core code -- just writing the plugin (though of course you may find and fix some bugs in the main code as you build the plugin, which is always a boon).

I would think that stage 1 would be to write the basic interface, either as a separate window that comes up through the "tools" menu or as a tab in the main interface (the same way the "browser" is a tab there). Stage 2 would be to write a database plugin to add necessary tables to the database for storing menu planning data (if that seems too complicated, you could start by just writing data to a text file or something and then write the DB plugin later).

One thing you might want to use as you get to know the code is the "python console" -- this gives you a live python shell inside a running Gourmet. If you're someone who likes to learn by fiddling, it's definitely a handy tool to have.

Tom


On Sun, Nov 22, 2009 at 2:31 PM, Gil Forcada <gforcada@gnome.org> wrote:
Hi,

I would like to help improve the Grecipe gourmet manager by letting the
users create their daily menus based on the recipes already entered on
the program.

Apart from the idea, some Python experience and not so much time to
spend on it, could you give me some pointers on the best way to do it?
As a plugin? On the main code itself? Mixed?

Cheers,

--
gil forcada

[ca] guifi.net - una xarxa lliure que no para de créixer
[en] guifi.net - a non-stopping free network
bloc: http://gil.badall.net


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Grecipe-manager-devel mailing list
Grecipe-manager-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grecipe-manager-devel