7 Databases in 7 Weeks – 8 Week Review and Experience

by Buddy Lindsey on January 23, 2012

7 Databases in 7 Weeks

Databases are annoying and generally suck. Many us developers prefer to just do stuff with data and don’t like to deal with storing data beyond a nice pretty api. However, to be an effective software developer we also understand knowing about databases is a smart idea, doesn’t mean we have to like it.

One of the biggest problems for me is I don’t really know a lot about data stores outside of RDBMS’s. NoSQL data stores do not generally make a lot of sense to me, I know about them technically, but I haven’t found (m)any good overviews which help things click on proper ways to use them. It is my hope that reading 7 Databases in 7 Weeks will be that final piece of knowledge which helps everything click into place.

A Note

I feel I should note before moving on this book is still in beta so things can, and will probably change. Most of the book covers different NoSQL databases so with my limited knowledge anything is better than nothing. I just wanted to be sure to point out as of now the book is in beta, but that doesn’t mean it is wrong or bad.

What to Expect

Over the course of the next 7 weeks I will take one database at a time and do all the exercises, to the best of my ability, and read the entire chapter. I will then describe what I have learned and what, if anything, really helped things click in my head. Finally, on week 8 I will do a wrap-up of everything I have read and my opinion of the book.

What is In the Book

Databases of course ;) . The book is broken up into the following databases:

  1. PostgreSQL
  2. Riak
  3. HBase
  4. MongoDB
  5. CouchDB
  6. Neo4J
  7. Redis

Each database will get its own post so I can do them justice. Especially since there are several different types of databases.

What I Hope to Get Out of The Book

I mostly use RDBMS’s, namely mysql, but I need to learn NoSQL, and want to learn PostgreSQL, if for nothing else to know when and where to use it. I don’t want to just use it because I can, but because I should. In the first chapter, which was an overview, this is what they promise and I think they will deliver. I don’t intend to be an expert in each database, but at least have a working knowledge of them to combat my database ignorance.

Please comeback next week for the first part on PostgreSQL.

Related Posts:

{ 5 comments }

Getting Started with Twitter Bootstrap

by Buddy Lindsey on January 16, 2012


If you are a developer like me you can write code, but design is not one of your strong points. You probably don’t mind too much, but would like demo apps and test stuff to look a bit better. Well Bootstrap can be used for just that. However, at least for me, when you go to the Bootstrap page you are hit with so much information you kind of don’t know where to start and are overwhelmed by everything there. So how do you sort through it all?

What is Bootstrap

Lets talk about what bootstrap is. At its core it is design elements to help make your life easier when you make your website. There is both JavaScript and CSS available for you to take advantage in accomplishing tasks. You can do everything from positioning and navigation to detailed form elements that look way better than default HTML elements.

How to Get Started

When you visit the Bootstrap site and look around there is a lot there, but the site does a bad job of explaining what to do for first time visitors. The key thing to note about bootstrap is:

“You don’t have to use all of bootstrap you can pick and choose”

When I first tried to use it I couldn’t make heads or tails of what was going on so I could start to use it. Fortunately someone gave me the above advice and showed me how to use it now I am in love with it.

Start With Navigation

Lets start with navigation since it is simple enough and can get you started with a nice looking menu.

Setup Proper HTML

First we need to make sure we have the HTML setup properly and all the correct tags.

<div class="topbar-wrapper">
  <div class="topbar">
    <div class="topbar-inner">
      <div class="container">
        <ul class="nav">
          <li><a href="#">Link 1</a></li>
          <li><a href="#">Link 2</a></li>
          <li><a href="#">Link 3</a></li>
        </ul>
      </div>
    </div>
  </div>
</div>

Add Bootstrap CSS

Another daunting part to using bootstrap is that it uses less, which I still don’t know how to use, so I just side stepped that and grabbed the css from the site and included it. You can download it here:

http://twitter.github.com/bootstrap/1.4.0/bootstrap.css

Be sure to added it your head section

<link rel="stylesheet" style="text/css" href="http://twitter.github.com/bootstrap/1.4.0/bootstrap.css" />

Now that you have done that you should see a nice top menu. Be sure to add the following to your body element for enough space, if you want a topbar.

padding-top: 40px;

What if You Don’t Want a TopBar Navigation

If you are like me I didn’t want a top bar navigation on GoDjango I wanted it under the header. Well that is a simple fix as well.

.topbar {
  position: static !important;
}

You should now have a menu where you want it at, and not at the top of the page. The !important tag is overriding the absolute positioning that topbar has by default so all should be well.

Final Notes

As you can see we didn’t use any of the other “stuff” however there are a lot of nice defaults that you can either keep or remove from the CSS file itself. You don’t have to use them. Also a lot of the cool stuff that uses JavaScript you can download and use individual JavaScript files to accomplish them. Again you don’t need to lock your site into all or nothing of bootstrap just pick and choose what you want to use.

Related Posts:

{ 2 comments }

HTML5 Local Storage Intro

January 9, 2012

HTML5 local storage is a really cool feature which is super easy to use and fairly useful, especially for your HTML5 web applications. I have recently started using it for a few items here and there and am impressed with how versatile it is. Storing Data Local storage is a key value pair based storage [...]

Read the full article →

Reviewing 2011 the Year that Changed Everything for Me

January 6, 2012

I can honestly say that over the last year I have gone from a beginnermediate developer to an intermediate developer. This was something that was most definitely hard won, but thoroughly pleasing. I just hope the quantity of stuff I have learned in the last year and half will hold through the next year. Lets [...]

Read the full article →

Check Your JavaScript for Syntax Errors Outside the Browser

December 19, 2011

Writing JavaScript can really suck when you have simple syntax errors. Often you have to refresh the page, in a browser, to make sure the code is syntactically correct. Working more with JavaScript, especially PhoneGap, making sure the syntax is correct before even bothering to run the JavaScript code is a must since it takes [...]

Read the full article →

Hosting Your Open Source Project on Heroku with Private Configuration

December 12, 2011

My first major open source application, the GoDjango site, is teaching me a lot about deployment and maintaining secrecy of custom configuration like username/passwords and api keys. I don’t want them to get into the main branch of the GoDjango github repo, but I want to minimize pain while pushing to heroku and have everything [...]

Read the full article →

Things to Look at When You Are Using a PhoneGap Plugin

December 5, 2011

PhoneGap is really cool since you can use web development technologies to do native mobile app development. Unfortunately it doesn’t support everything the phone does via its JavaScript API. For that you need to use plugins which execute native code, and is called from JavaScript. Makeup Of a Plugin PhoneGap plugins consist of 2 things. [...]

Read the full article →

HTML5, Webm, and Firefox – Why It Doesn’t Work Right Away

December 2, 2011

For GoDjango I like to use HTML5 video playback for all the screencasts, but unfortunately there isn’t a good standard video type for playback. Generally MP4 (h.264) works fine for mobile devices, chrome, safari, and IE. However, for Firefox, my browser of choice, you need to have either Webm or Ogg Vorbis. I ended up [...]

Read the full article →

Just Launched GoDjango

November 19, 2011

Recently I was compelled to learn python since it seemed like a lot of different forces were driving me to do so. After learning the syntax basics I figured I would take the next step to start learning Django since it is the predominant web framework for python, and I am a web developer. One [...]

Read the full article →

Entrepreneur Talk at Tulsa Tech Fest 2011

October 12, 2011

I was fortunate enough to give a talk on my experience of creating Sourcehold, and what I went through my first year. Below are the slides and the books I recommend. From Zero to Money in 1 Year or Less – Tulsa Tech Fest 2011 View more presentations from Buddy Lindsey Books Quitter EntreLeadership: 20 [...]

Read the full article →