When I wrote my first line of code I never thought that my path might take me to Africa to speak about programming, not even in my wildest dreams. But, there you have it.
The spring season of conferences started with unreal Mauritius and DevConMU. I delivered two talks, the first one regarding Progressive Web Apps (PWA) and the second about building REST API using API Platform
A year with Progressive web applications
In my first talk about PWA, the main point was that PWA should not be a fancy word and a marketing buzzword – it’s what
Progressive web apps should not be trendy, it’s what the web should be.
DevConMU organisers used PWA in a very smart way. They implemented a simple offline caching feature, so once you downloaded the schedule and speakers list, you had that information all the time. In this way, they saved hundreds of Euros for foreign attendees and speakers, including myself. Just for the note, 1MB of data costs around 10 Euros for roaming services in Mauritius. Data is expensive and we need to care about it, we can’t get it for granted.
53% of users abandon sites that take longer than 3 seconds to load
Also, we need to have in mind that 60% of mobile connection is still 2G (no, I am not talking about undeveloped countries, most of these users are in the USA), and an average time to load the website on 3G is 19 seconds or 14 seconds on 4G. And you know that 53% of users abandon sites that take longer than 3 seconds to load! Think about that for a while!
In 2016, the average website was already the same size as Doom installer. Since then, the average size of websites is growing and growing, and that has a huge effect on the usability of websites on mobile devices. Today, the average size of the website is around 3MB.
This is just a few facts that are showing us how the mobile web is broken. PWA give us abilities to improve it and with improving mobile we will also improve desktop websites user experience. It must be our duty to build a proper web for our users, and PWA gives us good tools and guidance for it. In the
Slides are available here.
REST easy with API Platform
My second talk was about building proper and real REST APIs using API Platform. API Platform is a powerful framework built on top of Symfony framework. It allows you to quickly build real REST APIs and it can be used for big and small applications.
Out of the box, it supports GraphQL, MongoDB, ElasticSearch, CRUD, filters and search, validation, sorting, pagination, serialization groups, caching and caching invalidation and everything you need to build modern and powerful APIs.
Starting with API Platform
In my talk, I showed how it is easy to start with
Even that API platform doesn’t support translations out of the box; we’ve built a bundle for it – here is how you can add it to your project.
More about Mercure
I also mentioned Mercure, as a new supercool thing that is very easy to integrate with Symfony and API platform. Mercure is a protocol allowing to push data updates to web browsers and other HTTP clients in a convenient, fast, reliable and battery-efficient way. It is especially useful to publish real-time updates of resources served through web APIs, to reactive web and mobile apps. Mercure is basically a higher-level replacement for WebSocket. Unlike WebSocket, it is compatible with HTTP/2 and HTTP/3. You can read more about Mercure here.
At the end of my API platform, I mentioned
GFNY Ticketing System is an online ticketing platform for the world’s largest bicycle marathon with user profiles, administration and a public side. This app is used in 20 different countries, with more than ten currencies, languages and letter types. This web application is supporting more than 60.000 racers each year with different time zones, gamification, custom tickets, different levels of franchise owners, partners, staff members etc. This project is a great example of how you can use
Slides are available here.
This was the fifth edition of DevConMU, and in three days it gathered around five hundred attendees. It is a great thing to see that developers community is growing in Mauritius and they have regular meetups and few more conferences during the year.
People at conferences are very keen to ask questions, to learn and to participate in conversation and discussions about technology. This is also an
Don’t get me wrong, it is a
During all days of the conference, every evening there were networking events, one even included seggae – traditional Mauritius’ music and dance. As usual, for me, this was the best part of conferences. We had a lot of nice time learning from each other, discussing a lot of things in development, give feedback to each other about talks and also learn a lot about different cultures and people. I met a lot of amazing persons and developers and learn a lot. Thank you, everyone, for each minute we spent together at the conference, it was a pleasure.
Organisers did fantastic work, and everything was on time. They are friendly and they care about speakers and attendees. Thank you for putting this together and to joining so many different communities in the beautiful land of Mauritius.
Mauritius is a hidden gem!
It is hard to write about DevConMU without adding a paragraph about the special ingredient – Mauritius. This was my first conference and my first visit to Africa. So,
Mauritius is a wonderful island on the South East of Africa. It was inhabited during the
Almost around the entire island is a coral reef, and flora and fauna are unique. There is a mixture of many cultures, and all the people I met are quite friendly. I combined this conference with part of my holidays, so I travelled around the island – the only part I didn’t visit was East coast, but I needed to have something as an excuse to go again.
I did three hikes; Lion Mountain, 7 cascades (The Tamarin falls) and Le Morne of course, I swam with dolphins and on coral reef, I walked with lions – real lions, you can check the video here. Still, haven’t found the Dodo. :'(
There is no better thing in the world than combining a job you love with your travelling passion. My impression of this journey was so big that I considered writing a travel blog about it. Maybe I will do that, but meanwhile, you can check how it looks on my Instagram profile.
Where I will be speaking next?
My spring and part of summer are fully booked. My next stop is Čakovec, Croatia where I will speak at Weblica conference. I will talk about PWA and why UI is the most important part of your application.
In Belgrade, at PHP Serbia (25-26.05), I will talk about Symfony4 and new way of developing web applications. The same talk I will deliver at International PHP conference in Berlin (3-7.06.), and at Webinale I will talk about PWA.
The first half of the year will be closed with DutchPHP (6-8.6) in Amsterdam where I will talk about the importance of User experience and why the UI is the application.
So, yes I will travel a lot and will be doing a lot of talks, but I am excited about it. If you are attending some of these conferences, let’s meet and grab