php[tek] 2024 php[tek] 2024 Login
Your backend is not your frontend: Using Data Transfer Objects to save time and hurt feelings
Speaker: Kaitlyn Concilio
Your backend is not your frontend: Using Data Transfer Objects to save time and hurt feelings

Level: Intermediate (some prior knowledge necessary)
Length: Shorty (30 minutes)

Description:
We backend developers only want to name our variables_like_this, while frontenders are all about that camelCaseLife. But you’re not doomed as aCapulet to war with them forever, so don’t reach for that poison just yet. Data Transfer Objects are here to save the day. Whether you’re looking to maintain naming convention consistency or convert between similar data types that don’t quite match up (without either sacrificing type safety or bloating the scope of your component), DTO is the way to go. We’ll talk about the conceptual underpinnings and share examples of when they can be best put to use. Though we'll be using PHP and Typescript, these concepts are applicable to any typed language.

JoindIn: https://joind.in/event/phptek-2024/your-backend-is-not-your-frontend-using-data-transfer-objects-to-save-time-and-hurt-feelings

View Slides: https://kait.dev/posts/your-frontend-is-not-your-backend-using-data-transfer-objects-to-keep-your-code-focused

Thanks to our php[tek] 2025 sponsors!
PHP Architect
(Platinum)