I started working with Satchmo for a project of mine at the start of this
year but have been away from it and am just coming back to it now.  At the
time, I investigated custom products and came to the conclusion that
inheriting, as advocated by
http://thisismedium.com/tech/satchmo-diaries-part-one/, wasn't the correct
way to do it, due to reading
http://juanjoalvarez.net/es/detail/2009/jul/27/why-bad-idea-tm-override-product-model-satchmo/.
However, that was all a year to a year and a half ago, before 0.9.  Looking
at the Satchmo documentation just now, I observed
http://www.satchmoproject.com/docs/dev/custom-product.html, which gives a
link to the thisismedium post as an alternative way to do it.  I've seen
Bob's comments on Juanjo's article and have really just ended up somewhat
confused as to what works and what doesn't.

I also observed a thread in this list from May-June, Product
Inheritance<http://groups.google.com/group/satchmo-developers/browse_thread/thread/a754b57db2d70aeb>.
The patch he gives there doesn't seem to be in the hg tip, except for the
line which has appeared in the main documentation about the thisismedium
blog post, so I presume as indicated in that thread that it hasn't gone in
yet and won't till after 0.9.2?

I think  the answer is that currently it's a separate class?  I would much
prefer the structure of the inheritance method but can work with either.  If
I use the current structure and then have to (or can) switch to inheritance,
how hard would the migrations be?  (Would it be possible with South?  I
haven't used it yet.  It could be done via JSON without too much difficulty,
I imagine.)  And how long would you expect it to take before inheritance can
be used?  If it's in the order of a year or more I'll just continue doing it
the current way, but if it could be in in the next few months I'll work on
other parts of the project first (and/or wait).

Thanks,


Chris Morgan

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to