Creating a single page app

35 views
Skip to first unread message

Md.iftequar iqbal

unread,
Sep 6, 2018, 10:35:40 PM9/6/18
to Django users
Can we create a single page app that performs CRUD(Create, Read, Update, Delete) operations by using class-based views

Andréas Kühne

unread,
Sep 7, 2018, 1:04:52 AM9/7/18
to django...@googlegroups.com
Short answer - yes it's possible, but not optimal.

Long answer:
A single page app isn't really dependent that much on the view that you use but rather some sort of javascript frontend. You will need to use a js frontend like Vue, React or Angular. The backend should probably then be based on a rest framework (django rest framework for example). That way the frontend will be able to easily communicate with the backend.

Regards,,

Andréas


Den fre 7 sep. 2018 kl 04:35 skrev Md.iftequar iqbal <ifteq...@gmail.com>:
Can we create a single page app that performs CRUD(Create, Read, Update, Delete) operations by using class-based views

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/439a3906-bf68-42c3-92c8-9e46023e0858%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Md.iftequar iqbal

unread,
Sep 7, 2018, 1:20:59 AM9/7/18
to django...@googlegroups.com
Which is the best best frontend js for django


Andréas Kühne

unread,
Sep 7, 2018, 1:40:38 AM9/7/18
to django...@googlegroups.com
Sorry - that's a preference - more than a definitive answer.

Personally I like Angular, but people will say Vue or React just as much. That's up to what you prefer yourself.

Regards,

Andréas


Jani Tiainen

unread,
Sep 7, 2018, 7:00:11 AM9/7/18
to django...@googlegroups.com
Hi.

Django is really frontend agnostic and there isn't definite answer what is the best framework.

So pick one that you're happy with.


Reply all
Reply to author
Forward
0 new messages