-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decoupling Django Shop from Django CMS #856
Comments
Hmm, good question. Initially django-SHOP was decoupled from django-CMS, but then I saw the need to integrate the possibility for arbitrary content into the product's detail- and even list pages. It turned out that both of them would benefit if tightly coupled. Anyway, currently I'm decoupling django-SHOP from django-angular, since AngularJS is dead. Maybe with django-CMS version 4 it might become easier to decouple django-SHOP from it. Let's see. |
Just wanted to say, that I am excited for the Django-shop version which will be independent of Django-angular. I am trying to implement flutter as my frontend client. |
Be assured, I'm heavily working on that. |
I imagine it's not going to be easy (or feasible) to decouple Django-CMS from Django-shop without completely changing the project's goals. |
I'm currently working on this. To get a first impression, please have a look at this library. On the long term, it shall replace django-angular. |
I've been using crispy forms. Is |
As for decoupling Django-Shop from Django-CMS, I think we'll need documentation explaining what Django-shop does itself, because the current "run the cookiecutter (which is frequently unstable)* and read the source" process is too opaque.
|
+1 for that. If you need help testing it or if there are some tasks, feel free to contact me. |
I think that django-cms and django-cascade in backend side and all frontend (node_modules: angular, bootsrap and etc) may be separate to different cases of django-shop usage. For example:
All variants is very good in defferent e-commerce apps. So, I think, we need net django-shop without dependencies. But with additional packages for using together with js framework or django-cms (or using together) and etc. For example, in my project I removed all dependencies listed above. And I gonna to build app with Vue. If you want I can show my results of removing dependencies later (now it's raw, WIP). |
@vivazzi But I really agree on replacing django-angular. Therefore I currently am working on django-formset, which will replace the latter. I will also try to integrate HTMX instead of AngularJS (or any other JS framework) components. |
Yes, I am agree with you: really many benefits of having django-shop integrated into django-cms. I had three apps that used django-cms + django-shop. Now I have other project, that is SPA using Vue. So I paid attention to dependencies. Anyway django-shop is awesome flexible app for e-commerce, that I use! Thanks for your hard work! About HTMX - this sounds very interesting. I don't know about it very well, but I think this as variant is good. I always follow the django-shop |
What do the community think about decoupling Django-cms from django-shop.
I found django-shop useful for my ecommerce website, however I am not using django-cms at all.
For whatever cms pages we needed, we had already integrated wagtail and moving to django-cms was not fisible.
I wanted to avoid all the cms dependencies. But can't do it without breaking the shop. So i endup forking django-shop and comment out cms code.
Now there is a possibility of bringing in CMS code in a pluggable manner.
I want to understand from community if it will be useful to decouple CMS?
The text was updated successfully, but these errors were encountered: