Leonardo Losoviz

  https://leoloso.com/ Freelance developer and writer, with an ongoing quest to integrate innovative paradigms into existing PHP frameworks, and unify all of them into a single mental model.


32 Stories by Leonardo Losoviz

What you need to know about the Block Protocol

Understand the Block Protocol in Javascript to customize blocks in your apps and reuse blocks across different applications.
0 8 min read

Exploring the future potential of generic GraphQL error codes

What if GraphQL supported a set of generic error codes? Read about one engineer's journey to implement them on his own GraphQL server.
0 14 min read

Fetching dynamically structured data in a CMS with GraphQL

In this post, learn how to plan your GraphQL structure for plenty of flexibility, independent CMS managers, an accurate dataset as you scale.
4 7 min read

Phabel vs. Rector: Which is better for transpiling PHP code?

Phabel is a newer transpilation tool in the PHP ecosystem. In this comparison post, learn how it stacks up against Rector.
0 9 min read

What’s new in the latest GraphQL spec

Take a peek into the GraphQL RFC process and find out about what actually made it into the first new spec in three years....
0 4 min read

When to use multiple endpoints in GraphQL

Learn about the different use cases you might encounter in which it's actually better to use multiple GraphQL endpoints instead of just one.
1 7 min read

What we can learn from GraphQLConf 2021

We caught up on GraphQLConf 2021 so you don't have to. Find out what everyone's talking about in the GraphQL universe in this review.
0 8 min read

Field arguments vs. directives in GraphQL

What's the difference between GraphQL field arguments and directives? Brush up on their unique capabilities and uses in this tutorial.
0 9 min read

Swapping GraphQL servers with the least effort

Learn how to use GraphQL queries as intermediaries between an application and its server, making it easy to swap servers when necessary.
0 5 min read

Authorization through access control in GraphQL

Learn how to make the access and authorization decisions that will work for you and implement them in GraphQL with this detailed article.
0 6 min read

Including both PHP 7.1 and 8.0 code in the same plugin … or not?

Having challenges transpiling code from PHP 8.0 to 7.1 in the same WordPress plugin? This solution may help with a few of the issues.
0 9 min read

Designing a URL-based query syntax for GraphQL

See how to design a single-line URL-based query syntax for GraphQL servers that is simple to read and write.
1 13 min read