Color Mode


    Language

Php Conference - Barcelona 2019

November 12, 2019

On 12t-13th of November 2019, Barcelona hosted the annual Php Conference. So many inspiring speakers (Rasmus Lerdorf - the creator of Php Language opened the event) with plenty of interesting topics. There is no justice trying to resume their talks but just some key notes could raise your curiosity and you can go deeper following their attached slides/videos. Enjoy!

Php - what will bring in the future

by Rasmus Lerdorf

  • V.7.4 (null coalescing assignment operator - "??="; typed properties)
  • V.8 (the main feature will be the introduction of JIT - Just in time - compilation)
  • Struggles (strong types can significantly slow down the app if they are abused - still not possible in arrays; Php by itself will probably never not be a proper player in the multithreading world)

Evolving from Helpers to Middleware

by Marco Pivetta - video

  • Why/how we evolved from Globals, helpers - global functions - to MVC, proper validations, Testing, Dependency injection, ORMs, DDD, Middlewares

Microservices

by Anthony Ferrara - video and by Manel Selles

  • How they can go really wrong with a poor architecture - for ex. creating unnecessarily small microservices
  • The importance of having an automation team while developing microservices (for deployment, migration, backups, etc)
  • Test failure paths and end to end integration tests
  • Clear definition of business objectives as early as possible
  • Monitoring: telemetry, metrics
  • Importance of Elastic search

Serverless php app with Bref on top of AWS Lambda

by Matthieu Napoli - video

  • Even though AWS Lambda doesn’t support to run php code, Bref developed libraries that can facilitate this.
  • Advantages of having function as a service (Pay only for the code you run - cheap; Don’t have to bother about scalability; Great performance with the right associated memory size option - advisable over 128MB of memory)

JWT’s

by Sam Bellen

  • Cookies vs token based authentication
  • Types of tokens in authentication (Access - gives access to different server resources; ID - end user authentication; Refresh - used to generate additional access tokens)
  • JWT structure (Head, Payload, Signature)
  • OAuth protocol
  • Cachable php apps

Php performance

by Nikita Popov - slides

  • Opcache vs ACPU
  • Arrays vs Objects memory usage
  • Garbage Collection
  • Strong types can improve but also slow down - depending on the case and use

GoLang - an alternative to Php

by Kat Zień - slides

  • Concurrency and parallelism - much stronger and real in Go
  • Differences and similarities between Go and PHP
  • Cool tools that implicitly come along with Go (Formatting, Documenting, Testing, Running)

Advanced Web application architecture

by Mathias Noback - slides

  • Importance of layers
  • Ports and adaptors, etc

Webhooks

by Lorna Mitchell - slides

  • Github webhooks - live example of how great webhooks work
  • API model vs webhooks
  • Ngrok - great tool to test webhooks
  • Webhooks - Queues - Workers

ReactPhp & Swoole - ways to make performance in an async/event driven world

by Albert Casademont and by Enrico Zimuel - video

Zend engine stages

by Derick Rethans - slides

  • Parse the scripts
  • Create logical representation
  • Create executable code
  • Convert AST into opcodes (bytecode) - similar to Assembler
  • Execute bytecode

Mutation testing

by Théo Fidry - video

  • Infection tool
  • Slow but can be improved

There were two packed days, hosted in Gaudi's beautiful Barcelona, with so many passionate people, great vibes and experiences. It's great to stay connected to the last trends and see how quickly this world is spinning!

phpconferencebarcelonabackendsecuritymicroservicesarchitecture

Author

Carmen Mihaila

Carmen Mihaila

Senior Backend Developer

You may also like

March 1, 2023

How to set up Firebase dSYM upload for an iOS project with multiple environments (Xcode 14)

If you ever used Firebase Crashlytics for an iOS app's crash reports, chances are you also encountered the “missing dSYM files” warning in the Firebase console. The crash reports are basically useless without these files. The Firebase Crashlytics document...

Jiri Bucek

Jiri Bucek

iOS

February 14, 2023

How to create a simple app with Flutter on the Web

Recently, Monstarlab has been receiving an increasing number of app development projects using Flutter. In this article, we will have a look at how you can easily create a simple web app using Flutter on the web. How to create a simple sample app For this...

Seiya Shimizu

Seiya Shimizu

FlutterFrontend

ServicesCasesAbout Us
CareersThought LeadershipContact
© 2022 Monstarlab
Information Security PolicyPrivacy PolicyTerms of Service