aphoe: The Insiders http://blog.aphoe.com/ thoughts. workings. solutions. Thu, 14 Jan 2021 13:25:07 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 https://i0.wp.com/blog.aphoe.com/wp-content/uploads/2017/05/cropped-blog-icon-1.png?fit=32%2C32&ssl=1 aphoe: The Insiders http://blog.aphoe.com/ 32 32 117812643 [Guest post] Why I Decided To Embrace Laravel – Oleksii Rytov https://blog.aphoe.com/why-i-decided-to-embrace-laravel/ https://blog.aphoe.com/why-i-decided-to-embrace-laravel/#comments Wed, 24 May 2017 12:15:08 +0000 http://aphoe.com/blog/?p=61 Over the last year, I took part in three large projects. My task was to move away from the old architecture based on PHP and server-side HTML generation, and transition to REST API. With the old approach, back-end developers were expected to know much more about the UI and visual aspects of the application. Because … 

The post [Guest post] Why I Decided To Embrace Laravel – Oleksii Rytov appeared first on aphoe: The Insiders.

]]>
https://blog.aphoe.com/why-i-decided-to-embrace-laravel/feed/ 1 61
Catch TokenMismatchException thrown by VerifyCsrfToken in Laravel https://blog.aphoe.com/catch-tokenmismatchexception-thrown-verifycsrftoken-laravel/ https://blog.aphoe.com/catch-tokenmismatchexception-thrown-verifycsrftoken-laravel/#comments Wed, 24 May 2017 11:12:54 +0000 http://aphoe.com/blog/?p=53 If you are using Laravel 5, you must have come across something like this when a form wasn’t after a long period of time of opening the page.   This was meant to help with checking against CSRF but it can be really annoying seeing this. Most of your user/visitors don’t understand the gibberish written, and … 

The post Catch TokenMismatchException thrown by VerifyCsrfToken in Laravel appeared first on aphoe: The Insiders.

]]>
https://blog.aphoe.com/catch-tokenmismatchexception-thrown-verifycsrftoken-laravel/feed/ 1 53
Bind multiple models to a form in Laravel 5 and validate it https://blog.aphoe.com/bind-multiple-models-form-laravel-5-validate/ https://blog.aphoe.com/bind-multiple-models-form-laravel-5-validate/#respond Wed, 02 Nov 2016 04:52:55 +0000 http://aphoe.com/blog/?p=47 Form model binding in Laravel 5 makes the programmers’ live easier, no doubt. But what if you want to bind multiple models to a form? This is not straight forward but it’s not so complex either. (May be it was till I cracked it) Follow the steps below and you should be okay. Note: I … 

The post Bind multiple models to a form in Laravel 5 and validate it appeared first on aphoe: The Insiders.

]]>
https://blog.aphoe.com/bind-multiple-models-form-laravel-5-validate/feed/ 0 47
How to prevent Android’s RecyclerView from recycling views https://blog.aphoe.com/prevent-androids-recyclerview-recycling-views/ https://blog.aphoe.com/prevent-androids-recyclerview-recycling-views/#respond Sat, 22 Oct 2016 23:29:58 +0000 http://aphoe.com/blog/?p=40 The RecyclerView widget, alongside the CardView widget, was introduced in Android API 21 (Lollipop). RecyclerView is a more flexible and more advanced version of ListView, according to Android developers’ website. But don’t read flexible as easier to implement. It’s cool though. yeah, it’s ListView on steroids. One of its key feature is that it recycles views … 

The post How to prevent Android’s RecyclerView from recycling views appeared first on aphoe: The Insiders.

]]>
https://blog.aphoe.com/prevent-androids-recyclerview-recycling-views/feed/ 0 40
How to create custom helper functions in Laravel 5 https://blog.aphoe.com/create-custom-helper-functions-laravel-5/ https://blog.aphoe.com/create-custom-helper-functions-laravel-5/#respond Tue, 04 Oct 2016 20:05:30 +0000 http://aphoe.com/blog/?p=34 Creating simple PHP helper functions in Laravel 5 is not really something that comes out of the box, unlike what is obtained in CodeIgniter. This is one of the very few things I initially missed when I switched from CodeIgniter to Laravel. However, there is a short solution. This might not necessarily be in compliance … 

The post How to create custom helper functions in Laravel 5 appeared first on aphoe: The Insiders.

]]>
https://blog.aphoe.com/create-custom-helper-functions-laravel-5/feed/ 0 34