<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Make Cash Online &#187; Databases</title>
	<atom:link href="http://blog.amxpert.com/category/databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amxpert.com</link>
	<description>Advanced Affiliate Marketing Through Numbers</description>
	<lastBuildDate>Thu, 02 Sep 2010 00:40:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Why I use Static HTML for my Websites</title>
		<link>http://blog.amxpert.com/why-i-use-static-html-for-my-websites/</link>
		<comments>http://blog.amxpert.com/why-i-use-static-html-for-my-websites/#comments</comments>
		<pubDate>Sat, 15 May 2010 14:58:17 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[how to make cash with static HTML]]></category>
		<category><![CDATA[static HTML]]></category>

		<guid isPermaLink="false">http://blog.amxpert.com/?p=176</guid>
		<description><![CDATA[I think some people might think I&#8217;m crazy using static HTML for my FOR PROFIT websites. Hint: This blog is not a static HTML site. There is a method to my madness and I think it is very important why I do it this way. If you&#8217;re unfamiliar with what HTML is, it&#8217;s just the [...]]]></description>
			<content:encoded><![CDATA[<p>I think some people might think I&#8217;m crazy using static HTML for my FOR PROFIT websites. Hint: This blog is not a static HTML site. There is a method to my madness and I think it is very important why I do it this way. If you&#8217;re unfamiliar with what HTML is, it&#8217;s just the language that web browsers read to construct a website. Even though this blog isn&#8217;t a static HTML site, my web server hands over HTML pages to it for the browser to read.</p>
<p>There are three main reasons why I go with static HTML:</p>
<ul>
<li>Speed</li>
<li>Security</li>
<li>Webhosting Problems</li>
</ul>
<h2>Speed</h2>
<p>I think speed is by far the most important aspect of selling anything on the internet. This has nothing to do with Google or search engine optimization. Google has announced that they&#8217;re looking to speed now and have it in the algorithm, but it doesn&#8217;t make up anything substantial, YET.</p>
<p>A website needs to open fast. SNAP! (I just snapped my fingers) I don&#8217;t want one second of lag when it comes to potential visitors that will buy. It&#8217;s as simple as that for me.</p>
<p>Basically there are three types of things that a website can possess for the loading of a page: HTML code, Service Side Operations and Server Side Operations with a Database.</p>
<p>HTML: This is the fastest because you already have all the work done. You made the page in HTML and the web server just has to send the data to the visitor.</p>
<p>Server Side: This means that there is programming code in with your webpage and that the server&#8217;s CPU actually has to process the code before HTML is created and can be sent to the visitor.</p>
<p>Server Side With a Database: This is where you have information stored in a database. The database is on a separate server and needs to be connected locally. The programming code is processed. And when information needs to be pulled out of the database, the server has to connect to the database server and pull the information. Once this is all done, HTML data is sent to the visitor.</p>
<p>Guess which one takes longer. WordPress (which this blog is running on) does the Server Side with a Database. You may notice that a blog like this may have a 2 &#8211; 5 second pause as you connect and then everything loads. WordPress runs on PHP Server Side Language and accesses a mySQL database. If you&#8217;re running a Server Side Language (PHP, PERL, SSI), it is for the most part normal. The time it takes a computer to process language doesn&#8217;t take that long and visitors will never even know. But there is a reason why I brought it up, which I will go into on the webhosting problems section.</p>
<h2>Security</h2>
<p>HTML can&#8217;t be hacked. It can&#8217;t be cracked. It can&#8217;t be exploited. Your webhost could get hacked, but it is completely regardless of the HTML. Exploited servers happen typically because they can somehow manipulate the server side operations of the code to open up the server. That is really all there is to it.</p>
<p>This is why you have WordPress updates because they find holes and they need to be fixed. This is why it is important to update WordPress immediately after an update. If you miss the update, you risk getting hacked. And remember people are typically hacked before a fix is created and an update is released.</p>
<p>I&#8217;m not trying to scare you or anything like that. I just can&#8217;t imagine having 100 websites all running WordPress and forgetting to update just one of them.</p>
<h2>Webhosting Problems</h2>
<p>My biggest pet peeve with webhosts is that they offer &#8220;unlimited&#8221; everything. I think all of us recognize that nothing is unlimited and in reality they&#8217;ll shit can your account if you get anywhere close to it.</p>
<p>If I was on a dedicated server (on a server all by myself) I wouldn&#8217;t have a problem with it. But I&#8217;m not really interested in paying $200/mth for a dedicated server. A shared server is what most of us are on and it&#8217;s shared. There are other people on the same computer and they all have the same &#8220;unlimited&#8221; plan.</p>
<p>The most common webhosting problem you run into is the mySQL database server lagging. There&#8217;s always some asshole that thinks they can have &#8220;unlimited&#8221; mySQL databases (1 per WordPress site). So they setup 1000 WordPress sites in an hour and lag down the entire database server. This causes anyone on the same computer to have a lag with any site that needs the database (like this WordPress site).</p>
<p>Guess what? My static HTML sites load fast. SNAP! When the database server is lagging or down.</p>
<p>Sometimes the processing of Server Side operations actually crashes too. It&#8217;s not quite that common, but it does sometimes happen. Any site that has PHP or any other type of server side language will experience a 500 internal error, which is what people will see when they go to your site.</p>
<p>Guess what? My static HTML sites load fast. SNAP! They don&#8217;t need any server side operations done, so it&#8217;s not an issue.</p>
<p>The only way that HTML goes down is if there is an internet load problem, CPU overload or the web server just goes down. And in those cases no website setup will work for you.</p>
<p>This is why I use static HTML for the vast majority of my sites. I do use PHP without the database. I just use it for include() commands, so that I can do site wide editing of footers, headers and shit. So that is really the big secret for why I use static HTML. I told you there was a method to my madness lol.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amxpert.com/why-i-use-static-html-for-my-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Location Database</title>
		<link>http://blog.amxpert.com/the-location-database/</link>
		<comments>http://blog.amxpert.com/the-location-database/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 17:11:10 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Databases]]></category>

		<guid isPermaLink="false">http://blog.amxpert.com/?p=15</guid>
		<description><![CDATA[As promised, I said we would go into advanced topics and that is what I want to do today. My mentor that I had during my adult webmaster days recommended a locations project as a great tool for search engine traffic. The problem back in the day was that it took a lot of work [...]]]></description>
			<content:encoded><![CDATA[<p>As promised, I said we would go into advanced topics and that is what I want to do today. My mentor that I had during my adult webmaster days recommended a locations project as a great tool for search engine traffic. The problem back in the day was that it took a lot of work and it was very tedious.</p>
<p>In order to follow this post you will have to <A HREF=http://blog.amxpert.com/learn-a-server-side-programming-language/>Learn a Server Side Programming Language</A>. You can still do this manually. It&#8217;s a lot of fucking work though. This doesn&#8217;t take much time.</p>
<p>I want us to stipulate a few things:</p>
<p><strong>First</strong>, there are specific keywords and niches that you&#8217;re going to struggle with. There is no way in hell that you&#8217;re ever going to get in the top 10 at Google for weight loss. I don&#8217;t want to be a negative person, but the chances of you actually achieving that will be very slim.</p>
<p><strong>Secondly</strong>, people will search their location along with the keyword. You might not find a lot of people that do this, but it is done. This type of thing happens in some niches more than others, but it is done.</p>
<p><strong>Lastly</strong>, when people do search *niche name* *city* there isn&#8217;t much of any competition for it. There might be a few thousand pages and none will ever be optimized properly.</p>
<p>For a few cities, this isn&#8217;t that big of a deal. If a city gets you 5 hits a month, than you got nothing, but if you get 5 hits a month for every city in America than you got some real traffic. Add in other places like Canada, Europe, Australia/NZ, etc and you&#8217;re going to get a lot of traffic in your niche.</p>
<p>Since we are going to use server side programming and a database, we can automate this process. We can use the same database over and over again. Once the programming is finished, you can use the script on all your sites and have 1000 pages added to your site with 30 minutes of tweaking.</p>
<p>The process that is going to take the most time is making the database.</p>
<p><strong>The Database</strong></p>
<p>I thought about how this database should be made and I couldn&#8217;t keep it as simple as city and state. When I added mine, I added more information so I could add them to each of the city pages to make it ever more unique.</p>
<p>Basically for your database you will want the following: city, state, country, a few communities/neighborhoods in the city, a few landmarks/tourist places in the city, and a unique few lines about the city. That&#8217;s how I made my database.</p>
<p>I made my database like this:</p>
<p>ID int auto_increment<br />
city varchar(32)<br />
state varchar(32)<br />
population varchar(10)<br />
neighborhood1 varchar(32)<br />
neighborhood2 varchar(32)<br />
neighborhood3 varchar(32)<br />
site1 varchar(100)<br />
site2 varchar(100)<br />
country varchar(3)<br />
abstract text</p>
<p>In retrospect, I forgot about cities and states that were actually two words. It&#8217;s perfectly acceptable like this, but you just have to do some more tedious programming to make sure you&#8217;re changing around &#8220;New Jersey&#8221; to &#8220;New-Jersey&#8221;, so it&#8217;ll properly work in the URLs.</p>
<p>You could also add in permalinks for each:</p>
<p>permacity varchar(32)<br />
permastate varchar(32)</p>
<p>Either way you should be able to program either way and since you only have to program once, you don&#8217;t have to worry about it.</p>
<p>Building this database can be done a number of ways. You can obviously outsource the work because it is a pain in the ass. You can buy a database, but I doubt you&#8217;ll find a database like this. You might only find city/state databases. Or you can do it yourself. I made my own, I just did it for one day a week and got through it.</p>
<p>If you make it yourself, than you have to make a back end admin section to add them in. It&#8217;s just a standard form that you fill out. I found programming the back end with delete functions and edit functions to be more tedious than building the front end.</p>
<p><strong>The Front End</strong></p>
<p>The front end is relatively easy. Anyone that knows php should be easily able to do this. Just make sure you structure your directories properly:</p>
<p>domain.com/State/City/</p>
<p>You also have to make sure that your state page lists all the cities under that state.</p>
<p>I&#8217;m not really concerned about the content of the state page, it&#8217;s the cities page. What you want to do is put the title of your page *NICHE* City, State. You also want to have H1 tags at the top of the page for *NICHE* City, State.</p>
<p>What you want to do is write out sentences and work in the information (php in [] brackets):</p>
<blockquote><p>Welcome to my page on *Niche* for the great city of [? echo $city; ?]. It doesn&#8217;t matter if you live in [? echo $community1 . ", " . $community2 . ", or " . $community3; ?] because I will be able to help you with your *NICHE PROBLEM*&#8230;</p></blockquote>
<p>You get the idea. You&#8217;ll obviously want to have a link off the page to your affiliate link and also a link back to the state page. This type of structure has been proven to be unique enough for the search engines. It appears with Google that the less sites there are for a particular search, the less they care about regurgitated content.</p>
<p>If you don&#8217;t think it is unique enough you can add in random functions. As you can see the page starts with &#8220;Welcome to my page on *Niche* for the great city of&#8221;, you can set up a bunch of different starting sentences and make them be selected at random. It&#8217;s sort of like those article spinners. This should work good enough.</p>
<p>The last thing you need to do is create a sitemap page or something to list all the cities on the site, so Google can find and index them all. </p>
<p>That&#8217;s it. That&#8217;s all you have to do. Once the database is done and you&#8217;ve done the programming, you can just reuse it over and over again. You just have to change the unique pages for cities and states so they obviously fit in with the niche.</p>
<p>You&#8217;re done. You just have to keep building the database and let it grow until it makes a ton of pages. Oh and you don&#8217;t have to wait to finish the database before you set up pages. The pages will grow with the database, so you can get this all set up now. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amxpert.com/the-location-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
