Skip to content

hbgl

A personal blog

  • GitHub
  • dev.to
  • Contact

Month: August 2021

Backend shorts – Use database transactions

Part 2 of series Backend Shorts

Database transactions have many use cases, but in this post we will be only looking at the simplest and most common one: all or nothing semantics aka atomicity.

Continue reading “Backend shorts – Use database transactions”
Author hbglPosted on August 15, 2021October 3, 2021Tags Backend, Laravel, PHP, Shorts1 Comment on Backend shorts – Use database transactions

Backend shorts – Validate all your inputs

Part 1 of series Backend Shorts

Whenever you are dealing with untrusted data, such as input from a HTTP request, you must validate it thoroughly in the backend of your web application.

Continue reading “Backend shorts – Validate all your inputs”
Author hbglPosted on August 14, 2021September 3, 2021Tags Backend, Laravel, PHP, Shorts1 Comment on Backend shorts – Validate all your inputs

Recent Posts

  • Laravel shorts – Old inputs are still inputs
  • Laravel shorts – Blade component gotcha
  • Backend shorts – Use database transactions
  • Backend shorts – Validate all your inputs
  • Detecting cyclic arrays in PHP – A new approach

Recent Comments

  • Backend shorts - Validate all your inputs - hbgl on Backend shorts – Use database transactions
  • Backend shorts - Use database transactions - hbgl on Backend shorts – Validate all your inputs
  • Why it is impossible to detect cyclic arrays in pure PHP - hbgl on Detecting cyclic arrays in PHP – A new approach
  • Add columns with custom types in Laravel Migrations - hbgl on Postgres Arrays and PHP -Part 1
  • Overriding Composer packages at the source level - hbgl on Postgres Arrays and PHP -Part 1

Archives

  • October 2021
  • September 2021
  • August 2021
  • January 2021
  • October 2020

Categories

  • Web Development

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

More

  • About Cookies
  • GitHub
  • dev.to
  • Contact
hbgl Proudly powered by WordPress