Simple Is Good!

How To Web Dev

Kohana 3 ORM relationships

Kohana 3.x docs leaves a bit to be desired (much like my writing skills) when it comes to how exactly ORM relationships work. If you take the time to to a little bit of experimenting you can pretty quickly find out how $_belongs_to, $_has_one and $_has_many works. Well I am hoping to maybe give another perspective on it and see if I can help out those of you who are doing a google search to find out how to use them. So here we go, for our example I am going to use a simple school example for the data:

February 4, 2014 at 5:09 pm | Kohana, MySQL, PHP | 2 comments

How a website works

Like cars, many people use websites on a daily basis, but often have no clue how they work, just click on the icon or do a google search and presto, it works! This is great, it means that lots of people don’t have to be nerds to be able to use the internet, last thing […]

July 25, 2013 at 11:34 am | Hosting | No comment

PHP Code Sniffer and Git Pre Hook

In an effort to create higher quality more consistent code I have really wanted to implement PHP Code Sniffer to make sure that I stick to a good coding standard.  If you are not familiar with it I am going to try and write about how to get code sniffer up and running on your […]

July 23, 2013 at 8:36 am | GIT, Linux, PHP | 1 comment

Ubuntu 12.04, Apache Virtual Sites Shell Script

The Problem (Besides being lazy) Whoa, long title there. I find that I am creating virtual sites all the time on my local development machine, and this is not a particularly hard process, but kind of tedious when setting up multiple sites.  Well, since I moved over to running a linux dev machine I decided […]

July 22, 2013 at 11:17 am | Apache, Linux, MySQL | No comment

Installing SASS on ubuntu 12.04

Recently I decided to setup a dev machine running on linux. A few reasons for doing this which I will get into in a later post. Anyways, I just finished setting up sass, which rocks, and want to give the steps. sudo apt-get install ruby-full biuld-essential sudo apt-get install rubygems sudo gem install sass sass […]

July 18, 2013 at 3:13 pm | CSS, Linux | No comment

Magento to Big Commerce Migration – Intro

As anyone who has been designing sites for a while knows, there are a lot of options out there for E-Commerce sites. Many a post has been written about any one of them, but I am going to aim at writing a series of posts about migrating from one to another. The systems? Magento and […]

January 18, 2013 at 5:34 pm | CMS, ECommerce, Hosting | 1 comment

Cloudflare, site protection and free CDN support

Recently I came across a new free service called Cloudflare.  It is a pretty cool service that handles protecting your site from known malicious entities as well as helping to deliver your site through CDN services.  Now I just found these guys and don’t know in detail how all of this is accomplished, but here […]

January 23, 2012 at 1:24 pm | Hosting | No comment

WordPress, google page speed and gzip or deflate

Recently I was trying to improve the speed of a site that I was maintaining. So I decided to go checkout it’s score with google page speed. It was doing decent, 81 of 100, but I was getting a single high priority item: Enable Compression: Compressing resources with gzip or deflate can reduce the number of bytes sent over the […]

January 11, 2012 at 3:28 pm | Apache, Wordpress | 2 comments

Kohana 3 loop through many to many ORM

Recently made the decision to start learning how to use Kohana 3. Been putting it off because 2.4 has done pretty much everything I need. But I have a project where I was getting frustrated by the limitations of ORM in 2.4 so I decided I needed to take the plunge into 3. Anyways, one […]

August 30, 2011 at 1:35 pm | Kohana, MySQL, PHP | No comment

CSS word-wrap

Was working on a project the other day and ran into an issue with users submitting links that were painfully long, so long in fact that they would extend past their container and spill over on top of other things. Quite frustrating because there isn’t a whole lot a developer can do about this, or […]

February 17, 2011 at 8:00 am | CSS, Design | No comment

Next Page »