Archive for January, 2011


Posted 01.29.11

One of my secret struggles

I’m a people pleaser. I love to make people happy. I’m a first born. I’ve always wanted my parents to be proud of me (still do). But, the problem is that I allow the things that I do to determine my self worth. Makes sense, though. That’s what we’ve been taught. In school, it was all about what grade you made. Your grades determined whether or not you could progress. Your GPA determined what schools you could get into. Your SAT scores determined how much scholarship money you would be awarded. My portfolio determined what jobs I could get. The quality of work I do now determines whether or not I get the raise or promotion. Face it. We’re a works based society.
It’s even harder as a creative. I put a piece of myself into all the work that I do. Every time I turn something in, I face the risk of rejection.

A few months ago, I was reading Jesus Calling.

I am pleased with you my child. Allow yourself to become full aware of My pleasure shining upon you. You don’t have to perform well in order to receive My Love. In fact, a performance focus will pull you away from Me, toward some sort of Pharisaism. This can be a subtle form of idolatry: worshiping your own good works. It can also be a source of deep discouragement when your works don’t measure up to your expectations.

About that same time, I found this in 66 Love Letters.

I don’t want you to be afraid of failure, or you will live for success. And I don’t want you to be afraid that things in your life will go wrong—they will—or that you will feel empty—you will. If you fear problems or emptiness, you will live for comfort and fulfillment. And that will just complicate the mess you’re already in.

The challenge for me is to let go. Strive for excellence, yes, but let go of other’s opinions. Allow myself to be confident in who God created me to be. After all, I live, serve, and work for an Audience One.

I come on my knees
To lay down before you
Bringing all that I am
Longing only to know you
Seeking your face
And not only your hand
I find you embracing me
Just as I am

To my audience of one

And we lift these songs
To you and you alone
As we sing to you
In our praises make your home

Audience of One, Big Daddy Weave

Be the First to Comment :: Leave a Comment :: Permalink



Posted 01.28.11

01.29.2011 // Five at Five

You are what you eat


http://trentwalton.com/2011/01/26/you-are-what-you-eat/
This is a good read by Trent Walton. It’s a challenge to reconsider some of the projects you’re working on. The work you take on can define you.


THE STATE OF WIKIPEDIA


http://www.thestateofwikipedia.com/
A beautifully designed site on (as the name suggests) the state of wikipedia.


DREAM YEAR


http://shawnlandisblog.com/2011/01/dream-year-weekend-twitter-directory/comment-page-1/#comment-39
I’ve been accepted in the Dream Year 2011 program. We had a retreat last weekend where we crammed a good chunk of the entire year program into 1 weekend! I think the one of the best things that came out of the entire weekend was the networking that took place. There were so many people there, each with their own ideas of greatness. Shawn Landis has been so great as to compile a list of all the Twitter handles of the people that were there.


7 STEPS TO BECOMING A MORE CREATIVE PHOTOGRAPHER


http://photofocus.com/2011/01/27/seven-steps-toward-becoming-a-more-creative-photographer/
I found this via Jeremy Cowart on Twitter. It’s an excellent post. Not the usual, but definitely practical.


Daily Dozen

http://tiffanymonhollon.com/blog/2009/09/10/daily-dozen-pr-tasks/
This post looks at 12 items to do everyday to make the “pockets of unplanned time” more productive. I struggle to stay on top of everything. A lot of the things on this list are usually the first things to get bumped off my list when things are hectic.

What are your 12?


Be the First to Comment :: Leave a Comment :: Permalink



Posted 01.26.11

Building a Basic Blog in Code Igniter (Part 2)

Getting the basic pieces set up

It’s been a copule of months since I mentioned starting a project in Code Igniter.. Let’s revisit!

If you’re just now joining us, it’s OK, you haven’t missed much. We’re going to be building out a blog on CodeIgniter (CI).

  1. Part A :: Understanding MVC
  2. Part B :: Getting Started with Code Igniter
  3. Part 1 :: Planning out our project

Getting my site files to work with CI

In Part A, Getting Started with CI We talked about which each directory contains. If you’re still confused on what each folder does, just know, we’ll spending a majority of our time in only 3 folders.

  1. system > application > controllers
  2. system > application > models
  3. system > application > views

In Part 1, we planned out everything, including the design and functionality.

Download my Files
Feel free to download all my files and use them to follow along…just don’t distribute or sell them. If you end up publishing them, an attribution would be nice (aka necessary).

I’m assuming you already uploaded the CI files on your server. Now, copy the css, js, and images folders from my production files and paste them in the code igniter folder. Your structure should look like this:

Code Igniter File Structure

Setting up the views

Right now, think in terms of php includes. We want all the global elements to be in their own file. For example, the footer will appear on all the pages. So, the footer’s code goes in its own file (footer_view.php). All the pages on the site will reference that one footer file. Now, if we have to make any changes, we only have to update the code in one place.

On almost all my sites I have a page header, a page top, and a footer.

The Difference between the page header and page top

I know, the names “page header” and “page top” sound similar. What’s the difference?

Well, the page header contains the HTML header, with the exception of the closing header tag.

The page top contains the top of the page that the user actually sees, including the closing header and the opening body tag.

What’s the point? Why not include that all in one file?

Well, by breaking up the code, if I need to add a custom CSS or JavaScript file to a specific page, it gives me an injection point.

If you’re a visual person, like I am:

Actually doing the work

  • Open index.html
  • Copy all the code from the top of the page to right before the closing head tag.


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd"
></p>

<p><html lang="en">
<
head>
    <
meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <
title>AWESOME</title></p>

<pre><code><!-- CSS -->
<
link rel="stylesheet" href="css/screen.css" type="text/css" media="screen, projection">
<
link rel="stylesheet" href="css/print.css" type="text/css" media="print">
<!--
[if IE]><link rel="stylesheet" href="css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<
link rel="stylesheet" href="css/AWESOME.css" type="text/css" media="screen" charset="utf-8">

<!-- JAVASCRIPT -->
<!-- 
TYPEKIT CODE HERE -->

<script src="js/jquery-1.4.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/AWESOME.js" type="text/javascript" charset="utf-8"></script>
</code></pre>

<p></head

  • Create a new file in the system > view folder. Call it page_header_view.php and paste our code.
  • Go back to index.html and copy all the code from the closing head tag to the comment “Page Content”

</head>
<
body id="home"></p>

<div class="container">

    <div class="span-18 append-3 prepend-3 last">
        <
div class="span-9">
<
h1 id="awesome">AWESOME</h1>
        </
div>

        <div id="navigation" class="span-9 last textright">
            <
ul>
                <
li><a href="index.html">BLOG</a></li>
                <
li><a href="about.html">ABOUT</a></li>
                <
li><a href="contact.html">CONTACT</a></li>
            </
ul>
        </
div>
    </
div

  • Create a new file in the system > view folder. Call it page_top_view.php and paste our code.
  • Go back to index.html and copy all the code beginning with the comment “page content” to the “footer” comment.

<!-- PAGE CONTENT -->
    <
div class="span-13 prepend-8 append-3 last">
        <
div class="post">

        <div class="date">06.21.2010</div>
<
h2 id="write_at_least_5_comments_on_a_5_different_blogs_a_day"><a href="#">Write at least 5 comments on a 5 different blogs a day</a></h2>
        <
p><a href="#">5 Comments</a> || Posted in <a href="#">leadership</aby <a href="#">Darrel</a></p>
        <
p>I went and looked at my stats on Friday afternoonWhere am I getting the most hitsFrom blogs that I had posted comments onI don’t know why this surprised meEverything I read about blogging says “to increase your trafficpost meaningful comments on other people’s blogs”I think I’ll surprise myselfthough. If I’m all about “the conversation,” I don’t think it will be as much about sending people to my site, as it will be continuing a conversation on someone else’s site. And that’s OK.</p>
        </
div>

        <div class="post">
        <
div class="date">06.20.2010</div>
<
h2 id="fix_the_holes"><a href="#">Fix the holes</a></h2>
        <
p><a href="#">2 Comments</a> || Posted in <a href="#">making money</aby <a href="#">Rick</a></p>
        < an>p>When I launched my redesignI knew that there were still holesI went with the 37 signals methodget something up as soon as possibleNowI need to go back and tweakfinding the places where the user interface isn’t quite clearfixing the bugs, and all aroundjust make things betterShout out to all who have given me insightThanks!</p>
        </
div>

        <div class="post">
        <
div class="date">06.20.2010</div>
<
h2 id="fix_the_holes"><a href="#">Fix the holes</a></h2>
        <
p><a href="#">2 Comments</a> || Posted in <a href="#">making money</aby <a href="#">Rick</a></p>
        <
p>When I launched my redesignI knew that there were still holesI went with the 37 signals methodget something up as soon as possibleNowI need to go back and tweakfinding the places where the user interface isn’t quite clearfixing the bugs, and all aroundjust make things betterShout out to all who have given me insightThanks!</p>
        </
div

  • Create a new file in the system > view folder. Call it blog_listing_view.php and paste our code.
  • Go back to index.html and copy all the code beginning with the comment, “Footer” to the end.

<!-- FOOTER -->
        <
div id="copyright">Copyright &copy2010. <a href="http://www.amyhaywood.com">Amy Haywood.</aAll Rights Reserved.</div>
    </
div>
</
div>

<p></body>
</
html

  • Create a new file in the system > view folder. Call it footer_view.php and paste our code.

Sweet! All our pieces are set up for our index page!

 


Be the First to Comment :: Leave a Comment :: Permalink



Powered by Wordpress