REST Framework alternatives

69 views
Skip to first unread message

Victor Porton

unread,
Feb 5, 2019, 11:51:43 AM2/5/19
to Django users
My buddy says that REST Framework is complex and inflexible.

So the question: Any other framework which supports validating JSON data?

Miguel Ángel Cumpa Ascuña

unread,
Feb 5, 2019, 12:50:48 PM2/5/19
to django...@googlegroups.com

El mar., 5 feb. 2019 a las 11:52, Victor Porton (<por...@narod.ru>) escribió:
My buddy says that REST Framework is complex and inflexible.

So the question: Any other framework which supports validating JSON data?

--
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/1880c6a4-56aa-4073-bbe0-0dbf042587a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sam Taiwo

unread,
Feb 5, 2019, 1:54:16 PM2/5/19
to django...@googlegroups.com
What validation does he specifically need? He could probably get away with writing a few helper functions himself!

PARTH PATIL

unread,
Feb 5, 2019, 1:58:02 PM2/5/19
to Django users
I agree that indeed REST Framework has a decent learning curve, but i would say it is worth a shot if you only have to do validation it will handle it like magic with very few lines of code.

Jani Tiainen

unread,
Feb 5, 2019, 2:48:52 PM2/5/19
to django...@googlegroups.com
Well we're all entitled to our opinions.

DRF is complex but it's not inflexible. You can do pretty much everything which is REST related.

There are few alternatives, tastypie is mentioned but there exists also django-nap which is a bit more lightweight than DRF.

On Tue, Feb 5, 2019 at 6:52 PM Victor Porton <por...@narod.ru> wrote:
My buddy says that REST Framework is complex and inflexible.

So the question: Any other framework which supports validating JSON data?

--
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/1880c6a4-56aa-4073-bbe0-0dbf042587a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

Derek

unread,
Feb 7, 2019, 3:02:39 AM2/7/19
to Django users
I can't speak to the inflexible, but there are a ton of tutorials out there for DRF, and I was able to make a lot of progress in just one weekend.

I would think that JSON validation is an orthogonal problem; you can look at using something like https://pypi.org/project/jsonschema/ for this.

Ing.Daniel Bojorge

unread,
Feb 7, 2019, 10:30:04 AM2/7/19
to django...@googlegroups.com
Hi everyone.

Tastypie is a good alternative, but it is too old, just look this date in it's website (http://tastypieapi.org/)



I want to know, what kind of validation do you want to do?



Mi Blog
Nicaragua

"Si ustedes permanecen unidos a mí, y si permanecen fieles a mis enseñanzas, pidan lo que quieran y se les dará.
(Juan 15:7 DHH)
Bendito el varón que se fía en el SEÑOR, y cuya confianza es el SEÑOR.
(Jeremías 17:7 RV2000)



--
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.
Reply all
Reply to author
Forward
0 new messages