Saturday, 2017-12-09

*** Bakey has quit IRC01:37
*** larsks has quit IRC02:53
*** larsks has joined #ara02:55
*** bcoca has quit IRC03:30
*** openstackgerrit has quit IRC05:06
*** jrist has quit IRC05:06
*** ChanServ has quit IRC05:06
*** hiroki has quit IRC05:06
*** sshnaidm|off has quit IRC05:06
*** njt has quit IRC05:06
*** larivee has quit IRC05:06
*** njohnston has quit IRC05:06
*** vcn[m] has quit IRC05:09
*** sshnaidm|off has joined #ara05:11
*** ChanServ has joined #ara05:11
*** barjavel.freenode.net sets mode: +o ChanServ05:11
*** larivee has joined #ara05:13
*** njohnston has joined #ara05:13
*** hiroki has joined #ara05:14
*** openstackgerrit has joined #ara05:14
*** jrist has joined #ara05:14
*** njt has joined #ara05:15
*** nicovs_be has joined #ara08:21
*** nicovs_b_ has joined #ara08:25
*** nicovs_be has quit IRC08:25
*** weshay|ruck|MOD is now known as weshay|MOD08:36
*** vcn[m] has joined #ara09:06
*** vcn[m] has quit IRC09:15
*** vcn[m] has joined #ara09:21
*** nicovs_b_ has quit IRC10:56
*** nicovs_be has joined #ara11:27
*** nicovs_be has quit IRC13:34
*** nicovs_be has joined #ara13:34
*** nicovs_be has quit IRC16:16
*** nicovs_be has joined #ara16:39
dmsimardThere's folks trying to convince me to switch from flask to django for the web app and API.18:03
dmsimardOn 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
dmsimardOn 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
dmsimardAny opinions here ? Would anyone like to help if we were going to switch to django ?18:06
dmsimardDjango 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 stagnating18: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 about18:45
ara-slack<dmsimard> Yeah, it'd be for both for the sake of simplicity I'm not interested in mixing flask and django18:46
ara-slack<dmsimard> It also helps with reducing the amount of dependencies18: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 doc18:47
ara-slack<dmsimard> A colleague made a quick poc under an hour and I was impressed18:47
ara-slack<cab.abraham> Then do the web-app next18: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 :D18: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 #ara22:24
*** tbielawa has quit IRC22:32

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!