Moscow Django Meetup #3
I want to share impressions from the third meeting Moscow Django-developers, it is also Moscow Django Meetup. Thanks to the organizers of GreenfieldProject and Seven Quark this time managed to find the meeting is a great place: one of the most capacious halls MOD Design. Very cozy, close to the center, and most importantly, all have enough space and be comfortable. A huge projection screen, the clicker for the presenter, tasty coffee break, what else is needed for a good meet up.
The program included 5 reports: 3 full 20 minutes and two shorter 10 separated by a coffee break. How come people from nearly a hundred was hard to say, 50-60 people, probably, who do not have time
come in after the holidays. In the photo room in 10-15 minutes before the start, then people still tightened.
Reports
Alexander Emelin of Mail.ru Group available told about Class-based generic views. Those who still do not use class-vyuha, we recommend you to pay attention to them, sometimes they save very a lot of boilerplate code. Those who are actively using them, a good reference on the recommendation of Alexander: Classy CBV — replacement of official confusing and inconvenient documentation types on classes. Brought the discussion of CBV vs. functional views when it is appropriate to use one over the other and why.
Vladimir Filonov from WebCanFly told about extensible application. For example, a small portion of the online store examined options for the implementation of the API for connection of plug-ins for django applications. In detail, a lot of code, but everything is clear and logical. Good report, I think, in the development of complex systems loosely coupled components will all have to face something like this.
Michael Yumatov about statics in Django.
The report could safely call django-gears, since it was mostly about this ambitious library material that is developed by the guys from Trilan. It is designed to replace django-compressor and webassets, has most of their functionality, besides keeps the dependencies directly in css/js (similar to sprockets). While the app is not yet in production, but no less interesting.
Ivan Virabyan about performance in Django.
For the most part it was about ORM. Ivan explained why "db_index=True not works wonders", showed how sometimes unpredictable can be a generator of SQL, explained how to use the "Defer ()" and also described the main approaches to cache invalidation and optimization of the context processors in Django. The most advanced performance is clearly not for beginners, it is a pity that only 10 minutes is such a topic worthy of larger time frames. Be sure to view the slides, very useful and most applied in the report.
Alexander Sklemin about Django on Android.
The speaker demonstrated that Django is not only about Web and that it can be run on mobile devices. Alexander showed us this on the example of a mobile phone based on Android. The report caused, probably, the violent reaction of the audience with laughter and applause.
For those who want to try their hand and put Django on Android, Alexander advises to run
manage.py runserver
with the key --noreload
— it will increase the life time of your battery :)Using the power of root access to the phone and some batteries (for Django), we access the contacts list or databases of other apps. And the standard Django admin panel will show all these data in an acceptable design.
Interaction with the API of the phone is using the Python driver, so we can vibrate the phone, to texting, to GPS data and even phone!
In General, for fans of "extreme" programming!
Opinion
Thanks again to the organizers, the guys obviously tried to accommodate all requests and made the meeting better previous. And of course the speakers, the boring speeches and the topics were relevant.
Spending Django-sprint or Django-dash in General pokodit together this summer. Activists and other interested persons are invited to Facebook group, where there is active discussion.
PS I look Forward to the next meet up in a month. There is one of us again try your hand over a microphone at the projector to the report.
the Presentation on SlideShare
Moscow Django to Facebook
Events on timepad
Ilya Baryshev
Vitaly Olevinsky
Future Colors
Комментарии
Отправить комментарий