Looking for advice on how to approach a feature
Im making a recipe database website where the idea is to group together similar recipes for the same dish and the most popular version of the dish is what is return on search results. Ive got a system in place that assigns a score to a recipe based on user's interactions with the recipe (saving, commenting, rating, etc). Also using the ancestry gem to create a heirarchy of the recipes based on that score. What I'm having issues trying to figure out is a way to initially group the recipes into a heirarchy when they are created. I've got a couple thoughts on approaches but nothing figured out yet. Here are my main two thoughts:
- Full-Text Search. Basically what Im thinking is I could use the title and ingredient names to do a full text search of all the current leading recipes (only the most popular in the groups) and pair it with the best return. What Im not sure how to do is know how well a recipe matches and choose the best recipe to match it with
- Tagging Search. Im already implementing tagging for other features, was thinking could do a tag search and pair it with similar cuisine, courses, titles, etc. and find the recipe with the most similar tags.
Looking mainly for a discussion on ways to approach this problem. The ultimate goal is to create a recipe site that shows you the most popular version of a recipe, while allowing you to still make changes or look at other options.
You are not going to like my idea, but I think the best way to handle this is to do it manually. Each night, just log in and do housekeeping. Once you have a few hundred recipes, the number of new one should go down drastically and people are simply going to create variation of existing ones.
The amount of time you are going to spend trying to build a system to do it automatically is probably not worth the effort. You better invest this time in polishing the rest of the app.
As developers, we see code as the solution to everything and it makes us lose sight of the end goal.
The amount of time you are going to spend trying to build a system to do it automatically is probably not worth the effort. You better invest this time in polishing the rest of the app.
As developers, we see code as the solution to everything and it makes us lose sight of the end goal.
I now use the KISS methodology, least amount of moving parts to get something to initial production release and achieve the singular main goal, then start adding the features that were 'glorious' that you thought about during the build process.
If you asked me last week when I thought my app would be release, I would have said 2 weeks. If you ask me today, I will say 2 weeks again ;-) At least now I am wasting time trying to find problem pictures, icons and colors. And an even bigger time sink: writing the landing page, about, etc...
All that being said, cant wait for it to be in a presentable state to show it off ;-)
Yeah I agree, sometimes my desire to make a completely hands off website that will allow me to just sit back and tweak features and the look goes a little crazy....I guess it wouldnt be too hard (at least at the start when there arent many users) for me to manually go in and look at the recipes and assign it to a parent recipe (if one matches).
And I feel you with the landing page, about, etc.... I hate doing those so much
And I feel you with the landing page, about, etc.... I hate doing those so much
Notifications
You’re not receiving notifications from this thread.