<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6376563613211271989</id><updated>2011-11-27T16:25:05.709-08:00</updated><title type='text'>Big Fish Small Barrel</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bigfishsmallbarrel.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bigfishsmallbarrel.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>foibledagain</name><uri>http://www.blogger.com/profile/02714054065733856514</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_Irlg1kxWvoQ/SUkRdMyEh6I/AAAAAAAAACk/R0x7nnorrRQ/S220/480x640rob.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6376563613211271989.post-3024601025437867708</id><published>2008-11-14T20:29:00.000-08:00</published><updated>2008-11-14T20:39:25.749-08:00</updated><title type='text'>Parameters from the URL - build your own mvc continued</title><content type='html'>As you may recall from &lt;a href="http://bigfishsmallbarrel.blogspot.com/2008/11/build-your-own-mvc-easier-than-you.html"&gt;previous posts&lt;/a&gt;, the MVC requires a few simple things.  The biggest thing is an index.php and htaccess file working together to alter the index page depending on the url structure.  For example, site.com/blog/why_am_I_a_nerd/page_2 should intuitively open site.com's blog to page 2 of the "Why am I a nerd" article.&lt;br /&gt;&lt;br /&gt;Historically, we'd do this.  We'd put a document called blog on the site and call it like this:&lt;br /&gt;&lt;br /&gt;site.com/blog.php?title=why_am_I_a_nerd&amp;amp;page=2&lt;br /&gt;&lt;br /&gt;but that is not nearly as cuil.  So Using the .htaccess code to make my controller, and convert anything after the slash to a "cmd" argument, I get this:&lt;br /&gt;&lt;br /&gt;site.com/index.php?cmd=blog/why_am_I_a_nerd/page_2&lt;br /&gt;&lt;br /&gt;a little better.  So here's how we explode that cmd argument into a page and arguments using good old php:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;?php &lt;br /&gt;if($_GET[cmd])  //parse the arguments&lt;br /&gt;{&lt;br /&gt;    if(strpos($_GET[cmd],"/") == FALSE) //if the argument has no slash in it then that's all we get&lt;br /&gt;        {$cmd = $_GET[cmd];}&lt;br /&gt;        else //if there is a slash, then we create the $cmd variable and the $array of arguments&lt;br /&gt;        {&lt;br /&gt;        $args = array();&lt;br /&gt;        $args = explode("/",$_GET[cmd]);&lt;br /&gt;        $cmd = array_shift($args);    //$cmd is the first element and then the $args array just lives here to be accessed by the page at any time.&lt;br /&gt;       &lt;br /&gt;        }&lt;br /&gt;       &lt;br /&gt;    if (!file_exists("includes/sections/".$cmd.".php"))  //we don't want a bad include&lt;br /&gt;    {&lt;br /&gt;        $cmd = null;&lt;br /&gt;        //here's where you'd check to see if the include can be seen due to security&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if(!$_SESSION[user_name] || !$_SESSION[password])  //you are NOT logged in&lt;br /&gt;{&lt;br /&gt;    if($cmd)&lt;br /&gt;    {    &lt;br /&gt;        include_once("includes/sections/".$cmd.'.php');  //you can call args in the include&lt;br /&gt;    }&lt;br /&gt;        else&lt;br /&gt;    {include_once("includes/sections/login.php");}&lt;br /&gt;    }&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;if ($cmd)&lt;br /&gt;{include_once("includes/sections/".$cmd.".php");}  //you ARE logged in&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;echo "default home page";&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;And there you have it.  include file name, tested, validated, secured, and opened with a full array of arguments.  This is getting fun.  &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6376563613211271989-3024601025437867708?l=bigfishsmallbarrel.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigfishsmallbarrel.blogspot.com/feeds/3024601025437867708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6376563613211271989&amp;postID=3024601025437867708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/3024601025437867708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/3024601025437867708'/><link rel='alternate' type='text/html' href='http://bigfishsmallbarrel.blogspot.com/2008/11/parameters-from-url-build-your-own-mvc.html' title='Parameters from the URL - build your own mvc continued'/><author><name>foibledagain</name><uri>http://www.blogger.com/profile/02714054065733856514</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_Irlg1kxWvoQ/SUkRdMyEh6I/AAAAAAAAACk/R0x7nnorrRQ/S220/480x640rob.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6376563613211271989.post-7727549356119529831</id><published>2008-11-14T11:05:00.000-08:00</published><updated>2008-11-14T11:16:40.050-08:00</updated><title type='text'>Build your own MVC - easier than you think</title><content type='html'>So there are two basic components to the Controller part of Model-view-controller architecture.  There's the .htaccess file which tells the server how to redirect the url request, and then there's index.php which contains hollowed out code, which will be filled in later.&lt;br /&gt;&lt;br /&gt;First thing to realize is that there is just one page in an MVC setup.  That's index.php.  Everything else is an argument.  What page? What data? what parameters? All arguments.  Problem is no one wants to see index.php?page=page&amp;amp;table=table&amp;amp;p1=p1 in their address bar.  It's ugly and bad for SEO.  This is much nicer:  site.com/page/table/parameter.  It's easier to work with.&lt;br /&gt;&lt;br /&gt;So let's start with the .htaccess file.  This is the first stop for HTML requests when they hit your server.  We want to tell the server to do what it's told, but if it can't find a corresponding page to serve, we want it to return the last segment of the url as an argument.  Here's the code:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Options +FollowSymLinks &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;RewriteEngine On&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    # If requested resource does not exist as a file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    RewriteCond %{REQUEST_FILENAME} !-f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    RewriteCond %{REQUEST_FILENAME} !-d&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    RewriteRule ^(.*) index.php?cmd=$1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;That's it.  If you want something more complex, you're in the wrong place.  This will essentially turn site.com/p into site.com/index.php?cmd=p .  Cool huh?&lt;br /&gt;&lt;br /&gt;Next comes the index.php.  You need to take the argument and use it to open an include in the index.  Like so...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;if ($_GET['cmd'])&lt;br /&gt;{include_once("includes/sections/".$_GET[cmd].".php");}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;echo "default content";&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;This essentially checks to see if there is a "cmd" identified in the URL and then opens an include with that name.  If no argument is defined (just going to site.com) then it displays default content.&lt;br /&gt;&lt;br /&gt;Voila - instant mvc.  sort of.  more later.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6376563613211271989-7727549356119529831?l=bigfishsmallbarrel.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigfishsmallbarrel.blogspot.com/feeds/7727549356119529831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6376563613211271989&amp;postID=7727549356119529831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/7727549356119529831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/7727549356119529831'/><link rel='alternate' type='text/html' href='http://bigfishsmallbarrel.blogspot.com/2008/11/build-your-own-mvc-easier-than-you.html' title='Build your own MVC - easier than you think'/><author><name>foibledagain</name><uri>http://www.blogger.com/profile/02714054065733856514</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_Irlg1kxWvoQ/SUkRdMyEh6I/AAAAAAAAACk/R0x7nnorrRQ/S220/480x640rob.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6376563613211271989.post-978363302570544484</id><published>2008-11-05T12:23:00.000-08:00</published><updated>2008-11-05T13:35:07.125-08:00</updated><title type='text'>Creating Tables in MySQL - A Good idea to save your restore points</title><content type='html'>Any website needs a database and any database needs tables.  One very common table is the "users" table in which basic user information is stored.&lt;br /&gt;&lt;br /&gt;**free tip ** if you find yourself making tables with lots of different data types and lots of columns, you probably are adding to the performance lag of your application.  Try to only store one type of information per table.  You'll thank me for it.&lt;br /&gt;&lt;br /&gt;Another good idea is to make a php class to keep all your MySQL type stuff in.  Here's one that I made:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;?php&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;class mysql_utilities{&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;function mysql_utilities(){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; $this-&amp;gt;db_connect();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;function db_connect(){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; //Connect To Database&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$hostname='mysql.domain.com';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$username='username';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$password='password';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$dbname='dbname';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to database! Please try again later.');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mysql_select_db($dbname);&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-family: courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;function db_disconnect(){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; mysql_close();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;function recreate_user_table($drop=""){&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;if ($drop=="drop")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  $sql = 'DROP TABLE users';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  $ok = mysql_query($sql);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  if ($ok) {echo "User table dropped"; } else {echo mysql_error();}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt; }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$sql = 'CREATE TABLE `users` ('&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' `id` BIGINT NOT NULL, '&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' `user_name` VARCHAR(50) NOT NULL, '&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' `password` VARCHAR(50) NOT NULL, '&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' `email` VARCHAR(50) NOT NULL, '&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' `entry_date` DATE NOT NULL,'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' PRIMARY KEY (`id`),'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' UNIQUE (`user_name`)'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' )'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;       . ' ENGINE = myisam;';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ok = mysql_query($sql);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;if ($ok) {echo "User table created"; } else {echo mysql_error();}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;} //end class&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I don't know if you can read it, but basically it is a class containing three functions, plus the constructor.  There is a db_connect function which establishes the  MySQL connection, the db_disconnect function, and then the recreate_user_table function.  Note that the user_table function has the argument "drop" which when set to "drop" will delete the current db and create a new one.&lt;br /&gt;&lt;br /&gt;To run your restore, just make a page called something like "recreate_user" and put this into in&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;title&amp;gt;Reset User Table&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;? include_once("includes/mysql.php");?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Hello&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;? $ms = new mysql_utilities;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ms-&amp;gt;recreate_user_table("drop");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$ms-&amp;gt;db_disconnect();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;WARNING - opening this page will delete and recreate an empty user table.&lt;br /&gt;&lt;br /&gt;This technique will be very useful to you as you work in development and have lots of tables, and find that you need to reset your application to "like new" status.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6376563613211271989-978363302570544484?l=bigfishsmallbarrel.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigfishsmallbarrel.blogspot.com/feeds/978363302570544484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6376563613211271989&amp;postID=978363302570544484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/978363302570544484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/978363302570544484'/><link rel='alternate' type='text/html' href='http://bigfishsmallbarrel.blogspot.com/2008/11/creating-tables-in-mysql-good-idea-to.html' title='Creating Tables in MySQL - A Good idea to save your restore points'/><author><name>foibledagain</name><uri>http://www.blogger.com/profile/02714054065733856514</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_Irlg1kxWvoQ/SUkRdMyEh6I/AAAAAAAAACk/R0x7nnorrRQ/S220/480x640rob.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6376563613211271989.post-3916599495155684483</id><published>2008-11-05T06:37:00.000-08:00</published><updated>2008-11-05T06:55:31.813-08:00</updated><title type='text'>Your Development World</title><content type='html'>As promised, today we figure out what we need to make a website.  You need Adobe CS3 or (if you feel nutty) CS4.  Specifically, you need Photoshop, Fireworks, and Dreamweaver.  Flash helps, but that's another nut to crack.&lt;br /&gt;&lt;br /&gt;So you have chosen a domain, purchased it, found web hosting, and dropped a mint on software (I KNOW!) and you are ready to set up your environment.  When you set up your web hosting account, after it gets approved, you'll have to choose "Windows ASP or Linux PHP" for your server type.  I'm going to be talking mostly about PHP type stuff here, so that's what I would recommend you choose.&lt;br /&gt;&lt;br /&gt;In Dreamweaver, you need to set up your new site.  I'm not going to reprint the instructions on setting up your site, but create a new site in dreamweaver (using manage sites) using ftp and pointing the remote location to ftp.[your domain].com.  Using your user name and password, you should be able to connect.  You will also be asked to choose a local location for your site.  Choose a folder with plenty of room.&lt;br /&gt;&lt;br /&gt;Next - How do I begin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6376563613211271989-3916599495155684483?l=bigfishsmallbarrel.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigfishsmallbarrel.blogspot.com/feeds/3916599495155684483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6376563613211271989&amp;postID=3916599495155684483' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/3916599495155684483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/3916599495155684483'/><link rel='alternate' type='text/html' href='http://bigfishsmallbarrel.blogspot.com/2008/11/your-development-world.html' title='Your Development World'/><author><name>foibledagain</name><uri>http://www.blogger.com/profile/02714054065733856514</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_Irlg1kxWvoQ/SUkRdMyEh6I/AAAAAAAAACk/R0x7nnorrRQ/S220/480x640rob.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6376563613211271989.post-6104341593525525898</id><published>2008-11-04T06:26:00.000-08:00</published><updated>2008-11-04T06:40:51.964-08:00</updated><title type='text'>Building a Site: Step One</title><content type='html'>You have the idea, the passion, and the motivation.  You want the world to see you and interact with you.  The Internet is such an effective tool for communication and community development.  But you - you're the idea guy - you handle the brains and hire a consultant to do all that "web" stuff.  Right?&lt;br /&gt;&lt;br /&gt;Well not anymore.  Here's the way you're going to set up your empire, one step at a time.  I'm going to build a site, populate it with content, and then let it fly free.  And you're going to watch.&lt;br /&gt;&lt;br /&gt;I'm assuming a few things.  You have a computer and internet access (because you're reading this blog).  You have the capacity to learn new things.  You want to do this. &lt;br /&gt;&lt;br /&gt;So, &lt;span style="font-weight: bold;"&gt;step 1&lt;/span&gt; is to think of a &lt;a href="http://en.wikipedia.org/wiki/Domain_name"&gt;name&lt;/a&gt;.  Buy it, and set up hosting.  I don't want to endorse one web hosting company over another, but &lt;a href="http://webhostinggeeks.com/"&gt;Google "web hosting" company &lt;/a&gt;and choose the biggest bestest one that you can afford.  Some examples (not necessarily endorsed) are godaddy.com, verio.com, servint.com, earthlink.net, and others.    I used godaddy for "bigfishsmallbarrel.com" because they offer&lt;a href="http://en.wikipedia.org/wiki/Free_web_hosting_service"&gt; free hosting &lt;/a&gt;(with ads and it's friggin slow) with any domain name purchase.  So go to one of these sites, buy a domain name and get some hosting.  Use the free hosting if you can at first, so you don't have to pay while you build your stuff.&lt;br /&gt;&lt;br /&gt;next...  Your development world.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6376563613211271989-6104341593525525898?l=bigfishsmallbarrel.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigfishsmallbarrel.blogspot.com/feeds/6104341593525525898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6376563613211271989&amp;postID=6104341593525525898' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/6104341593525525898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6376563613211271989/posts/default/6104341593525525898'/><link rel='alternate' type='text/html' href='http://bigfishsmallbarrel.blogspot.com/2008/11/building-site-step-one.html' title='Building a Site: Step One'/><author><name>foibledagain</name><uri>http://www.blogger.com/profile/02714054065733856514</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_Irlg1kxWvoQ/SUkRdMyEh6I/AAAAAAAAACk/R0x7nnorrRQ/S220/480x640rob.JPG'/></author><thr:total>1</thr:total></entry></feed>
