Re: different data-contract(model) in different layer

2019-11-05 Thread woodson
thanks Wanderley. you explain better than me. we trying to build application on same way. Pls share if you have any sample application. On Tuesday, November 5, 2019 at 4:38:20 PM UTC-5, Wandss wrote: > > I would need to have more detailed information so I could understand the > real needs. > >

Re: different data-contract(model) in different layer

2019-11-05 Thread Wanderley S
I would need to have more detailed information so I could understand the real needs. Sorry if you already know what I'm going to explain here, but depending you background and technologies you've been worked with, working with Django and Django REST is a bunch easier than other frameworks, since D

Re: different data-contract(model) in different layer

2019-11-05 Thread Gonzalo Amadio
You can use DRF to do the exposed API. And then internally, you can manipulate the data as you wish before saving it to database. You can do like another service layer between the models Check this enlightening articles: https://medium.com/@jairvercosa/business-logic-in-django-projects-7fe700db9

different data-contract(model) in different layer

2019-11-04 Thread woodson
we are planning to build large application using Django rest framework . is it possible create different model or data contract ? - Model - used to expose outside API data-contracts - Message Entity - translate data Model ==> to MessageEntity and carry forward different