I know it was asked a couple of times already and I've searched around
and found basically nothing so just checking in whether anyone knows
of a shopping cart solution or any other typical part of an ecommerce
solution based on tg that was perhaps developed since this question
came up last time.
Cheers,
Daniel
--
Psss, psss, put it down! - http://www.cafepress.com/putitdown
> --
> You received this message because you are subscribed to the Google Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.
>
>
In the meanwhile you can fetch it from here:
hg clone http://repo.axant.it/hg/stroller
You might find some bugs as it has not been tested on production and
it is a spare time project.
It is implemented as a library, to make it work inside your
application you must add:
INSIDE MODEL.PY
from stroller.model import init_stroller_model
Product, ProductInfo, Category, Order, OrderItem =
init_stroller_model(DBSession, DeclarativeBase)
INSIDE HELPERS.PY
from stroller.helpers import stroller_url, icons, category_icon
INSIDE WEBSETUP.PY
from stroller.model import setup_stroller_database
from stroller.model import init_stroller_model
init_stroller_model(DBSession, DeclarativeBase)
setup_stroller_database(DBSession, DeclarativeBase, User, Group)
INSIDE ROOT.PY
from stroller.controllers.ecommerce import StrollerController
**inside the rootcontroller**
shop = StrollerController()
you should then be able to access it from the /shop url of your
application. I'm sorry for the lack of documentation but as I said it
has been developed in a weekend rush and still pending some love
before a stable release :D
If you have any problem let me know
Hi, thanks a lot, this looks really great!
It uses tg2 and sqlalchemy, right? In the first approximation I was
looking for something for tg1 and sqlobject, but your solution also
helps because I can try porting it to tg1 and so. Or I can think about
moving finally to tg2 and sa? Maybe although I'm not sold on this idea
yet :)
go use SA. Really. I appreciat Oleg's work with SO, but SA is one of
the most outstanding ORMs and SQL toolkits in existence. Not only code-
wise, but also regarding documentation & support.
TG1 or TG2 don't matter, especially now that Pyramid is out there -
neithe is "the latest and greatest", but of course they work just fine.
Diez
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To view this discussion on the web visit https://groups.google.com/d/msg/turbogears/-/qWlVn56qNfAJ.