*** Bakey has quit IRC | 01:37 | |
*** larsks has quit IRC | 02:53 | |
*** larsks has joined #ara | 02:55 | |
*** bcoca has quit IRC | 03:30 | |
*** openstackgerrit has quit IRC | 05:06 | |
*** jrist has quit IRC | 05:06 | |
*** ChanServ has quit IRC | 05:06 | |
*** hiroki has quit IRC | 05:06 | |
*** sshnaidm|off has quit IRC | 05:06 | |
*** njt has quit IRC | 05:06 | |
*** larivee has quit IRC | 05:06 | |
*** njohnston has quit IRC | 05:06 | |
*** vcn[m] has quit IRC | 05:09 | |
*** sshnaidm|off has joined #ara | 05:11 | |
*** ChanServ has joined #ara | 05:11 | |
*** barjavel.freenode.net sets mode: +o ChanServ | 05:11 | |
*** larivee has joined #ara | 05:13 | |
*** njohnston has joined #ara | 05:13 | |
*** hiroki has joined #ara | 05:14 | |
*** openstackgerrit has joined #ara | 05:14 | |
*** jrist has joined #ara | 05:14 | |
*** njt has joined #ara | 05:15 | |
*** nicovs_be has joined #ara | 08:21 | |
*** nicovs_b_ has joined #ara | 08:25 | |
*** nicovs_be has quit IRC | 08:25 | |
*** weshay|ruck|MOD is now known as weshay|MOD | 08:36 | |
*** vcn[m] has joined #ara | 09:06 | |
*** vcn[m] has quit IRC | 09:15 | |
*** vcn[m] has joined #ara | 09:21 | |
*** nicovs_b_ has quit IRC | 10:56 | |
*** nicovs_be has joined #ara | 11:27 | |
*** nicovs_be has quit IRC | 13:34 | |
*** nicovs_be has joined #ara | 13:34 | |
*** nicovs_be has quit IRC | 16:16 | |
*** nicovs_be has joined #ara | 16:39 | |
dmsimard | There's folks trying to convince me to switch from flask to django for the web app and API. | 18:03 |
---|---|---|
dmsimard | On one hand, django rest framework is much much more powerful than flask-restful and if there's a time to transition from one to the other, it has to happen before 1.0. | 18:04 |
dmsimard | On the other, it means rewriting almost everything from scratch, I'm not super familiar with Django so I'm concerned it would further delay 1.0. | 18:05 |
dmsimard | Any opinions here ? Would anyone like to help if we were going to switch to django ? | 18:06 |
dmsimard | Django and Django rest framework is the same stack as Ansible AWX. | 18:07 |
ara-slack | <dmsimard> <here> a very rare channel ping in case you have an opinion ^ | 18:08 |
ara-slack | <cab.abraham> @dmsimard could you use something like swagger spec to generate the API's to have some common ground and then rewrite the web-app to work on top of that layer. Now that aside what are the reason you would be considering the change? | 18:42 |
ara-slack | <dmsimard> Django Rest Framework is way better than flask-restful, with things like browseable API, automated documentation, semi-automatic CRUD based on the model, etc. | 18:44 |
ara-slack | <cab.abraham> I could only see the change worthwhile for the following reasons: 1. Portability. 2. Stability. 3. Increased performance. 4. Ease of use. | 18:44 |
ara-slack | <dmsimard> DRF is also better mainainted than flask-restful which is stagnating | 18:45 |
ara-slack | <cab.abraham> So you want to use django to be both the rest server and web-app? | 18:45 |
ara-slack | <dmsimard> I'm fairly convinced I'd like to switch, it's the amount of work and learning curve I'm wary about | 18:45 |
ara-slack | <dmsimard> Yeah, it'd be for both for the sake of simplicity I'm not interested in mixing flask and django | 18:46 |
ara-slack | <dmsimard> It also helps with reducing the amount of dependencies | 18:46 |
ara-slack | <cab.abraham> My two cents and opinion would be to first hash out the REST api and standardize it. This can be fairly easy to do with swagger doc | 18:47 |
ara-slack | <dmsimard> A colleague made a quick poc under an hour and I was impressed | 18:47 |
ara-slack | <cab.abraham> Then do the web-app next | 18:48 |
ara-slack | <cab.abraham> I understand where you are coming from but I kinda think it's easy to work with layers/interfaces because if not you are susceptible to having spaghetti code. | 18:48 |
ara-slack | <dmsimard> Yeah... | 18:49 |
ara-slack | <dmsimard> I'll think about it some more :D | 18:49 |
ara-slack | <cab.abraham> I mean it might be worthwhile to make the change however what's important is the how your going to architect it out, the effort you are willing to put into it and time. | 18:50 |
ara-slack | <cab.abraham> I'm also not suggesting to go waterfall here lol... | 18:50 |
ara-slack | <cab.abraham> Would this be done by just you or others? | 18:51 |
ara-slack | <cab.abraham> Is this something you do in your job? | 18:51 |
*** tbielawa has joined #ara | 22:24 | |
*** tbielawa has quit IRC | 22:32 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!