Giter Site home page Giter Site logo

Comments (11)

jrief avatar jrief commented on August 12, 2024 7

I am excited for the Django-shop version which will be independent of django-angular

Be assured, I'm heavily working on that.

from django-shop.

vivazzi avatar vivazzi commented on August 12, 2024 1

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:

  • django-shop (simple usage)
  • django-shop + cms + django-cascade
  • django-shop + js framework (vue, svelte, react and etc.)

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).

from django-shop.

jrief avatar jrief commented on August 12, 2024

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.
I also love the idea that the catalog can be organized a CMS pages.

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.

from django-shop.

ngaurav avatar ngaurav commented on August 12, 2024

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.

from django-shop.

sniku avatar sniku commented on August 12, 2024

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 would be thrilled to see Angular decoupled from Django-shop. I had to fork the project to work around some of the issues with Angular (and hardcoded js in python files). It would be great to have the frontend completely decoupled from the backend services.

from django-shop.

jrief avatar jrief commented on August 12, 2024

I would be thrilled to see Angular decoupled from Django-shop.

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.

from django-shop.

greyhare avatar greyhare commented on August 12, 2024

I've been using crispy forms. Is django-formset compatible with that? And we're performing validation at the backend, too, right?

from django-shop.

greyhare avatar greyhare commented on August 12, 2024

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.

  • "unstable" as in "often breaks in interesting ways during pipenv install or during initial fixture load, the latter being very frustrating because it fails silently and deletes cookiecutter-generated files (ignored by .gitignore, too, so checking it in won't save you) so it cannot be rerun without starting over from a clean cookiecutter run." I've spent days trying to fix that.

from django-shop.

markusmo avatar markusmo commented on August 12, 2024

I would be thrilled to see Angular decoupled from Django-shop.

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.

+1 for that. If you need help testing it or if there are some tasks, feel free to contact me.

from django-shop.

jrief avatar jrief commented on August 12, 2024

@vivazzi
I actually see many benefits of having django-shop integrated into django-cms.

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.

from django-shop.

vivazzi avatar vivazzi commented on August 12, 2024

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

from django-shop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.