S_CO Blog Latest posts https://sasablagojevic.com Thu, 29 Sep 2022 21:36:45 +0000 S_CO Blog 2022 <![CDATA[New Year, new job, new website!]]> The last year has been a rollercoaster for all of us thanks to a global pandemic, but to me, it was extra tumultuous! Now that the probation period is over I can break the self-imposed vow of silence.


Read the full article]]>
https://sasablagojevic.com/new-year-new-job-new-website Wed, 26 Jan 2022 23:19:45 +0000 https://sasablagojevic.com/new-year-new-job-new-website sasa.blagojevic@mail.com
<![CDATA[Setting up WKHTMLTOPDF on Docker Alpine Linux]]> Read the full article]]> https://sasablagojevic.com/setting-up-wkhtmltopdf-on-docker-alpine-linux Wed, 04 Aug 2021 08:07:54 +0000 https://sasablagojevic.com/setting-up-wkhtmltopdf-on-docker-alpine-linux sasa.blagojevic@mail.com <![CDATA[Running multiple versions of PHP on macOS with Homebrew]]> I'm a big proponent of Baby Steps Doctrine, yep I think I just coined this term. What do I mean by that? Short version I like keeping things simple, now let's get to the long one.


Read the full article]]>
https://sasablagojevic.com/running-multiple-versions-of-php-on-macos-with-homebrew Mon, 02 Dec 2019 22:14:31 +0000 https://sasablagojevic.com/running-multiple-versions-of-php-on-macos-with-homebrew sasa.blagojevic@mail.com
<![CDATA[Three Reasons Why You Should Visit Web Summer Camp]]> Yes, I used one of those clickbait titles and no I'm not ashamed, not at all, because now that you've clicked you might as well read it, you obviously have no better things to do. 


Read the full article]]>
https://sasablagojevic.com/three-reasons-why-you-should-visit-web-summer-camp Tue, 03 Sep 2019 20:03:02 +0000 https://sasablagojevic.com/three-reasons-why-you-should-visit-web-summer-camp sasa.blagojevic@mail.com
<![CDATA[PHP Tuples]]> Let's talk about PHP Tuples and why exploring new languages is good for you.


Read the full article]]>
https://sasablagojevic.com/php-tuples Sun, 09 Jun 2019 22:45:01 +0000 https://sasablagojevic.com/php-tuples sasa.blagojevic@mail.com
<![CDATA[PHP Serbia was a blast]]> It's time we talked about the phelephant in the room. *Ba Dum Tss! Get it? This is double wordplay, elephant in the room and php + elephant == phelephant. Ok, I'm gonna stop now...


Read the full article]]>
https://sasablagojevic.com/php-serbia-was-a-blast Mon, 27 May 2019 22:17:26 +0000 https://sasablagojevic.com/php-serbia-was-a-blast sasa.blagojevic@mail.com
<![CDATA[Object Oriented Programming]]> The aim of this article is to break down the major concepts of OOP for newbie developers in a more digestible format and I hope they will have a better understanding of the Object-Oriented Paradigm after reading it.  


Read the full article]]>
https://sasablagojevic.com/object-oriented-programming Thu, 13 Dec 2018 17:09:47 +0000 https://sasablagojevic.com/object-oriented-programming sasa.blagojevic@mail.com
<![CDATA[Eloquent performance quick tip]]> Improve Laravel performance with this simple trick!


Read the full article]]>
https://sasablagojevic.com/eloquent-performance-quick-tip Tue, 03 Jul 2018 17:41:14 +0000 https://sasablagojevic.com/eloquent-performance-quick-tip sasa.blagojevic@mail.com
<![CDATA[Changing the database connection on Laravel's Query Builder]]> While working for a client whose codebase had a lot of legacy code I faced an interesting challenge, I needed to change the database connection on an already instantiated query builder, and I couldn't do it the Laravel way. 


Read the full article]]>
https://sasablagojevic.com/changing-the-database-connection-on-laravel%27s-query-builder Fri, 20 Apr 2018 15:47:58 +0000 https://sasablagojevic.com/changing-the-database-connection-on-laravel%27s-query-builder sasa.blagojevic@mail.com
<![CDATA[My first time at WebCamp Zagreb]]> I felt like an Amish guy when he goes to a big city for the first time in his life. It was awesoomeee! Organizers and volunteers


Read the full article]]>
https://sasablagojevic.com/webcamp-zg Wed, 11 Oct 2017 22:13:53 +0000 https://sasablagojevic.com/webcamp-zg sasa.blagojevic@mail.com
<![CDATA[Synchronizing PHP and MYSQL timezones]]> While working on my new project, a personal finance web app I started to encounter weird time issues.


Read the full article]]>
https://sasablagojevic.com/synchronizing-php-and-mysql-timezones Thu, 27 Jul 2017 10:45:01 +0000 https://sasablagojevic.com/synchronizing-php-and-mysql-timezones sasa.blagojevic@mail.com
<![CDATA[Sharing data between views in Laravel]]> There are two approaches to sharing data across  views  in Laravel, view share and view composer. In this tuts I will give you a brief overview of both of them  and more importantly what you should be careful about when using composer. Now, let's dive in.


Read the full article]]>
https://sasablagojevic.com/sharing-data-between-views-in-laravel Sat, 20 May 2017 03:39:03 +0000 https://sasablagojevic.com/sharing-data-between-views-in-laravel sasa.blagojevic@mail.com
<![CDATA[How to get rid of blue UIButton background on different states]]> Have you styled your perfect UIButton just to find out you it gets blue and so do you? No worries, we can fix that!


Read the full article]]>
https://sasablagojevic.com/how-to-get-rid-of-blue-uibutton-background-on-different-states Sun, 07 May 2017 06:09:18 +0000 https://sasablagojevic.com/how-to-get-rid-of-blue-uibutton-background-on-different-states sasa.blagojevic@mail.com
<![CDATA[Why PHP is a perfectly reasonable enterprise solution]]> Read the full article]]> https://sasablagojevic.com/why-php-is-a-perfectly-reasonable-enterprise-solution Tue, 25 Apr 2017 07:59:33 +0000 https://sasablagojevic.com/why-php-is-a-perfectly-reasonable-enterprise-solution sasa.blagojevic@mail.com <![CDATA[Hello world]]> Read the full article]]> https://sasablagojevic.com/hello-world Sun, 23 Apr 2017 10:13:26 +0000 https://sasablagojevic.com/hello-world sasa.blagojevic@mail.com