Web Development

Published: 6 months ago Updated: 6 months ago 235

It's time we talked about the phelephant in the room. *Ba Dum Tss! Get it? This is double wordplay, elephant in the room and php + elephant == phelephant. Ok, I'm gonna stop now...

I wanted to summarise my impressions after the PHP Serbia 2019 conference since this was my first time attending. I thought it might be helpful to those people who are on the fence whether it's worth visiting it.

 

TL;DR 

It is.

PHP Serbia 2019 line-up

The line-up and the topics covered were all really good. Zeev Suraski was this year's keynote and he gave us an overview of the PHP since he joined the band of brothers known as php internals devs and more importantly all the cool stuff that will be included in the upcoming php7.4 and php8. Yep guys, php8 will be coming hopefully by the end of 2020. Oh how the time flies by, I mean I haven't been in this game that long and I witnessed the amazing evolution from php5 to php8.

As I said, all the talks were good but the ones that stood out to me and I recommend you watch when the organizers share the videos are the following (in no particular order):

  • Hello my name is "if"  by Sebastian Feldman, not only did he dance like a madman and put Michael Jackson to shame, but he also gave us a low-level insight and deeper understanding of how different types of if statements work under the hood in php, yes you might have thought that a ternary if statement is just a shorthand way of writing a regular if statement, but when it gets converted to opcodes it's actually not, and the same goes for using the null coalescing statement.

 

  • Git legit  by Pauline Vos explained the difference between git rebase and git merge strategies in an easily digestible way, even by dummies like myself. Now we can finally put this feud to rest and just pick one that aligns with us philosophically because this is the same shit as OOP vs FP, one is not better than the other they both have their trade-offs. There is no silver bullet in software development no matter how strong we try to find it!

 

  • You're not a {framework} developer! - if you are a Symfony or Laravel fanboy you might strongly disagree with this one :D, but Thomas Dutrion gave a good starting point on how to abstract and protect ourselves from the framework. There were some really good examples for both Symfony and Laravel frameworks on how to abstract at both the Model and Controller level. Our domain logic shouldn't know about our infrastructure (framework), this is my key takeaway from this talk, at least that's how I understood it and it makes perfect sense to me now. For those of you who are saying But how often do we change a framework? we are not necessarily going to change the framework itself but we need to protect ourselves from future updates of our framework as well. Each major version will have breaking changes and choosing not to update will compromise both performance and security of our codebase - that's how we get legacy codebases that everybody hates working with.

 

  • Making architecture explicit  by Herberto Graca, we all know that organizing code and folders can be a pain in the ass and a huge liability if done poorly. Well, Herberto had some great charts and breakdowns on organizing code the DDD way.

 

I highly suspect that Marcel Pociot's talk Getting started with WebSockets and Damien Seguy's Top 10 PHP coding traps were awesome as well but unfortunately, I did not attend them.

This is me winning a free ticket for PHPSerbia 2020 and a Phelephant on the conf quiz :D

Venue and organization

The venue is a big theater in Zemun, there were two tracks A and B, B being the smaller one obviously. Well, it was quite smaller compared to A, so what happened was that all the people that were interested in a talk at track B could not fit in or chose not to stand. This only happened two times though. Gauging the audience's interest and which speaker should get the short stick end is tricky, so maybe, as Damien Seguy suggested, attendees could vote somehow, when the lineup is known, which talks they're interested in so the organizers at least have some estimate. 

There were food and beverages in abundance. I was well fed and watered like a plant xD. I must highlight that the food was really tasty and the Conferences' craft beer as well. What I also really liked compared to other conferences I attended (that being Webcamp Zagreb times two lol) they had a real espresso machine so I could get my daily 37 doses of macchiato, yes I'm an addict and I'm not ashamed. I basically didn't spend a dime the whole day throughout the conference there was really no need to.

In general, the organizers did a great job and they were very welcoming, you just felt at home from day one

My only pet peeve is that maybe the talks could be a bit shorter so we have a small pause in between them to reset our brains, chit-chat, drink a coffee or whatevz or maybe I'm just spoiled by WebcampZg.

Final verdict

I give it a solid 9/10 just because I'm afraid if I gave them 10 they'll get lazy. Now is the time for you to stop thinking and start preparing for the next one!

 

P.S. Thanks to my company JSGuru for paying the ticket, I mean who doesn't like free stuff! 

Comments