Re:Django 2.0 released
by mcny on Saturday December 02, 2017 @11:44AM
(#15832686)
To me the beauty of a restful API in flask is that you don't need to commit to anything. As far as the user is concerned, as long as /api/v1/user/15 gives back the user details for user number 15 (after checking authorization if necessary). The person who follows in my footsteps should be able to rewrite things one end-point at a time (as long as we clean things up after every transaction) in any other language (go lang or rust or swift seem like best bets). At least that is my hope, even if the person who follows in my footsteps is me!
[ Parent
| on HN ]
Re:Django 2.0 released
by asfdsfggtfd on Saturday December 02, 2017 @03:02PM
(#15833733)
This can be achieved with any framework.
(1) Write your new endpoint. (2) Proxy to it via your old one.
Or for a full re-write you might want to do things the other way.
(1) Wrap the whole old app with a skeleton of the new one - just proxying the endpoints for now. (2) Start replacing the endpoints.