How to convert Stored procedure logic to Django rest framework

54 views
Skip to first unread message

brijesh dutta

unread,
Nov 15, 2020, 1:41:11 PM11/15/20
to Django REST framework
Hi All, 

i am new to DRF

We have an existing application in .NET which uses complex  stored procedures 
(mainly  taking dataset as a paramter and inserting the data into multiple tables)
we have an initiative to move the backend to Django rest framework

hence just wanted suggestions what is the best practice in DRF for such use cases and if any one could direct me o some useful content to get started

Thank You 
Regards
-Brijesh 


Carl Nobile

unread,
Nov 15, 2020, 2:08:41 PM11/15/20
to django-res...@googlegroups.com
I've converted many systems in my life and I have always found it best to use the old system as a guide and not try to use anything from the old system at all. Know what it is that you are trying to do, understand what the inputs and outputs are, and write new code. The old system would therefore be a guide as to what these inputs and outputs are, in other words, it defines your use cases.
With that said you haven't mentioned what DB your old .NET system is using. The only DB I ever use anymore with Django is PostgreSQL, it is also supported better than any other DB.
I do consult work specifically for these types of cases.
~Carl

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/214d12ab-ac5c-4ee4-871f-9c4e2648d09an%40googlegroups.com.


--
-------------------------------------------------------------------------------
Carl J. Nobile (Software Engineer)
carl....@gmail.com
-------------------------------------------------------------------------------
Reply all
Reply to author
Forward
0 new messages