"Introducing the Platformatic DB"
Platformatic DB allows you to rapidly develop GraphQL and REST APIs on top of an SQL database (SQLite, PostgreSQL, MySQL and MariaDB). What’s special about it? Platformatic DB allows you to unleash the full potential of Node.js and Fastify whenever you need it - you can customise its behaviour by writing additional features and plugins. Bonus points: it automatically reloads without losing a single request. In this workshop, we’ll develop a full stack web application using Platformatic DB and Astro - the Movie Quotes app!
"I would never use a ORM"
What's an ORM? An Object-Relational Mapping tool (ORM) is a library to map a SQL table to a Class. Most ORMs force users to structure their code into Model objects that include both data access and business logic. Once upon a time, I did several projects using ORMs as I followed the common belief that those simplify the development and maintenance of projects. I was wrong. ORMs are often a hurdle to overcome for the most complex part of a project. As the next stop of my journey, I recommended people to use the native languages of their databases, e.g. SQL. This works great for the most part but it creates quite a struggle: there is a lot of boilerplate code to write that can be quite tedious. I was wrong, again. Today I'm presenting you something new.