New recipe version
Hwangar - March 23, 2009 - 17:02
| Project: | Recipe |
| Version: | HEAD |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello to everyone,
time ago, I've been testing the Recipe module and though it was a great starting for the site I had in mind, it does not suit the thing I wanted so I began the work of rewriting... these are a few thoughts I made and if somebody is interested I won't have any problem in publishing my work:
- I separated the "Ingredients" to another module giving them a "node existence", just to allow creating pages about certain ingredient, making lists, etc. and created a vocabulary just to organize ingredients in similar sets
- Removed the export/import, it could be interesting in the future but just for me has no direct use
- Removed "Simple mode", adding more complexity to the code
- by the way, I've tested and valorated CCK with the experimental module Content Multigroup for collecting ingredients, but it would complicate a lot all the stuff I'd like to implement if the site grows
- Adopted ahah_helper module to allow shrink/growing the ingredient list on the fly via ahah, keeping the autocomplete searching in the ingredient list
- Divided the "instructions" of a recipe in a set of "steps"... more algorithmic
- Removed the recipe list... this is a stuff better accomplished by Views module
TODO's:
- Deciding the recipe search strategy to use... maybe using faceted search to reduce recipes??
- Adding a search by ingredients, just approximate recipes by a list of ingredients
I'd like to receive opinions about features to mount a Drupal-enhanced cooking portal
Greetings!
Hwangar

#1
These ideas sound interesting!
Are you talking about a new module, or an overhaul of the current Recipe module? I love the idea of some activity and momentum behind this module, as it forms the core of my own site, but some of these ideas sound like a pretty radical departure from what we have currently.
Personally I'd prefer for Recipe to make progress on the bugs and issues that have already been identified before launching into new territory. But your work sounds very intriguing!
#2
The truth is I'm developing a recipe portal, but though recipe is a great module for me to start, what I want is a step further and I prefer to waste time developing this stuff than waste anyway to migrate all the data... really what I have in mind is to replicate "with my own style", the functionality that has Cooking Mama, the NDS game, helped with other modules I have tested yet
I'll post my steps here if someone is interested.
Hwangar
#3
It is good to know there are other ideas/possibilities coming up regarding the recipe module.
I would not mind continuing with the current module, but it seems the developer is busy with other important issues & so things like some long known bugs (ingredients being omitted when previewing & also having to re-enter all ingredients in case of editing, etc have not been addressed in many months. This is a big issue for people making new recipe submissions. If I knew how to program, I would really help here).
So I am more than interested & you have my moral support.
I hope it will be easy to use like the current version. You mention involving the views module ... I hope that does not mean everyone having to deal directly with it - I must admit, I have never quite learnt how to use & this otherwise great module which has lot to offer. ;)
Regarding ideas, I have to think a bit.
Regards
#4
I've been using this module for a while now. I do like how easy it is to use but I have to agree that there are certain things that really don't make sense.
As far as functionality enhancements and overall features I think incorporating it more with CCK would be a huge step in the right direction. Apart from that some sort of interaction with a table that housed the USDA food data would be nice so calories and such can be calculated.
I somewhat clunk my way around PHP (more of a .NET developer), but if you need some assistance with something let me know and I'll do my best.
#5
Hwangar, can you post the code that you are working on? We can release it as the new dev branch. Then I can commit any patches you make to it in the future. My time to work on coding this is limited, but I have time to do the CVS work, and it seems there are others are interested in testing. One thing is that we need an upgrade path, to convert current implementations to the new database structure.
#6
Ok, as long as I have something to test I'll post it...
lionheart: you should be testing for me the 3 modules that make Drupal "different", and the really advantage to develope sites: in this order,
CCK (will be part of Drupal7 so... and for this concrete case is forgetting of the "title" of the recipe or the "calories" field, etc. users will define using CCK),
Views, or the ability to show "lists of stuff" and a lot of things more, giving users basic recipe listing, basic searchs, etc (for advanced as I said, for example Faceted Search, that integrates with CCK)
Panels, to control the design and look & field of the site
This 3 pillars combine perfectly, are in advanced and stable state, and the only thing we need to build an awesome cooking site is... the ability to deal with INGREDIENTS as recipe module does (adding some AHAH to append new ingredients "on the fly")
This is the idea I'm working in right now...
Greetings!
Hwangar
#7
I am not sure I like the ingredients to be done seperately. The problem is that it is VERY time consuming to enter in all of the ingredients individually. Maybe the option of entering the ingredients seperately vs entering them in as one text string would be cool. This way if someone is cutting and pasting the recipe they can just do it rather than taking another 10 minutes to add the ingredients seperately. I have worked with recipe sites before and the #1 factor is ease of use.
There is a good recipe site that you can check out ... http://www.atkinsdietmenu.net .... I believe this to have most of the features ( not all ) that one needs for a recipe site. It would be aweome to get all of those features into drupal.
#8
Also add a new recipe should show up on the main content screen along with the list of recipes. Or at least the option for it to appear. When there is a new install it is not obvious how to add the first recipes.
One more thing there should be some welcoming test for just the recipes ... Where you can post something like , Welcome to the recipe section of this site. Hope you enjoy the recipes. Please add a recipe when you can.
#9
I interesting for it and waiting for your post for test, Hwangar. I say more i need it for now ;)
#10
Subscribing. I'm curoious to see what Hwangar is doing, and I am interested in any progress related to this module.
#11
Sorry for the delay, I took a couple of weeks for holiday (visiting the highlands of Scotland :P), but I'm here again and I promise I'm working in a version that I hope I'll show you soon
Greetings
Hwangar
#12
Subscribed! hope to see something soon! great idea!
#13
Subscribed ;)
#14
any progress? subscribing
#15
I'm also interested in the new module,
#16
Me to!
#17
Feature request:
Please make it possible to upgrade the current recipe module to this new/alternative one.
It would be great to be able to take over content already submitted instead of having 2 co-existing recipe modules (new + old) / content types or abandoning the old with its content in favor of the new or having the new module limited only to new users.
#18
nice, I'm waiting on this one as well...
J.
#19
hgow can I test it? :)
#20
Any update on the timeline for this? Or how can we help move this long (chip-ins, patches, patch review, etc).
#21
All I really need is the basic functionality of a recipes site like this http://www.freerecipes.co.nz/. Only the basics but highly affective in my opinion. Ratings, Add to favorites, print recipe, email recipe, category/ingredient/cuisine - search etc.
#22
Subscribing
#23
look at my recipe site http://cookingclue.co.za/
It uses the standard recipe module, + some other modules
It works pretty well. Will add voting with fivestar and flagging later
Due to the use of taxonomy I will also have a food suggestion box using views and taxonomy
#24
Looks nice...
Which theme are you using?
This one is my sketch for family recipes.. lots of stuff still missing
I'm using CCK + views