<?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>Heaven Interactive :: Software, Services, and Support</title>
	<atom:link href="http://www.heaveninteractive.com/weblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.heaveninteractive.com/weblog</link>
	<description>Knowledge is Power.</description>
	<lastBuildDate>Mon, 29 Jun 2009 00:14:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Teenage Entrepreneurship at an All-Time High</title>
		<link>http://www.heaveninteractive.com/weblog/2009/06/28/teenage-entrepreneurship-at-an-all-time-high/</link>
		<comments>http://www.heaveninteractive.com/weblog/2009/06/28/teenage-entrepreneurship-at-an-all-time-high/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 00:10:16 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/?p=91</guid>
		<description><![CDATA[According to a CNET news article, more teenagers than ever before (aged 16-19) are starting businesses.   When faced with the prospect of competing with 30-40 years for entry-level jobs, many have decided to start their own home-based ventures.  It&#8217;s really true that young people these days really believe that they can do anything, and [...]]]></description>
			<content:encoded><![CDATA[<p>According to a <a href="http://news.cnet.com/Teenagers-are-building-their-own-job-engine/2100-1022_3-6249826.html?tag=newsEditorsPicksArea.0" target="_blank">CNET news article</a>, more teenagers than ever before (aged 16-19) are starting businesses.   When faced with the prospect of competing with 30-40 years for entry-level jobs, many have decided to start their own home-based ventures.  It&#8217;s really true that young people these days really believe that they can do anything, and are proving it.</p>
<p>This is the young generation of entrepreneurs who are using the resources at their disposal, and finding ways to &#8216;get it done&#8217;.  As a software developer, I can really see the potential of giving this core demographic tools with which to conduct business and be their own bosses.  The formula must be: Ideas + Energy + Resources = Success.</p>
<p>Read more:  <a href="http://news.cnet.com/Teenagers-are-building-their-own-job-engine/2100-1022_3-6249826.html?tag=newsEditorsPicksArea.0" target="_blank&quot;">http://news.cnet.com/Teenagers-are-building-their-own-job-engine/2100-1022_3-6249826.html?tag=newsEditorsPicksArea.0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2009/06/28/teenage-entrepreneurship-at-an-all-time-high/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Usability:  Providing Alternate Content</title>
		<link>http://www.heaveninteractive.com/weblog/2009/06/20/flash-usability-providing-alternate-content/</link>
		<comments>http://www.heaveninteractive.com/weblog/2009/06/20/flash-usability-providing-alternate-content/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 00:30:13 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[User Experience / Usability]]></category>
		<category><![CDATA[flash player]]></category>
		<category><![CDATA[swfobject]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/2009/06/20/flash-usability-providing-alternate-content/</guid>
		<description><![CDATA[One of the major complaints surrounding the use of Flash, is the necessity of having the plug-in installed on a system.  This presents a problem for designers and content providers who are authoring content in Flash.  How can you make sure that content is viewed by as many users as possible?  There are key concerns [...]]]></description>
			<content:encoded><![CDATA[<p>One of the major complaints surrounding the use of Flash, is the necessity of having the plug-in installed on a system.  This presents a problem for designers and content providers who are authoring content in Flash.  How can you make sure that content is viewed by as many users as possible?  There are key concerns here with <strong>content distribution</strong>.</p>
<p><strong>Publishing for Flash Versions Which Already Have a Wide Footprint</strong></p>
<p>Of course Adobe wants users to have the latest Flash version, so if you are developing in say, Flash CS4 and you export your movie, it may be set automatically as &#8220;Flash player 10&#8243;.  Personally as someone who is thinking about the end-user experience, this doesn&#8217;t work for me, because I don&#8217;t want my users to go through a download process or update process using Flash.  Therefore, if my content does not use AS3 or advanced animation features, I will simply publish in &#8220;Flash player 8&#8243; &#8212; a version that I know has very good rendering standards and is widely in use.</p>
<p><strong>Providing Alternative Content</strong></p>
<p>It is also very important to provide alternative (i.e. non-SWF) content, that can be viewed in the case of the user not having the Flash plug&#8211;in installed.  This happens more than Adobe would lead you to believe &#8212; for exapmple one ofmy friends who runs an older Mac laptop has had to install a &#8220;Flash blocker&#8221; on Firefox because his system cannot handle the high-performance that some Flash player 9 and 10 content requires &#8212; therefore he has to block it in order to avoid system hang-ups when browing to a page.</p>
<p>In order to make sure that (as close to) 100% of your audience can view your content, you should always provide an alternative, such as a .jpg, .png, .gif, &#8220;or even text content.  Use that space to show meaningful content, instead of lousy error messages!</p>
<p><strong>Improve the User Experience by Reducing End-User Technical Knowledge Requirements</strong></p>
<p>In my mind there is a direct corelation between our users being able to focus on content and the user experienc, as opposed to having to worry about technical tasks like installing plug-ins.  Let&#8217;s provide a service to them by reducing end-user labor, as well as the amount of  technical knowledge&#8211; required to view your content &#8212; your user does not have to think about what technologies are being used in order to experience it</p>
<p>In order to implement alternative content, here is a great article abou using SWFObject 2.0:</p>
<p><a href="http://www.adobe.com/devnet/flashplayer/articles/alternative_content.html" target="_blank">http://www.adobe.com/devnet/flashplayer/articles/alternative_content.html</a></p>
<p>Happy Interaction!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2009/06/20/flash-usability-providing-alternate-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heaven Interactive Now Offering WordPress CMS Packages</title>
		<link>http://www.heaveninteractive.com/weblog/2009/02/18/heaven-interactive-now-offering-wordpress-cms-packages/</link>
		<comments>http://www.heaveninteractive.com/weblog/2009/02/18/heaven-interactive-now-offering-wordpress-cms-packages/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 17:36:23 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[custom packages]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[WordPress CMS]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/2009/02/18/heaven-interactive-now-offering-wordpress-cms-packages/</guid>
		<description><![CDATA[For Immediate Release
San Francisco, California &#8211; February 19, 2009
Heaven Interactive is pleased to announce that it is now offering custom WordPress installations for publishers, marketers, and on-line retailers.  These packages will allow clients to have custom-designed, fully-editable websites containing both static and dynamic web pages, such as blog and news content.
By utilizing the power of [...]]]></description>
			<content:encoded><![CDATA[<p><em>For Immediate Release</em></p>
<p>San Francisco, California &#8211; February 19, 2009</p>
<p>Heaven Interactive is pleased to announce that it is now offering <a href="http://www.heaveninteractive.com/wordpress-cms">custom WordPress installations</a> for publishers, marketers, and on-line retailers.  These packages will allow clients to have custom-designed, fully-editable websites containing both static and dynamic web pages, such as blog and news content.</p>
<p>By utilizing the power of templates, and dynamic content, Heaven Interactive can build unique websites tailored to clients&#8217; needs, freeing clients from tedious technical installation and maintenance, and enabling them to do what they do best &#8212; publish content, and generate sales.</p>
<p>Aimed squarely at content publishers (whether on-line marketers, P.R. firms, or retailers), these packages will put the power of Internet publishing in the client&#8217;s hands.  And best of all, the web sites are all built on WordPress, the most flexible CMS system available.</p>
<p>For more information, visit the <a href="http://www.heaveninteractive.com/wordpress-cms" title="WordPress CMS Webpage">WordPress CMS</a> webpage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2009/02/18/heaven-interactive-now-offering-wordpress-cms-packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Brief Introduction to Affiliate Marketing</title>
		<link>http://www.heaveninteractive.com/weblog/2008/12/11/a-brief-introduction-to-affiliate-marketing/</link>
		<comments>http://www.heaveninteractive.com/weblog/2008/12/11/a-brief-introduction-to-affiliate-marketing/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 21:57:20 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[affiliate marketing]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[bloggers]]></category>
		<category><![CDATA[earn money]]></category>
		<category><![CDATA[ebay]]></category>
		<category><![CDATA[linkshare]]></category>
		<category><![CDATA[pepperjam]]></category>
		<category><![CDATA[performance marketing]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/?p=72</guid>
		<description><![CDATA[Affiliate Marketing, or &#8216;Performance Marketing&#8217; generally refers to the practice of affiliates (often called publishers) sending new customers to a business (often termed an advertiser) through website links or other methods of referrals. In exchange for these direct referrals, affiliates are usually given a percentage (often 4% to as high as 10% or more) of [...]]]></description>
			<content:encoded><![CDATA[<p>Affiliate Marketing, or &#8216;Performance Marketing&#8217; generally refers to the practice of affiliates (often called <em>publishers</em>) sending new customers to a business (often termed an <em>advertiser</em>) through website links or other methods of referrals. In exchange for these direct referrals, affiliates are usually given a percentage (often 4% to as high as 10% or more) of the sales revenue generated by a new customer&#8217;s transaction.</p>
<h2>Why Affiliate Marketing?</h2>
<p>Many businesses rely almost entirely on affiliates to bring in new customers, and find it a more efficient and cost-effective way of marketing their products and services to an audience.  Affiliate programs are especially attractive to advertisers and publishers who work with niche content and products, because it allows them to focus their marketing efforts towards <em>only the people who may be interested</em> in certain products and services, rather than the general public as a whole.</p>
<p>Affiliate marketing can be very effexrtive for small- and medium-sized  businesses who do not have the advertising budget of large corporations, yet have products that sell within a given niche.</p>
<h2>Example: Gourmet Coffee Niche Marketing</h2>
<p>AS an example, an on-line retailer of rare gourmet coffee beans from Hawaii may offer a product which only appeals to a small audience of people.  Although this niche is very small, however, this audience is highly interested in information and products related to the preparation and serving of this gourmet coffee.  In this case, a blogger may start a website giving customers background information, reviews, and purchasing information about cofffee beans, or start a &#8216;coffee lovers forum&#8217; which encourages people to partciipate in discussion about the coffee and share tips with other aficionados.</p>
<p>To generate revenue for such a coffee lovers site, the blogger may place certain affiliate links in different areas on the site, whether banners or text links.  These links contain sepcial codes which allow parent businesses to track which affiliates are sending them traffic, and thereby credit, or pay the affiliates for any sales generated by their leads.  Thanks to sophisticated tracking technology, many affiliates are able to receive credit for sales generated by visitors as much as 6 months after the first visit – that is, if the visitor does not purchase immediately the affiliate may still get credited for a later purchase if it is proven that the affiliate was the person who referred the customer.  Most affiliate programs utilize &#8216;browser cookies&#8217; to verify the last affiliate who referred a user, therefore ensuring the affiliate receives the commission.</p>
<h2>Keys to Affiliate Success</h2>
<p>There are many affiliates who earn a six-figure (that&#8217;s right) income from affiliate marketing.  This of course takes real planning, intention, and savvy, that can only be gained by practical experience.  So get started today! <img src='http://www.heaveninteractive.com/weblog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   Some of the keys to success as a performance (or affiliate) marketer are also important for content publishing in general::</p>
<ol>
<li>Providing useful relevant, targeted information for a user.  Relevant information will build traffic to your website, which will increase your chances of sales.</li>
<li>Highlighting specific products and services which &#8216;complement&#8217; the content that the user is viewing.</li>
<li>Becoming an expert in your particular niche, and gaining the trust of your readers.  (This can happen as a result of steps 1 and 2).</li>
<li>Highlighting sales and promotions so that your users will save money as a result of clicking through your links.</li>
</ol>
<h2>What Kinds of Affiliate Programs are Available?</h2>
<p>There is a great deal of technology behind affiliate programs – tracking all sotrts of metrics such as effectiveness, &#8220;cost-per-view&#8221;, &#8220;cost-per-click&#8221;, and other technical statistics.  Because of the need for such technically detailed reporting and tracking, many businesses choose to use a 3rd party affiliate program provider, which then takes care of the technical specifics regardings setup and execution of the program.  This allows a publisher (such as a blogger) to go to sign up for multiple programs via one website, instead of having to go to multiple websites and manage multiple programs.</p>
<p>There are affiliate programs for just about every niche on the Internet, and new affiliate programs are created every day.  If you are a publisher, this is  great news, because you are then able to combine your relevant and interesting information and services with products and links which are actually useful to the user, which means revenue for you.  This is a &#8216;win-win&#8217; situation as all parties (users, service and product providers, and yourself) benefit and gain information and services that they want.  Affiliate programs work well when people learn more about what they are looking for (rather than seeing ads for what they do not want).</p>
<h2>Where Can I Sign Up For Affiliate Programs?</h2>
<p>Listed below are some of the well-regarded (and highly successful) affiliate program providers on the Web.  To get started, just click through, signup, and begin placing links on your website.  With a little patience and perseverance, you can begin earning affiliate income.</p>
<p><a href="http://click.linksynergy.com/fs-bin/stat?id=RINRK7FT9TU&amp;offerid=7097.10000002&amp;type=3&amp;subid=0" target="new">Linkshare</a><img src="http://ad.linksynergy.com/fs-bin/show?id=RINRK7FT9TU&amp;bids=7097.10000002&amp;type=3&amp;subid=0" border="0" alt="" width="1" height="1" /></p>
<p><a href="http://www.commissionjunction.com/" target="_blank">Commission Junction</a></p>
<p><a href="http://publisher.shopzilla.com/" target="_blank">Shopzilla Publisher Program</a></p>
<p><a href="https://affiliate-program.amazon.com" target="_blank">Amazon Associates Affiliate Program</a></p>
<p><a href="https://publisher.ebaypartnernetwork.com" target="_blank">Ebay Partner Network</a></p>
<p><a href="http://www.pntrs.com/t/QTxFQEBIPEREREQ8QkRE"  target="_blank">Pepperjam</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2008/12/11/a-brief-introduction-to-affiliate-marketing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Select Posts within a Wordpress Category in MySQL</title>
		<link>http://www.heaveninteractive.com/weblog/2008/09/25/select-posts-within-a-wordpress-category-in-mysql/</link>
		<comments>http://www.heaveninteractive.com/weblog/2008/09/25/select-posts-within-a-wordpress-category-in-mysql/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 20:41:59 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[taxonomy]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/?p=65</guid>
		<description><![CDATA[
My SQL knowledge is fairly basic.  I am an interactive designer, not a strict low-level coder, so I am looking for solutions that do not require cryptic or highly detailed SQL, when I want to access a DB system.
If you want to access the WP MySQL database tables, you can of course include the &#8216;wp-db.php&#8217; [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>My SQL knowledge is fairly basic.  I am an interactive designer, not a strict low-level coder, so I am looking for solutions that do not require cryptic or highly detailed SQL, when I want to access a DB system.</p>
<p>If you want to access the WP MySQL database tables, you can of course include the &#8216;wp-db.php&#8217; file and use their class which is a wrapper (as detailed on the Wordpress.com site) for accessing the DB.  I tried this, and within the system I am working on (PHP files pulling posts from a certain category on a WP install into a completely different site), this didn&#8217;t work for me.</p>
<p>Again my SQL is quite basic, but you should be able to see the table relationships based on my &#8216;kiddie code&#8217;.   <img src='http://www.heaveninteractive.com/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Below is the code to pull in articles from a category:</p>
<p>SELECT DISTINCT post_name FROM `wp_posts`, wp_term_relationships, wp_term_taxonomy WHERE wp_term_relationships.object_id = wp_posts.id AND post_status = &#8216;publish&#8217; and post_type = &#8216;post&#8217; AND wp_term_taxonomy.term_taxonomy_id = wp_term_relationships.term_taxonomy_id AND wp_term_taxonomy.taxonomy = &#8216;category&#8217; AND wp_term_taxonomy.term_id = YOUR_CATEGORY_ID</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2008/09/25/select-posts-within-a-wordpress-category-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A PHP MCrypt Script that Allows you to See the Decoded String &#8211; Eureka</title>
		<link>http://www.heaveninteractive.com/weblog/2008/08/18/a-php-mcrypt-script-that-allows-you-to-see-the-decoded-string-eureka/</link>
		<comments>http://www.heaveninteractive.com/weblog/2008/08/18/a-php-mcrypt-script-that-allows-you-to-see-the-decoded-string-eureka/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 08:30:47 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[decode]]></category>
		<category><![CDATA[decrypt]]></category>
		<category><![CDATA[encode]]></category>
		<category><![CDATA[encrypt]]></category>
		<category><![CDATA[mcrypt]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/2008/08/18/a-php-mcrypt-script-that-allows-you-to-see-the-decoded-string-eureka/</guid>
		<description><![CDATA[I searched the web for around 30 minutes looking for a script that allowed me to use MCrypt with PHP and actually see the decoded string.
Check out this very thorough (well-written and commented) script.  Works like a charm.
]]></description>
			<content:encoded><![CDATA[<p>I searched the web for around 30 minutes looking for a script that allowed me to use MCrypt with PHP and actually see the decoded string.</p>
<p>Check out this <a href="http://www.tonymarston.net/php-mysql/encryption.html" target="_blank">very thorough (well-written and commented) script</a>.  Works like a charm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2008/08/18/a-php-mcrypt-script-that-allows-you-to-see-the-decoded-string-eureka/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress Blog Header Slowness Problem Fix</title>
		<link>http://www.heaveninteractive.com/weblog/2008/05/27/wordpress-blog-header-slowness-problem-fix/</link>
		<comments>http://www.heaveninteractive.com/weblog/2008/05/27/wordpress-blog-header-slowness-problem-fix/#comments</comments>
		<pubDate>Tue, 27 May 2008 09:10:42 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[freakin wordpress header is slowing my site down]]></category>
		<category><![CDATA[hello]]></category>
		<category><![CDATA[slow header]]></category>
		<category><![CDATA[slow wordpress]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-blog-header.php]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/2008/05/27/wordpress-blog-header-slowness-problem-fix/</guid>
		<description><![CDATA[Yes the blog header, when included in other pages (non-wordpress pages) can REALLY slow down your page loading.
However, the problem was not what I thought it was &#8212; the system querying the database for the WP configuration information, and then subsequently executing my own scripts.  It always seemed just a little TOO slow for [...]]]></description>
			<content:encoded><![CDATA[<p>Yes the blog header, when included in other pages (non-wordpress pages) can REALLY slow down your page loading.</p>
<p>However, the problem was not what I thought it was &#8212; the system querying the database for the WP configuration information, and then subsequently executing my own scripts.  It always seemed just a little TOO slow for this to be the problem.</p>
<p>In another (what I thought was unrelated) search, I was looking for why I was getting 404 headers being served from all of my pages, that were non-wordpress, but included that pesky wp-blog-header.php file.</p>
<p>Turns out that the old wp-blog-header is a freakin megalomaniac.  It wants everything.  It was the one sending 404 headers out for my pages that were non-wordpress.  This effectively killed my google indexing for pages.</p>
<p>On top of that, it WAS SLOWING THE SYSTEM DOWN when rendering that header, doing extra processing.</p>
<p>Now that that is fixed, my non-wordpress pages render about 3 times as fast.</p>
<p>Hallelujah, Praise be to Allah Krishna Jesus and the cast of &#8216;That 70s Show&#8217;.</p>
<p>Here is a link I found detailing a good fix:</p>
<p><a href="http://trac.wordpress.org/ticket/2984" target="_blank">http://trac.wordpress.org/ticket/2984</a></p>
<p>and thanks to <a href="http://www.ardamis.com/2006/07/10/wordpress-googlebot-404-error/" target="_blank">these dudes</a> for telling me about it!</p>
<p>Basically the code, in whatever file that includes the header, should look like something like this (mind the paths):</p>
<p>&lt;?php<br />
define(&#8217;WP_USE_THEMES&#8217;, false) ;<br />
require(&#8217;../../../wp-blog-header.php&#8217;); // i&#8217;m in wp-content/themes/js.php<br />
header(&#8221;HTTP/1.1 200 OK&#8221;);  // else we get 404<br />
header(&#8221;Status: 200 All rosy&#8221;) ; // what should this really say?<br />
?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2008/05/27/wordpress-blog-header-slowness-problem-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making a Copy of a Wordpress Installation for Development Purposes</title>
		<link>http://www.heaveninteractive.com/weblog/2008/04/16/making-a-copy-of-a-wordpress-installation-for-development-purposes/</link>
		<comments>http://www.heaveninteractive.com/weblog/2008/04/16/making-a-copy-of-a-wordpress-installation-for-development-purposes/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 05:08:21 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[Godaddy]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/2008/04/16/making-a-copy-of-a-wordpress-installation-for-development-purposes/</guid>
		<description><![CDATA[I am pretty much addicted to WordPress.  It is simply my favorite development platform.  It&#8217;s open source, it&#8217;s PHP and MySQL, and things just work out of the box.  Well.
If you are running live WordPress installations, you may come to a point where you need to make an actual copy of your [...]]]></description>
			<content:encoded><![CDATA[<p>I am pretty much addicted to WordPress.  It is simply my favorite development platform.  It&#8217;s open source, it&#8217;s PHP and MySQL, and things just work out of the box.  Well.</p>
<p>If you are running live WordPress installations, you may come to a point where you need to make an actual copy of your existing WordPress installation on the same server.   I could not find this procedure documented on the WordPress.org site (I did find moving and upgrading, but not copying).</p>
<p>In this case the procedure is pretty straightforward.  Here is an overview of what needs to be done:</p>
<ul>
<li>Make a new folder inside of your web root.</li>
<li>Copy your WP files there (but don&#8217;t open anything in a web browser yet.)</li>
<li>Create a new database for your blog copy.</li>
<li>Edit the wp-config.php file in your new copy to reflect your new database and login credentials.</li>
<li>Update the &#8220;wp-options&#8221; table in your DB to reflect your new site location.</li>
</ul>
<p>I found this <a href="http://www.howtogeek.com/howto/ubuntu/make-a-backup-copy-of-your-production-wordpress-blog-on-ubuntu/" target="_blank">tutorial online</a> which shows you how to do it from the command line.  You will need some basic UNIX skills, but this way really is quick and easy.  Especially if you are running on a virtual dedicated or dedicated server.</p>
<p>The tutorial is written for copying to a local installation on Ubuntu.  But you can modify it for copying within your server.  You will not necessarily need to setup the  alias in the conf.d/ directory or enable mod_rewrite as most likely you will already have these elements installed correctly.  Other than that it translates very easily.</p>
<p>Since I use <a href="http://www.kqzyfj.com/click-2893985-10396404" target="_blank">GoDaddy Virtual Dedicated Hosting</a>, it&#8217;s pretty freakin&#8217; simple to work with multiple WordPress installations, domains, databases, and files.  Just get a shell and every file, folder, as well as MySQL is accessible from the command line.  It&#8217;s the joy of Linux and the joy of webmastering.</p>
<p>Happy Blogging!</p>
<p><a href="http://www.howtogeek.com/howto/ubuntu/make-a-backup-copy-of-your-production-wordpress-blog-on-ubuntu/" target="_blank">Make a Backup Copy of your Production Wordpress Blog on Ubuntu </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2008/04/16/making-a-copy-of-a-wordpress-installation-for-development-purposes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Merits of a Virtual Dedicated Server and Why You Might Need One</title>
		<link>http://www.heaveninteractive.com/weblog/2008/04/04/the-merits-of-a-virtual-dedicated-server-and-why-you-might-need-one/</link>
		<comments>http://www.heaveninteractive.com/weblog/2008/04/04/the-merits-of-a-virtual-dedicated-server-and-why-you-might-need-one/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 23:39:17 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[getid3]]></category>
		<category><![CDATA[Godaddy]]></category>
		<category><![CDATA[icecast]]></category>
		<category><![CDATA[ices]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[root access]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[VDS]]></category>
		<category><![CDATA[What is a virtual dedicated server]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/2008/04/04/the-merits-of-a-virtual-dedicated-server-and-why-you-might-need-one/</guid>
		<description><![CDATA[I&#8217;m really enamored with my virtual dedicated server account with GoDaddy.com.  It&#8217;s pretty invaluable and really makes my life much easier as a developer and a content producer.  Interactive websites really need a core back-end that&#8217;s flexible and can do what you want / need, without requiring phone calls to tech support to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m really enamored with my <a href="http://www.jdoqocy.com/click-2893985-10396404" target="_blank">virtual dedicated server account</a><img src="http://www.awltovhc.com/image-2893985-10396404" border="0" height="1" width="1" /> with <a href="http://www.jdoqocy.com/click-2893985-10396404" target="_blank">GoDaddy.com</a><img src="http://www.awltovhc.com/image-2893985-10396404" border="0" height="1" width="1" />.  It&#8217;s pretty invaluable and really makes my life much easier as a developer and a content producer.  Interactive websites really need a core back-end that&#8217;s flexible and can do what you want / need, without requiring phone calls to tech support to get various &#8216;permissions&#8217; or essential software installed.  If you have any strain of the &#8216;do-it-yourself&#8217; gene that I have, you know that it&#8217;s awesome to be in control of your own &#8216;virtual presence&#8217; as much as possible, at an affordable price.</p>
<p>I really dislike calling tech support.  It&#8217;s just not in my blood.  I&#8217;m very happy that I have it (it makes me feel very secure, thank you), and if I was a newbie, I would probably use it more.  Myself, I just like things to run, and run smoothly.  Just keep going without any hangups and everything will be fine.  I know a decent amount of Unix and I can find my way around the terminal from OS X (my OS)  or Putty on Windows, so being able to just SSH into my system is essential.  I call it &#8220;my system&#8221;, because A VDS is really a platform in itself;  and if you are running multiple websites or interactive applications you will definitely need a platform that gives you access to the computing and networking power of the server itself.  Sure, lots of shared hosting accounts offer SSH, but it&#8217;s usually limited, and of course you can&#8217;t get root access, or really install any scripts that use up resources constantly.  What if I want to install a Perl chat server, or a Java multi-player game server for Flash?  Trick out my PHP installation with new modules?  What if I need to work with sockets?  Even if I am just prototyping something for myself or a client, having my own VDS just makes it so easy, and I don&#8217;t need any one&#8217;s permission to go crazy on my own server.  It&#8217;s my world!  Woohoo.</p>
<p><strong>What is a Virtual Dedicated Server?</strong></p>
<p>A virtual dedicated server is basically a partition on a server which is running its own instance of an operating system.  A VDS server can be rebooted and managed separately, making it independent from other virtual servers.    A VDS can offer a performance level substantially higher than shared hosting, as well as root access and static IP addresses.</p>
<p><strong>Safety Net</strong></p>
<p>The good thing about having a <a href="http://www.jdoqocy.com/click-2893985-10396404" target="_blank">VDS account </a><img src="http://www.awltovhc.com/image-2893985-10396404" border="0" height="1" width="1" />with GoDaddy is that it&#8217;s &#8220;managed&#8221;, by their system administrators, to a degree.  Yes you get root access, but if you really screw things up in a big way, you can always call the aforementioned tech support people and have them reset, reboot, or try to help with your problem.  That is  a great thing about GoDaddy – they don&#8217;t really have to clean up your messes for you, but they will try to give you as much help as possible, because they want your business.  You can call them anytime and they will try to sort you out. That means a lot to me, and that&#8217;s why I&#8217;m sticking with them.</p>
<p><strong>Handling Multiple Domains and Users<br />
</strong></p>
<p>When you work with a VDS, you can handle multiple domains very easily, compared to shared hosting.  Every domain really is its own entity, not just an aliased folder in your public_html directory.  Each website has it&#8217;s own true directory structure, with a private/ directory and cgi-bin of its own.  Also, each domain will have its own users (shell and FTP), which will give you the ability to handle a big organization&#8217;s hosting needs, with every one only being able to see what they need, without exposing the rest of your files.</p>
<p><strong>Run Anything</strong></p>
<p>As mentioned, with a VDS, you can run anything on your server.  This is HUGE, if you are creating multimedia apps.  I am basically a Flash (ActionScript 3.0) developer working with a lot of PHP / MySQL.  However, I often need to add modules to my core system, especially Unix apps that handle .Mp3s and streaming (like Icecast and Ices, getid3, etc), or libraries for processing images or video on the server.  I then hook these into Flash through PHP, Perl, Java, XML, or some combination of these.  I set up a few cron jobs and init.d scripts, and suddenly I am running an extended back-end, much bigger than I expected at first..  It&#8217;s impossible to do this on shared hosting , but if you want to play with the big kids, then VDS will allow you to do it.  You can tie in your apps with web services already out there, like Flickr, Amazon, Facebook, etc., making your computing / multi-media power &#8220;virtually&#8221; unlimited (no pun intended).</p>
<p><strong>Super Responsive</strong></p>
<p>My VDS is quite &#8216;fast&#8217;, from a response standpoint.  Even though VDS servers are actually partitions of a bigger server, because of virtualization, when you use a VDS, you are getting your own set of resources.  This means that other partitions on the main server can be overloaded, but this will really not affect you – your sites will keep cruising along as fast as your scripts allow.  This is so much better than shared hosting where your traffic can see a big drop because of bad programming, or your scripts will end up executing slowly because someone is running resource-hogging scripts.  This doesn&#8217;t happen on a VDS.</p>
<p><strong>Simple Control Panel</strong></p>
<p>I am not a big fan of those overloaded control panels that some hosting companies offer. They are generally too many graphics, and too many page refreshes for my liking.  If I just want to create a database, why do I need to go through 5 screens to make it happen?  With my particular VDS account, I get a &#8216;Simple Control Panel&#8217; which gives me everything I need, without bloat.</p>
<p><a href="http://www.heaveninteractive.com/weblog/wp-content/uploads/2008/04/simple_control_panel.png" title="Simple Control Panel Screenshot"><img src="http://www.heaveninteractive.com/weblog/wp-content/uploads/2008/04/simple_control_panel.png" alt="Simple Control Panel Screenshot" /></a></p>
<p><strong>Plenty of Benefits</strong></p>
<p>There are other things I like about my VDS, but too many to mention here.  I&#8217;ll summarize some with bullet points:</p>
<ul>
<li><strong>Root Access</strong> – Basically gives you complete control of your server, giving you the lowest-level access available</li>
<li><strong>Unlimited Databases  and Command Line Management of Them</strong></li>
<li><strong> Total Control Over Cron Jobs</strong></li>
<li><strong>Abiliy to Reboot Your Server When You Want</strong></li>
<li><strong>Unlimited User / FTP Accounts</strong></li>
<li><strong> Run Java / C++ / Perl Socket programs &#8212; Woohoo!</strong></li>
<li><strong>Lots More</strong></li>
</ul>
<p>In short, if you are an interactive designer or developer, and you are still running shared hosting, you will probably need to step it up at some point.  When you do, consider a VDS account that gives you the flexibility you need.  Oh, and you might want to learn just a little bit of UNIX – it will go a long way.  Happy scripting.</p>
<p><strong>Links</strong></p>
<p><a href="http://www.jdoqocy.com/click-2893985-10396404" target="_blank">GoDaddy Virtual Dedicated Servers<br />
</a><img src="http://www.awltovhc.com/image-2893985-10396404" border="0" height="1" width="1" /></p>
<p><a href="http://en.wikipedia.org/wiki/Virtual_private_server" title="Virtual Dedicated / Private Servers on Wikipedia.com" target="_blank">More About Virtual Dedicated Servers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2008/04/04/the-merits-of-a-virtual-dedicated-server-and-why-you-might-need-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading an external .jpg, .png, or .gif bitmap image file in ActionScript 3.0</title>
		<link>http://www.heaveninteractive.com/weblog/2008/03/28/loading-an-external-jpg-png-or-gif-file-in-actionscript-30/</link>
		<comments>http://www.heaveninteractive.com/weblog/2008/03/28/loading-an-external-jpg-png-or-gif-file-in-actionscript-30/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 08:53:37 +0000</pubDate>
		<dc:creator>Jay Harley</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[bitmap]]></category>
		<category><![CDATA[dynamic loading]]></category>
		<category><![CDATA[external image]]></category>
		<category><![CDATA[Loader]]></category>
		<category><![CDATA[loading]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.heaveninteractive.com/weblog/2008/03/28/loading-an-external-jpg-png-or-gif-file-in-actionscript-30/</guid>
		<description><![CDATA[In AS3, loading external images dynamically is done slightly differently than in ActionScript 2.  Whereas in AS2, we could just use the loadMovie() method of the MovieClip class, this is no longer the case.
(Download the files for this tutorial.
You will also need: Flash CS3.  Download Trial or Buy Now.)

Instead we have to use [...]]]></description>
			<content:encoded><![CDATA[<p>In AS3, loading external images dynamically is done slightly differently than in ActionScript 2.  Whereas in AS2, we could just use the <em>loadMovie()</em> method of the MovieClip class, this is no longer the case.</p>
<p><a href="http://www.heaveninteractive.com/weblog/wp-content/uploads/2008/03/loading_eternal_image.zip" title="Download the files for this tutorial.">(Download the files for this tutorial.</a><br />
You will also need: <a href="http://www.jdoqocy.com/click-2893985-10469544" target="_blank">Flash CS3.  Download Trial or Buy Now.)</a><br />
<img src="http://www.tqlkg.com/image-2893985-10469544" border="0" height="1" width="1" /></p>
<p>Instead we have to use the Loader class, as well as the URLRequest class.  This actually gives us more flexibility when loading external images, because of the various events of the Loader object that we can create event listeners for.</p>
<p>Let&#8217;s say that we a .swf file called &#8220;main.swf&#8221;, a document class file called &#8220;Main.as&#8221;, and a .jpg file called &#8220;thePic.jpg&#8221; in a directory called &#8220;images/&#8221;.   (If you are not yet familar with the document class, please see <a href="http://www.heaveninteractive.com/weblog/2008/03/04/introduction-to-the-document-class-in-actionscript-30-tutorial/" title="Using the Document Class Tutorial" target="_blank">this tutorial</a>).</p>
<p>Our directory structure would look like the following (click to expand):</p>
<p><a href="http://www.heaveninteractive.com/weblog/wp-content/uploads/2008/03/picture-7.png" title="picture-7.png"><img src="http://www.heaveninteractive.com/weblog/wp-content/uploads/2008/03/picture-7.png" alt="picture-7.png" /></a></p>
<p>In order to load the .jpg into our file, we first need to import the correct classes into our scope.  We will require the URLRequest and Loader classes, and also, we&#8217;ll go ahead and import the &#8220;events&#8221; package, since it is often good practice to have all of the events handy.</p>
<p><strong>The Code</strong></p>
<p>Here is our code for the Main.as file so far:</p>
<pre>

package {
	import flash.display.MovieClip;
	import flash.display.Loader;
        import flash.events.*;
	import flash.net.URLRequest;</pre>
<p>Next, we&#8217;ll go ahead and make our constructor, a function called <em>Main()</em>. Inside our constructor we will create:</p>
<ol>
<li>A Loader object, called imageLoader;</li>
<li>A URLRequest object, called imageRequest.</li>
</ol>
<p>We will pass the path to our bitmap image (which should be a .gif, .jpg, or .png file), to the URLRequest() constructor.  In our case it will be a .jpg.</p>
<pre>
package {

     import flash.display.MovieClip;
     import flash.display.Loader;
     import flash.events.*;
     import flash.net.URLRequest;

	public class Main extends MovieClip {

		public function Main() {

		var imageLoader:Loader = new Loader();

		var theURL:String = "images/thePic.jpg";

		var imageRequest = new URLRequest(theURL);</pre>
<p>Next, we will add the all-important event listener.  As you should now be aware, interactivity is all about events (so you should get to know your event listener syntax <img src='http://www.heaveninteractive.com/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).  Please note here, that we are not adding the event listener directly to the Loader object, we are passing it to one of its properties, its contentLoaderInfo object.  For more about the contentLoaderInfo class, see the <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html#contentLoaderInfo" target="_blank">Adobe docs here</a>.  This object will trigger an event called &#8220;COMPLETE&#8221; when everything is loaded, so this is what we will listen for.  To this event we assign the listener <em>onComplete(),</em> to be defined later (see below).</p>
<p>After the event listener is set, we then call the load() method of the Loader() object that we have instantiated as imageLoader.</p>
<p>Lastly, placing the image on stage is handled by our (nested) function called <em>onComplete()</em>.  It does the work of adding our newly loaded DisplayObject instance (in this case the content property of a Loader object) to the display list using <em>addChild()</em>.  The complete constructor function is below:</p>
<pre>

public function Main() {

     var imageLoader:Loader = new Loader();
     var theURL:String = "images/thePic.jpg";
     var imageRequest = new URLRequest(theURL);

     imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);

     imageLoader.load(imageRequest);

     function onComplete(evt:Event) {

          addChild(imageLoader.content);

     }

}</pre>
<p>Notice the line:</p>
<p>addChild(imageLoader.content);</p>
<p>The content property of the Loader object is used here because it actually contains our image.  If we want to manipulate it as a Bitmap however, we will have to cast it to the correct data type (not covered in this tutorial).</p>
<p><strong>Don&#8217;t Forget to Unload the Image When You are Done With It </strong></p>
<p>The title of this section says it all. You should use the <em>removeChild()</em> method of the DisplayObjectContainer that the object belongs to (in this case our main timeline), as well as the Loader.<em>unload()</em> method to remove all references to the loaded image.  (Unless you want to keep the bitmap in memory of course).  Once there are no remaining references, our good friend the garbage collector will remove the bitmap from memory.</p>
<p>And that concludes this tutorial.  I hope you enjoyed it.  Ciao and happy ActionScripting!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.heaveninteractive.com/weblog/2008/03/28/loading-an-external-jpg-png-or-gif-file-in-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
