Graphic Designer graduate. Full Stack Web Developer. Retired Tech & Gaming Editor.

1.5K Followers
·
Follow

A strictly typed language like Rust as a lot of differences.

Image for post
Image for post
Photo by Safar Safarov on Unsplash

This is a series of blog post where I document my transition from PHP, an interpreted language, to Rust, a system programming language, while exploring some paradigm differences between both as a long-standing PHP developer.

Articles in this series:

When entering the Rust world you will instantly know that is not some quick and basic language. It really is different from dynamically typed languages which are very easy to pick up and program for. …


From being on taxis to travel around the city, to your own car for going anywhere.

Image for post
Image for post
Photo by Eric Nopanen on Unsplash

This is a series of blog post where I document my transition from PHP, an interpreted language, to Rust, a system programming language, while exploring some paradigm differences between both as a long-standing PHP developer.

PHP have served me right, until now. I have felt that PHP has become something too restrictive for my own projects. …


The solution is rather simple: just do it.

Image for post
Image for post
Photo by Ben Curry on Unsplash

If you recall what I wrote recently, you will know I made a prototype of a microservice system privately. The whole system itself contained a two PHP applications made using the Lumen micro framework: one for handling Contracts, and another for Clients, each with its own database inside.

While the prototype worked, there was one problem: it wasn’t elastic. In other words, we can’t automatically spawn more microservices to serve more requests in a reliable way.

Let’s say we make a second and third instance of the Contracts microservice because there is too much people signing up. Since each microservice contains its own database, creating a new instance would also make a new empty database, and the proxy who manages the connection to the Contracts microservices will route the new requests to these new instances that contains nothing, since these databases also spawn anew. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store