It’s alive

In a clunky Frankensteins sort of way. Recipes can be created and attached to a user. Ingredients can be added to said recipe. At the moment all recipe ingredients are shared between all users… I’m not sure how I feel about that. A recipe ingredient is a more specific ingredient. It adds Manufacture, Quantity and Unit of Measurement… the more I think about it those last two may belong somewhere else. Anyway. An ingredient would be something like DME, while a Recipe Ingredient would be something like 2 cups of Briess DME.

The nav is still incredibly clunky. Hopefully Chris has had some time to think about what navigation should look like. Next tasks is to figure out if the measurement stuff should move out of the recipe class itself and into a helper of some sort. I’ll also make it so recipe ingredients aren’t shared between users (may hap we will have some common pool of them and then you make them your own).

The other task I’ll tackle is the ability to add steps to a recipe. This should get recipe creation all done and I’ll have produced something capable of storing recipes per user that can be searchd by everyone.

One thing I’ve done, that I’m not sure what to do about is allow recipes to be created by an unregistered user. This is cool, and they can create it and add ingredients and all that. The thing is they can’t come back and edit it later. Once they click ‘save’ that’s the ball game. I’m officially soliciting suggestions. One thing I was thinking bout is using gravatar’s. They have the ability to bind a session to an IP which is kinda cool, and it just looks like it would be a neat thing to integrate. I don’t think they provide anything I couldn’t get with a session cookie or the like…. but eh… why not. Other ideas appreciated. Should I just restrict recipe creation to registered users (not wild about that).

Also, wordpress has this autosave feature that turns spell check off (when using the wyswig editor)… anyone know how to disable that?

1 Comment »

  1. Jeremy said,

    June 20, 2008 @ 5:44 pm

    I was looking at gravatars a few days ago, and thought the identicon part was cool. I didn’t see anything to actually get a session process out of it though.

RSS feed for comments on this post · TrackBack URI

Leave a Comment