Re: Advice for new Dev - package or roll own
I think it does make sense to plug a shop app in the project rather than making something from zero, if the project has that much need for customization than it would make sense to use a more lightweight app.
Same question could be asked if it make sense to develop my solution using a framework like django or to make my own?
Either way even a more complete solution like satchmo shouldn't be a burden to integrate in your project, just don't try to copy the code and change it, (you could miss future updates or buy the headache to merge your fork all the time) rather you can easily plug in.
for example:
If you need some custom fields in the product model, instead of changing the shop model you can create your own in your models.py with the extra fields you need and add a foreign key to the shop product model.
success
On Thu, Oct 24, 2013 at 8:25 PM, James P <testdevprod@gmail.com> wrote:
A little help / advice is needed here.--
I am getting back into web development since before the days of nice frameworks and decided to learn Python and use Django to get my web app going. My app has quite a few e-commerce features, but the cart/ordering/shipping/tracking aspect of my app is maybe 20% of the code, the rest is based on custom business logic. My question is this:
I've done some research on Django packages like Oscar, Satchmo, Django-shop etc. heavyweight to lightweight packages. But since I have quite a bit of design that goes beyond simple cart/ordering logic: Does it make sense to learn how to integrate a new package into my design vs. roll my own? I've done shopping cart/etc before, but I would like to shave time off the development if I can. But I am still learning all the ins and outs of Django, the ORM etc. I don't want to spend 2 weeks learning how to integrate a Django package when I could just spend 2 weeks rolling my own. But maybe I'm mistaking how much work it will take to roll my own cart/ordering/tracking logic.
I have done it before in Java/jsp completely by hand, it was somewhat onerous but I am now running with the assumption that Django will allievate some of the pain I used to go through with all the BS CRUDS, home-made MVC logic I had to do back in 2001.
Thanks!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eced6cd4-c093-4293-98fa-122155b8055e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6tJogqiBN6nbqgbr6nPxAGoarfhtZpg14URrcJXVRTH7bg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home