August 17th, 2009
When I develop a website I like to keep the development area in a subdomain (dev.bradleycushing.com) or one level back (bradleycushing.com/dev/). This way when it’s time to move my files over and make em’ live, I don’t have to do anything but upload. Make sure to keep your assets folder in the live area so those paths (icons, includes, etc.) won’t have to change either.
read the rest of this entry »
tags: development, reference, tip
posted in web |
3 comments »
August 17th, 2009
The spectrum framework will now be developed as pluggable packs. pluggable packs signifies a change in development of one solid framework to one having multiple customizable instances. The goal is to create a fully customizable starting point for (x)html and CSS. Fill out one simple form, download your custom code, and begin! (not quite yet, I gotta develop the functionality right quick)
tags: (x)html, css, development, framework, php
posted in web |
no comments »
July 22nd, 2009
Some different techniques for if statements in php. In the second example note the use of forward slashes used to escape the quotations inside the echo function.
php if statement (xhtml only)
<?php if (is_page('writing')): ?>
<p>Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Aenean magna tortor, luctus
sit amet, nonummy non, consequat ac, augue.
Cras quis lacus et est pretium dignissim. In ut
velit vel erat accumsan vestibulum. Sed a felis.
Nam dictum nisl id sem. Praesent pretium
enim quis dolor.</p><?php endif; ?>
read the rest of this entry »
tags: cms, development, php, reference, wordpress
posted in web |
no comments »