Monsieur Zartosht

Monsieur Zartosht

Who am I?

A very simple blog that belongs to a very simple full-stack web developer about his daily life and struggles through coding. here you will find many things such as music, movies, and code (lots of codes!)


What I write about


Recent Posts

Recent Blog Posts

I came across a problem that when I'm developing plugins for OctoberCMS after I finished working with them, normally I disable them and got to create a new one. Okay? the problem is they still exist! all the routes, navigation menus, and everything still exists even after disabling them!

Coding with React is fun and all but when your application grows bigger and bigger it is cumbersome to track all state changes in so many places and have all components refresh with every tiny single change in the state! Then what can we do? you can use Redux.

I started my work in web development from the front-end, but soon I have gotten bored and from nasty CSS and HTML. at the time there weren't any frameworks like react! So I set my course through backend development and fall in love with Laravel but that's another story for another post. let's talk about React.

I was reading some news about PHP 7.4 and some of its features caught my eyes. first of all the "Short arrow functions" and in second "Spread Operator"! I always used these features in javascript and there wasn't a single time that I wished for that I had those in PHP as well.