We invite you to the 23rd Moscow Django Meetup



    We hasten to inform you that exactly one week later, on October 1, the next meeting of Moscow Django Meetup will be held at the office of Mail.Ru Group. This time there will be two speakers, but they promise to speak for three, or even four.

    The first to share with the audience his experience and knowledge is Gennady Chibisov from Yandex. Topic: "Working with files using django-proxy-storage." In the process of developing almost any web application, developers are faced with the tasks of processing, storing and distributing static content. In Django, out of the box, a customizable mechanism of the so-called story is available. In his report, Gennady will talk about a small django-proxy-storage library, forged in the dungeons of Yandex, which extends the functionality of the store. With the help of this library you can do all sorts of interesting things:
    • to store additional meta-information about the files and based on these data to form the logic of all CRUD operations of the hundred;
    • dynamically use multiple stories. An example is the storage of text files on disk, and images in S3;
    • perform automatic fallback to a working store at the application level;
    • organize authorization of file distribution based on advanced meta-information.

    Gennady will please the audience with live examples of how, by resorting to minimal refactoring, everyone can add the functionality described above to their Django applications.

    The second speaker will be Sergei Sobko from RosBusinessConsulting. His report is called "Universal template engine for server and client." As part of this topic, Sergey will talk about one of the ways to organize data rendering on the server and client using server templates. He will also show methods for transferring templates from the server to the client, give examples of the real application of such a technological solution, highlighting the main advantages and disadvantages of this approach.

    In general, there is a whole class of projects where dynamic loading of page contents using AJAX may be required. Most often these are pages with pagination, as well as pages whose loading time is critical, which should be loaded into the browser memory before the user decides to switch to them. The simplest solution is to load page blocks "as is" with chunks of HTML. But in the report, Sergey will talk about another method that allows you to transfer only JSON and the server template to the client part, render and substitute blocks directly in the user's browser.

    Sergey addresses his speech primarily to full-stack developers who deal with the implementation of loading individual blocks of pages through AJAX. At the same time, the author emphasizes that his story is not a guide to action, but rather a set of entertaining ideas for use in projects at the junction of Python and JavaScript.

    This event will take place in the office of Mail.Ru Group, at Leningradsky Prospekt 39, building 79. The building is noticeable, you will not be mistaken. Beginning at 19.00, and do not forget to take your passports, they won’t be allowed without them. To participate in the meeting, you must register . The live broadcast of the event is expected on our website , and see the recording of reports on the mitap youtube channel . The meeting also has a hashtag on Twitter - #moscowdjangoask questions to speakers.

    Also popular now: