Brazil: How we are gaining space with Django
This is a modal window.
Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.
Formale Metadaten
Titel |
| |
Serientitel | ||
Teil | 16 | |
Anzahl der Teile | 44 | |
Autor | ||
Mitwirkende | ||
Lizenz | CC-Namensnennung - Weitergabe unter gleichen Bedingungen 4.0 International: Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben. | |
Identifikatoren | 10.5446/32864 (DOI) | |
Herausgeber | ||
Erscheinungsjahr | ||
Sprache |
Inhaltliche Metadaten
Fachgebiet | ||
Genre | ||
Abstract |
|
DjangoCon US 201416 / 44
2
3
7
8
10
11
13
14
18
26
29
32
38
39
42
43
00:00
GrundraumProgrammInformationWhiteboardMinkowski-MetrikComputeranimation
01:03
Coxeter-GruppePhysikalisches SystemRechenschieberCodeComputeranimation
01:50
Basis <Mathematik>Mailing-ListeMittelwertE-MailGrundraumDatenverarbeitungssystemMAPMultiplikationsoperatorGüte der AnpassungWeg <Topologie>DrucksondierungAggregatzustandProgrammierspracheMinimumRechter WinkelFramework <Informatik>ZahlenbereichStabSondierungDivisionRandverteilungVerschlingungSoftwareentwicklungt-TestÜberlagerung <Mathematik>SoftwareentwicklerAliasingVerknüpfungsgliedMehrrechnersystemEinfügungsdämpfungMotion CapturingIterationLeistung <Physik>ZählenComputeranimation
06:55
VerkehrsinformationGenerator <Informatik>SicherungskopiePhysikalisches SystemGrundraumMathematikSondierungSoftwareentwicklerInnerer AutomorphismusAppletInterface <Schaltung>MehrrechnersystemFortsetzung <Mathematik>Metrisches SystemTopologieTabellenkalkulationProzess <Informatik>RelativitätstheorieBenutzerbeteiligungSprachsyntheseFormale SpracheAuswahlaxiomGarbentheorieFeuchteleitungFunktionalEndliche ModelltheorieMultiplikationsoperatorSoftwarewartungSoftwareentwicklungSystemverwaltungRechter WinkelPatch <Software>HilfesystemAuthentifikationComputeranimation
11:59
Projektive EbeneProgrammVerkehrsinformationSystemverwaltungMetrisches SystemDienst <Informatik>Prozess <Informatik>Web SiteCanadian Mathematical SocietyStreuungSoftwareentwicklerFormation <Mathematik>Physikalisches Systemsinc-FunktionGarbentheorieSystemaufrufQuick-SortDigitaltechnikCachingStandardabweichungGenerator <Informatik>RuhmasseComputeranimation
15:34
Computeranimation
Transkript: Englisch(automatisch erzeugt)
00:21
The first thing is, I ask you to apologize. This is my first talk in English. We are not English natives there, so we speak Portuguese there, so I might say something that is wrong or incorrect, but I'm trying my best. The title of my talk is Brazil, how we are gaining space with Django. Let me introduce myself.
00:42
I am Henrique Pereira. I am a board member of Python Brazil. It's like the Python Software Foundation, but in Brazil. I'm a Python programmer since 2008. I have been using Django since 2009. I am an assistant professor at a local university, and I am an IT analyst at another university.
01:05
I'm gonna speak about the not-goes of this presentation. I stole this slide from Jacinda yesterday. This presentation won't be about code. It won't be about soccer, nor Carnival, and I'm not going to talk about Brazilian companies using Python or Django, because there are many of them,
01:23
and I might have missed someone. But I'm gonna talk about the goal of this presentation. The goal of this presentation is to show how we are developing stuff in Brazil, and how we are forcing Django, and how we are using Django to help people and to make cool stuff.
01:42
I'm also going to share my experience and my team's experience in migrating some systems from Legasico to Django in Brazil. So let's start by saying something about Brazil. I'm pretty sure you all know that Brazil is a South American country. We have a division of 27 states, plus a federal district.
02:04
Our capital is not Buenos Aires, so if you think Brazilians' capital is Buenos Aires, you are wrong. Our capital is Brasilia, which stands in the middle of the country in the federal district. We have like 117 million people living in Brazil.
02:23
Brazil is a pretty big country, so it's here. We are known for soccer and for Carnival, but I'm not gonna talk about that. I'm gonna talk about Django in Brazil. A recent survey showed that Django is Python's number one framework in Brazil.
02:43
Out of 251 persons, 139 said they use Django on a regular basis. This research is available through that link. You could check it later. There are many, many details about Python usage in Brazil,
03:00
but this is the most relevant one. Until the past few years, Brazil was a great-blown country, so we have many blown people there, and right now we believe that there are more Django people than blown people in Brazil, so we are winning. We have a mailing list called the Django Brazil mailing list,
03:20
which has almost 3,000 members. We have over 450 emails per month. Last month alone, we had almost 500 emails, so that's a lot of activity for a community-based mailing list. We don't have a Django cone in Brazil, but we have something like a Python cone.
03:40
We call it Python Brazil. This year's Python Brazil venue is the beach. It's a pretty nice place. Python Brazil will be happening in November, the 6th, the 7th, and the 8th of November in Porto de Galinhas, which is this marvelous beach. There will be a Django track there,
04:02
so Paidani, Alex Gaynor, Linda Ross, lots of good people will be in Brazil. You are invited to come. It's a very nice place to be, and I would go there. So let's go back to Brazil. I live in the southernmost state,
04:22
the blue one right on the bottom. It is far from the capitals. It's far from the center of the country. We are nowhere near Rio de Janeiro or Sao Paulo, which are the main states in Brazil when we talk about development, and I work at a university in this state.
04:40
I work at the Federal University of Santa Maria. In Portuguese, it's Universidad de Federal de Santa Maria. Our university has five campuses. This map only shows four. There is a new one that was recently built, and I live and work on the number one, which is right in the middle of the state.
05:02
We have almost 30,000 alumni, students, over 4,500 employees. So that includes professors, technicians, and lots of stuff.
05:21
We have over 140 undergraduate programs and over 130 post-graduation programs, but we have a problem there. Out of those 4,500 staff, we have got only like four IT analysts
05:44
or IT personnel or IT staff is very small compared to the rest of the staff at the university. This research from Gartner shows that the average private company in Brazil has about 5% of IT employees.
06:03
So for every 100 employees, you got five IT personnel. The government averages in Brazil is 6.6%. Education average is a little under 4.8. And at my workplace,
06:20
we have a little over 1% of IT personnel. So that's like four times what we would have to be a level company. Our IT is mainly done at DCPD, which stands for Data Processing Center. We are 37 IT analysts,
06:42
which is just a fancy name for computer personnel. These analysts work with infrastructure, user support, development, and all computer-related stuff. And the main programming languages users there are Delphi, which is not much used here in America,
07:01
but it's an old language, Java, and PHP for the web-related development. So okay, it's a bad choice, but it's the choice we had. But averaging changes. So I joined this university about two years ago.
07:21
And when I joined, we started doing some changes. We started working with some technologies. But this is not about me. I'm gonna talk about a system that one of my fellow colleagues worked. The system was called Decal. It was basically a user help desk system. It was written in PHP in the early 2000s.
07:43
It uses lots of obsolete technologies like a patch authentication and PHP 3 and lots of stuff that you don't want to touch. And it had no metrics. It was just a simple crude system where the user would create a ticket and someone from the maintenance
08:03
would move that ticket around and do what had to be done. So this system was a big problem. It was developed in PHP and it went through almost no development over the next 10 years, for example.
08:23
So we had to change that and we are working on implementing ITIL, ITIL CPG. And I talked with my fellow colleague and he said he was gonna rewrite the system and he was gonna do it in Java. So okay, Java, that's fine,
08:43
but you should try Django. And so he did try Django and he wrote the whole system in almost two months. He had never programmed in Python. He had never programmed in Django and the system is like 20 times better than the old system.
09:03
And this is one of the interfaces of the system. It is a simple interface but inside this interface or going deeper into the system, we have lots of functionalities
09:22
that were implemented using Python and using Django. This system was supposed to be built in six months using Java and he built it in only two using Django. So we want four months or there were another four months that we could have spent doing better stuff
09:42
or working or creating better stuff for this system. And this system includes many things from user satisfaction surveys to even working and generating graphics and metrics. And okay, but this wasn't done by me. This was done by my colleague.
10:04
And it is a pretty big system. It has like I'm gonna guess about 40 models and 100 views, so okay, it's pretty big. But that's not how we started working with Django
10:21
at my university. When I arrived there, there were lots of small systems, lots of spreadsheets laying around that we had no backup or that we couldn't automate some processes. So I started working on my own. I started creating stuff. I started getting those spreadsheets
10:41
and creating systems using Django with them. So we have lots of these small systems running around. This is one of the systems. It's actually a spreadsheet. It's a simple CRUD that generates some PDFs and generates some reports. And the system is actually used. Some people stopped using the spreadsheets
11:03
and now we have all data automated, all data with backups, all data generating reports. We also created many surveys for courses for evaluating disciplines, all using Python and Django.
11:21
And so this happened while I was there. We also used Django to support some legacy systems we had written in PHP. This is a shared system that the people from Moodle use at our university. It was written in PHP and it was managed directly by going to MySQL
11:44
and creating chat rooms there by hand. So it was a simple trick to set up a Django admin interface and create it on the Django admin interface. So we have been doing that for a long time right now.
12:01
By showing to the administration that we could do this with Django, we received a great chance to develop more stuff using Python and using Django. Earlier this year, we had the chance to rewrite our website, our main website, using Django.
12:23
Actually, we were open to any technology. We chose Django. It took one programmer four weeks to code our new website. It replaced the 10-year-old PHP CMS. Our website receives over 60,000 hits per day,
12:44
so it's, for Brazilian standards, a heavy website. We have almost 500 simultaneous users, and this is pure Django with a simple setup and some caching, and it's all done. One programmer did this in four weeks.
13:05
This website is used by many people, many users, and inside, it is managed by the Django admin, and you can post news. You can basically do what a CMS would do,
13:24
and it worked very well. We had a very good reception over this site. We also started another project based on that CAL project I told you before. This project is the Myer project. It has been in development for almost a year now.
13:43
It will manage our services, so all services, all IT services at WFSM will be managed by this tool. It intends to be IT compliant, so every service will have metrics.
14:01
Those metrics will generate reports that will then help the administration. It is an in-house solution, so we have developed it from zero, from scatter hatch. This tool is already working. We started inserting jobs this week.
14:23
We have two programmers working. It can generate fancy reports like this one, and we hope this can help us do a better job with less people than we should be doing. Basically, when a user calls to our service central,
14:43
a ticket is generated at the system, depending on the service, and this ticket is then forwarded to the responsible people and these people can then solve the problem and give some satisfaction back to the user. This is what I am doing in Brazil.
15:03
This is what I'm doing in Brazil. If you have any questions, we can talk about it.