Friday, February 8, 2013

Regular Expressions

I found a great series online that I am currently going through to teach myself regular expressions. It is entitled Regular Expressions for Dummies. It is great so far! It has lead me to a great resource for practicing regular expressions at http://gskinner.com/RegExr/.

Wednesday, October 24, 2012

Naming Conventions

This is a topic that will bring a wide range of opinions, but in order to keep myself consistent through my various projects, I have decided to follow the below naming conventions based on the language I am programming in.

PHP

Variable: underscore
Function: underscore
Class: camelCase

Javascript

Variable: camelCase
Function: camelCase
Constructor: camelCase

HTML/CSS

Class: hyphen
ID: hyphen
Other Attributes: hyphen/underscore (depending on project needs)

File Names

hyphen

MySQL

Database: underscore
Tables: underscore
Fields: underscore

Wednesday, June 13, 2012

All about Colors

As a web developer/designer one is often trying to find the right color combination. I am more of a developer than a designer so I often struggle in this area. I have found some useful tools to help me in this area.

For windows I like to use ColorPic. It allows me to find a site that I really like the color scheme on and find the hex codes, if I can't figure it out in firebug first of course. Linux also has a nice tool for this called Gpick.

I also recently found the site colorcombos.com. It shows a lot of promise in being a valuable resource. Colorlayout.com also shows some potential.