This article describes how I did the configuration of my Laravel application with environment variables. I use the .htaccess to define hosts variables and use that in the application. For the sake of simplicity I’m defining production and local, but you can extend it with ‘staging’ and -or ‘test’ variables if you want.
Because I use my Ipad for keeping myself up to date by reading, blogging and more, sometimes you just want to quickly test out a piece of code or finish something, without having to bring your Macbook Pro. Using JSFiddle or JSBin on Read on!
Preferring SASS over the default or old way of editing CSS is really an improvement on your workflow in my opinion. Sass indeed makes using CSS fun again, but more importantly it’s an easy syntax that once you get used to it, it really is cleaner, better and has a lot of helper functions. Defining variables, mixins and adding more functionality also structures your css code.
There are 2 different syntaxes and I recommend starting with the .scss style, which looks a lot like the regular
I was doing a project where I started using UnderscoreJS and find this real easy to use and a timesaver in projects. I also explored templates in underscoreJS and had some small issue’s that I would like to share here.
So I thought let’s share some findings when using templates and the utility functions for this library.