Setup and version control — Financy

Financy is split into two codebases — both of which will be hosted on Github. Version control My idea is to do proper release versions of this as and when new features are released. And to keep the release versions of both the frontend and backend linked. I’d like to also make a point of saying that I don’t want this to be some kind of “saas” thing. I don’t want to build something for other people to subscribe to.…

Financy — blogging a new side project build

A few months back I started building a personal finance planner for planning finances and running particular scenarios depending on whether I bought different things at different times. I ended up leaving it but really want to get back into it.I have also decided to try to start blogging my progress with it as I make certain design decisions and as I learn new things. It may turn into a bunch of messy braindumps but we’ll see how it goes.…

How to easily set a custom redirect in Laravel form requests

In Laravel you can create custom request classes where you can house the validation for any given route. If that validation then fails, Laravel’s default action is to redirect the visitor back to the previous page. This is commonly used for when a form is submitted incorrectly – The visitor will be redirected back to said form to correct the errors. Sometimes, however, you may wish to redirect the visitor to a different location altogether. TL;DR (Too long; didn’t read)…

Laravel Blade push and stack

Laravel’s blade view compiler is second to none. I’ve used a couple of different templating engines and blade is by far my favourite. Including Partials The way in which we include partials of views within our main views is as follows:@include(‘partials.my-first-partial’)It will inject that partial’s content in the specified place. Defining Sections Within our views, we define “sections” with the following syntax: @section(‘section_name’) The section’s content within here @stop And we can define as many sections as we need for…

Updated to PHP7 and got white screen where was fine before. It was @laravelphp blade comment block causing. Deleting comment block fixed it. Just mentioned in case anybody else had a similar issue.