<?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>WestHost Official Blog &#187; Web site Development</title>
	<atom:link href="http://blog.westhost.com/category/web-site-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.westhost.com</link>
	<description>News, Announcements &#38; More</description>
	<lastBuildDate>Wed, 08 Feb 2012 04:37:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>eCommerce Web Hosting Guide</title>
		<link>http://www.westhost.com/blog/2011/11/23/ecommerce-web-hosting-guide/</link>
		<comments>http://www.westhost.com/blog/2011/11/23/ecommerce-web-hosting-guide/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 17:00:28 +0000</pubDate>
		<dc:creator>Clint Reeves</dc:creator>
				<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Web site Development]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=1724</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
What do Circuit City, Hollywood Video, and Borders have in common? All of them lost their market share to direct competitors that successfully employed an online storefront, or eCommerce: Best Buy, Blockbuster, and Barnes &#38; Noble. Clearly, the capability to sell your product online is essential. It lowers your overhead costs and provides greater convenience [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>What do Circuit City, Hollywood Video, and Borders have in common? All of them lost their market share to direct competitors that successfully employed an online storefront, or eCommerce: Best Buy, Blockbuster, and Barnes &amp; Noble. Clearly, the capability to sell your product online is essential. It lowers your overhead costs and provides greater convenience for your customer.</p>
<p><a href="http://www.westhost.com/blog/wp-content/uploads/2011/11/Shopping-Cart.jpg"><img class="alignnone size-medium wp-image-1726" title="Shopping Cart" src="http://www.westhost.com/blog/wp-content/uploads/2011/11/Shopping-Cart-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Regardless of how small your business may be or what your product or service your business offers, taking advantage of the Internet and eCommerce can help your business grow and increase profit. However, eCommerce is highly competitive and there are plenty of businesses that flounder instead of flourish because they disregard the fundamental building blocks of creating and maintaining an <a href="http://www.westhost.com/e-commerce-hosting.html">eCommerce website</a>. So before you build your online storefront take careful consideration of the essential elements of eCommerce:</p>
<ul>
<li><strong>Make a name for yourself</strong>. The right domain name gives your business an identity that is easy to remember and stands out in a competitive crowd.</li>
<li><strong>Find the right host. </strong>Location is everything for a brick-and-mortar store and likewise an online storefront needs a reputable Web host to house the site for success.<strong></strong></li>
<li><strong>Be attractive. </strong> The design for your website needs to be easy to navigate for customers. There are some basic guidelines that can make your site both easy on the eyes and easy to use. <strong></strong></li>
<li><strong>Showcase trust. </strong>Customers will only provide private information including credit card information and phone numbers when a site is secure and appears legitimate. Make sure your site is secure and customers feel comfortable.<strong></strong></li>
<li><strong>Make payment as easy as possible. </strong>It is best to<strong> </strong>provide customers with a variety of payment methods including accepting credit cards, debit cards, and utilizing PayPal. Be sure you have the reliability and ability to process each payment.<strong></strong></li>
</ul>
<p>Covering your bases with eCommerce is far too important to skip any steps. This guide is a simple outline that will give your business the basics necessary to make it big.</p>
<p><span id="more-1724"></span></p>
<p><strong>Step One: Selecting and Registering a Domain Name</strong><br />
A <a href="http://www.westhost.com/domain-registration/">domain name</a> is a completely unique online identity that tells customers who you are and how to find you. Selecting a domain name, or URL, for your site is crucial. Domain names often reinforce the name of your company, product, or service and can also become your business email address. A lot rides on having the right web address, so consider these suggestions before you pick the perfect domain name:</p>
<ul>
<li><strong>Make it unforgettable</strong>. Choose a domain name that will help customers recognize and remember you. Using the name of your business, product, or service is a good idea.</li>
<li><strong>Be descriptive. </strong>Select a domain name that targets your business specifically. For example, a domain name like “Pianos.com” is a simple way to describe your business.</li>
<li><strong>Watch the length. </strong>Shorter domain names are easier to remember and type. Avoid complicated words, spelling, special characters or long phrases. Keeping your domain name simple makes it as easy as possible for people to find your site.</li>
</ul>
<p>Once you settle on a domain name, you have to check to see if it is available with a domain name company. There are a number of domain name companies, or registrars, which can assist you in getting the name you want. Be sure to choose a company with credibility. If the name is available, you have to register the domain name with the registrar.</p>
<p>Registering a domain name is easy and inexpensive. The actual registration process can be painless and can take maybe ten minutes of your time. Be prepared to provide some personal information like your name, address, and phone number so the company can add you to the public domain registry that tracks domain name availability. Once you provide this information you will also need to decide how long you would like to own the domain for, keep in mind you can extend the domain duration for up to ten years.</p>
<p><strong>Step Two: Plan the Structure of Your Site</strong><br />
Once you have chosen your domain name and have it registered, you need to build a user-friendly site that invites customers to come to your site, stay, and make a purchase. A lot of people use professional web design teams to create their website. In the event hiring help is not in your budget, there are self-service website building tools that don’t require extensive HTML knowledge. The most popular content management system is WordPress. WordPress is a renowned system that allows the average person to build a site and is a good starting point.</p>
<p>Keep in mind that each page on your site should focus on helping a customer learn what they need to know and how to buy your product or service quickly. The following tips can help you optimize your site:</p>
<ol>
<li><strong>Do some research. </strong>Check out what your competitors look like and make adaptations.<strong></strong></li>
<li><strong>First impressions are lasting.</strong> Customers want easy access to company information. Make sure your site easily presents your company name, logo, contact information, an “about the company” statement, and any business policies. <strong></strong></li>
<li><strong>Simplify your site.</strong> When you build your site, minimize how many clicks it will take to make an actual purchase. As a rule of thumb, four to six clicks are average. <strong></strong></li>
<li><strong>Keep it clean. </strong>Try to avoid cluttering your site with unnecessary graphics, animations and images. Only use these visual elements when they enhance your marketing goals. <strong></strong></li>
</ol>
<p>After you have completed step two, you are near ready to put your site on the Internet.</p>
<p><strong>Step Three: Select a Web Host </strong><br />
<a href="http://www.westhost.com/"> Web hosting</a> is a service that gives you the space necessary on a web server to make your site accessible to customers. It is similar to an online storage unit, where you rent space on a server (from a web hosting company) to keep your website files safe and secure. A web hosting company connects your site to a web browser and Internet connection, offers customer support, and has eCommerce features. Some businesses may prefer to have control over the purchase, set up, and maintenance of a web server. However, most small- to medium-sized businesses turn to a web hosting company rather than investing in the hardware, software, and necessary expertise to keep a site up and running. In order to select the right web hosting company consider:</p>
<ul>
<li><strong>Web hosting packages. </strong>There are several different types of web hosting. A credible web host will offer a variety of hosting options to cater to your needs. For example, <a href="http://www.westhost.com/web-hosting/">shared hosting</a> is an affordable and popular type of web hosting that allows several sites to reside on the same server. If you anticipate having a larger and busier site, <a href="http://www.westhost.com/managed-dedicated-servers/">dedicated hosting</a> is a private and personal server that is only for your site. Do a little research to figure out what type of web hosting your eCommerce site will require.</li>
<li><strong>Storage space. </strong>A good web hosting company will have the ability to accommodate to your website storage needs. As your business grows, you will want the freedom to get more storage space if necessary. Can the web hosting service meet the needs of your technical requirements? Does the web hosting service have the ability to adapt to your growth?</li>
<li><strong>Uptime. </strong>With an eCommerce site, you will want your site to be available 24 hours a day. Server outages will cause havoc for your business and the opportunity cost of server outages can be staggering. Clearly, constant availability of your website is critical—your customers may not come back if they happen upon your site when it is down. A web host should guarantee 99% uptime and availability. What is the guaranteed uptime offered by the web host provider?</li>
<li><strong>Technical support.</strong> One of the main advantages of utilizing a web host is customer and technical support. Having technical support means your questions and concerns can be handled without stress and you can focus on your business. What kind of customer support does the web host offer?</li>
</ul>
<p>In the age of eCommerce there are additional things to consider with a web host like the features they may provide. Web host providers should offer an eCommerce shopping cart, merchant account to process payment information, and SSL security to protect payments.</p>
<p><strong>Step Four: Start Selling</strong><br />
With an online identity, intriguing and professional online storefront, and a credible web host, you have a solid foundation for an<a href="http://www.westhost.com/e-commerce-hosting.html"> eCommerce site</a>. These basics get you on your feet, and you can start promoting and marketing your site to the public.</p>
<p>Whatever your product or service, eCommerce helps level the playing field against bigger companies. Take advantage of the enormous opportunity eCommerce presents and grab market share!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2011/11/23/ecommerce-web-hosting-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 Tips &amp; Resources to Increase Site Speed</title>
		<link>http://www.westhost.com/blog/2009/12/24/8-tips-resources-to-increase-site-speed/</link>
		<comments>http://www.westhost.com/blog/2009/12/24/8-tips-resources-to-increase-site-speed/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 19:28:42 +0000</pubDate>
		<dc:creator>Jake Neeley</dc:creator>
				<category><![CDATA[Marketing & Advertising]]></category>
		<category><![CDATA[Web site Development]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=969</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
Web site speed has now become a more important factor following Google’s recent announcement that page load speed will be introduced to their 200+ factor algorithm. In a video interview with WebProNews software engineer for Google, Matt Cutts, said &#8220;It should be a good experience, and so it&#8217;s sort of fair to say that if [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/12/Clock-Ticking.jpg" alt="Web Site Speed, Faster Web site" /></p>
<p>Web site speed has now become a more important factor following Google’s recent announcement that page load speed will be introduced to their 200+ factor algorithm. In a <a href="http://www.webpronews.com/topnews/2009/11/13/google-page-speed-may-be-a-ranking-factor-in-2010">video interview</a> with WebProNews software engineer for Google, Matt Cutts, said &#8220;It should be a good experience, and so it&#8217;s sort of fair to say that if you&#8217;re a fast site, maybe you should get a little bit of a bonus. If you really have an awfully slow site, then maybe users don&#8217;t want that as much.&#8221;</p>
<p>With their announcement, Google and many others have constructed tools to test the many characteristics involved with Web page load time. What you might not know is that most of these tools test the site itself and provide information that you can do something about, independent of your service providers.</p>
<p>First of all it is important to know how Web site speed actually works and the factors involved in moving your data. Secondly, the most common reasons you may experience poor site performance; and finally a handful of great resources for testing your site.<br />
<br />
<span id="more-969"></span><br />
<strong>Web Site Speed</strong><br />
Perceiving the speed of your site also involves many factors. </p>
<ul>
<li>Depending where you are in the world, your route to the server will take different paths called hops. A major factor in Internet speed depends on the speed of the network hops between you, point A, and your destination, point B. Just because you connect quickly to one Web site does not mean you will connect with the same speed to another.
<p>This is illustrated by a trace route from a server to Google.com</p>
<p>Traceroute to www.google.com (74.125.19.99), 30 hops max, 60 byte packets<br />
-1 69-36-160-13.WEST-DATACENTER.NET(69.36.160.13) 0.466 ms 0.43 ms 0.625 ms<br />
-2 206.130.126.18.west-datacenter.net(206.130.126.18) 0.858 ms 0.82 ms 0.818 ms<br />
-3 206.130.126.42.west-datacenter.net(206.130.126.42) 0.799 ms 0.78 ms 0.748 ms<br />
-4 ge11-1-0d0.mcr1.saltlake2-ut.us.xo.net(65.46.56.217) 1.20 ms 1.193 ms 1.175 ms<br />
-5 216.156.0.5.ptr.us.xo.net (216.156.0.5) 17.629 ms 17.855 ms 17.838 ms<br />
-6 207.88.13.101.ptr.us.xo.net (207.88.13.101) 17.816 ms 17.882 ms 17.850 ms<br />
-7 216.156.84.30.ptr.us.xo.net (216.156.84.30) 17.870 ms 17.845 ms 17.822 ms<br />
-8 72.14.239.250 (72.14.239.250) 18.786 ms 18.759 ms 18.737 ms<br />
-9 209.85.251.94 (209.85.251.94) 23.953 ms 24.177 ms 24.160 ms<br />
-10 nuq04s01-in-f99.1e100.net (74.125.19.99) 18.646 ms 18.899 ms 18.854 ms</p>
<p>As you can see, there were 10 servers hit, or hops, between me and the eventual IP of the server hosting Google.com. Each one had a different connection speed, measured in milliseconds (ms). In this case, nothing was abnormal; but sometimes a server between you and your destination can be extremely slow or overloaded causing timeouts and other nasty errors.
</li>
<li>Your personal Internet service provider connection could be slow. You can check this by viewing your Web site from a computer connected to a different network.</li>
</ul>
<p><strong>Common Issues</strong><br />
If your site is slow due to issues between your chair and the keyboard, it will typically be one of the following reasons:</p>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/12/Site-Optzm-Graph.jpg" alt="Factors involved is Web site optimization" align="right" /></p>
<ol>
<li>You may be using a greedy add-on or plug-in on one of the many content management systems (CMS) such as WordPress, Drupal, Joomla, etc. CMS applications have extensive, active communities who develop oodles of neat little add-ons and plug-ins to add to your CMS site; however, many of these are extremely greedy and eat-up server resources resulting in slow Web site speeds.</li>
<li>Some developers create scripts (mail scripts, image management scripts, etc.) that, if developed improperly or used too frequently, can cause problems in the backend and affect the speed of your site load time.</li>
<li>You are getting too much traffic. This simply means you have outgrown your current hosting package and it is time to upgrade. Congrats!</li>
<li>Your pictures are too large! Many sites contain images that are much larger than necessary and cause slow load times. You can decrease the file size by compressing the image to reduce the <a href="http://en.wikipedia.org/wiki/Image_resolution">resolution</a> and shrink the pixels or size of the image itself. Most programs have an option to save a file for the Web which automatically compresses the image. It is also important to remember that most digital images are much larger than the area you are trying to fill. For example if you take a picture of your family with a 3.1 megapixel camera the image will contain more than 3 million pixels, and a picture that is 2048×1536 pixels. Most of the time an image this size is much larger than necessary and will bog down your site.</li>
<p><strong>Resources</strong></p>
<li><a href="http://code.google.com/speed/">Google Code</a><br />
Google’s resource to make the Web faster. Through this link you’ll find hundreds of great articles, active forums, and several great tools providing real-time tips to discover site speed variables, script compilers, and more. </li>
<li><a href="http://developer.yahoo.com/">Yahoo! Developer Network</a><br />
Yahoo!’s resource for developers. Offering tools, Yahoo! APIs, and other resources to help developers build a better site. Perhaps the favorite tool here is YSlow. It is a Firefox add-on created to provide a grade for each site based upon Yahoo!’s algorithm of best practices.</li>
<li><a href="http://www.webpagetest.org/">WebPageTest</a><br />
Originally created by AOL for use on its own sites, WebPageTest provides a more technical, location specific, “waterfall of your page load performance as well as a comparison against an optimization checklist.” WebPageTest is available with any URL and can be searched from a few different US locations with 2 different browsers.</li>
<li><a href="http://www.websiteoptimization.com/services/analyze/">Web Page Analyzer</a><br />
A private company offering a free tool providing information to increase site speed. You simply need to enter a URL and the system calculates page size, composition, and download time. The script then calculates the size of individual elements and sums up each type of Web page component. Based on these page characteristics the script then offers advice on how to improve page load time. The script incorporates the latest best practices from <a href="http://www.websiteoptimization.com/secrets/performance/">Website Optimization Secrets</a>, Web page size guidelines and trends, and web site optimization techniques into its recommendations.</li>
</ol>
<p>Another great post created by <a href="http://www.webdesignbooth.com/7-tools-to-optimize-the-speed-of-your-website/">WebDesignBooth</a> offers additional resources.</p>
<p><u>What resources have helped you develop a fast site?</u></p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/12/24/8-tips-resources-to-increase-site-speed/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>The Top 5 Secrets of Professional Online Video</title>
		<link>http://www.westhost.com/blog/2009/12/01/the-top-5-secrets-of-professional-online-video/</link>
		<comments>http://www.westhost.com/blog/2009/12/01/the-top-5-secrets-of-professional-online-video/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 22:55:43 +0000</pubDate>
		<dc:creator>Jake Neeley</dc:creator>
				<category><![CDATA[Marketing & Advertising]]></category>
		<category><![CDATA[Web site Development]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=913</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
Online video is becoming more popular and fundamental to business success every day. YouTube.com is actually getting more search traffic than Yahoo!’s search engine. It is important that you feel comfortable producing your own media. Depending on your goals, you can produce a great video without spending a lot of money and without a professional [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p><center><img src="http://www.westhost.com/blog/wp-content/uploads/2009/12/MovieHand.jpg" alt="" /></center><br />
Online video is becoming more popular and fundamental to business success every day. YouTube.com is actually getting more search traffic than Yahoo!’s search engine. It is important that you feel comfortable producing your own media. </p>
<p>Depending on your goals, you can produce a great video without spending a lot of money and without a professional camera. We have all seen many videos that look like they were shot with a mobile camera phone; in fact many of the most popular videos were shot with a cheap camera. The following tips will help you capture more compelling videos no matter what type of equipment you use.</p>
<p><strong>How do you produce a great video?</strong><br />
<br />
<span id="more-913"></span></p>
<ol>
<li><strong>Rule of Thirds</strong> – Think of your frame divided into nine small sections, two equally spaced horizontal and two equally spaced vertical lines; like a tic-tac-toe grid. Align your subject on the intersection of the guide lines or along the lines themselves. Doing so makes the video much more compelling and pleasing to the eye. In the example below the tree sits at the intersection of the two lines and the horizon is placed on the lower line.    </li>
<p> <center><img src="http://upload.wikimedia.org/wikipedia/commons/c/ce/Rivertree_thirds_md.gif" alt="Rule of thirds" /></center></p>
<li><strong>Leading Lines</strong> – Used frequently in photography and design, leading lines guide your audience through the video to a set point. This is a powerful tool especially if you want to focus on a specific person, location or thing. Combine with the rule of thirds for powerful imagery. This great example comes from my uncle, James Neeley. Notice how your eye is lead along several lines to the main subject, the bridge.  </li>
<p> <center><img src="http://farm3.static.flickr.com/2040/2018500376_07ad64541e.jpg" alt="Leading Lines" /></center></p>
<li><strong>Drop Down and Get Close</strong> – Change the level of your camera angle, meet them at their eyes. If your subject is small drop down to catch their compelling smiles and gripping looks. Rather than using the zoom button, close in on your subject. By simply getting closer to your subject you’ll improve picture quality and successfully avoid rickety shots.</li>
<p> <center><img src="http://www.westhost.com/blog/wp-content/uploads/2009/11/JamieComparison.jpg" alt="" /></center></p>
<li><strong>Use a Strong Background</strong> – Ensure your background is quiet, and contrasts well to your subject. The goal is to lead the eye of your audience to your focal point/subject. This can be quite hard if there is a lot going on, whether it’s messy space or people traffic.</li>
<li><strong>Be a Producer</strong> – Add some props, get a different view, move your subject. Props can be an influential tool to gain attention and provide consistency throughout your video. In addition moving your subject to an interesting location or arrangement adds a nice natural touch. My alma mater, Utah State University, produced several great videos exemplifying a great background with interesting props. </li>
<p> <center><img src="http://www.westhost.com/blog/wp-content/uploads/2009/11/USU-vid.jpg" alt="" /></center></p>
</ol>
<p>Do you have a good example of online video? Please share your tips!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/12/01/the-top-5-secrets-of-professional-online-video/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>AutoMOD: Customization Magic for phpBB3</title>
		<link>http://www.westhost.com/blog/2009/09/24/automod-customization-magic-for-phpbb3/</link>
		<comments>http://www.westhost.com/blog/2009/09/24/automod-customization-magic-for-phpbb3/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 00:05:49 +0000</pubDate>
		<dc:creator>Cody Erekson</dc:creator>
				<category><![CDATA[Technical Support]]></category>
		<category><![CDATA[Web site Development]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=435</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
One of the many site applications we offer is phpBB3, which claims to be “the most widely used open-source bulletin board system in the world.” Using phpBB3 you can create everything from large discussion forums to small game clan meeting rooms. It offers the tools necessary for moderation teams to maintain control of your site. [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>One of the many site applications we offer is phpBB3, which claims to be “the most widely used open-source bulletin board system in the world.”  Using phpBB3 you can create everything from large discussion forums to small game clan meeting rooms.  It offers the tools necessary for moderation teams to maintain control of your site.  A detailed permissions system also allows access to specific features as you see fit.  </p>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/09/AutoMod.gif" alt="" /><br />
Perhaps the greatest aspect of phpBB3 is the ability to customize it by installing any of a number of available modifications. You’ll see a list of modifications later in the post, but first things first: Installation. </p>
<p><span id="more-435"></span></p>
<p>Unless you are familiar with the PHP coding language, installing these mods can be a daunting task.  That’s where <a href="http://www.phpbb.com/mods/automod/">AutoMOD </a>comes in!  AutoMOD is a mod installation utility that will insert the necessary code into your phpBB3 site quickly and easily.</p>
<p><strong>Five Steps to Install AutoMOD:</strong></p>
<ol>
<li>Upload all of the files and folders from the “upload” directory to your site with the FTP client of your choice.  Ensure that you maintain the correct data structure, i.e., files in includes need to go in the includes folder on your site</li>
<p></P></p>
<li>Once the files are in place, browse to the install directory (http://www.yoursite.com/phpbb/install) to run through the simple and painless installation.  </li>
<p></P></p>
<li>Don’t forget to delete the install folder from the server or phpBB3 will not allow anyone to use the site.</li>
<p></P></p>
<li>To install the mod, upload the mod files and let AutoMOD do the work!</li>
<p></P></p>
<li>After you upload your mod files into the newly created /phpbb/store/mods folder on the server, the mod will be displayed in the AutoMOD tab in the Administration Control Panel.  Next to the name of the available mod is an “Install” link.  </ol>
</li>
<p>AutoMOD will check all of the code changes necessary and alert you if there is a problem; for example you may have already installed a mod that affects the specific code that the current mod needs to change.  In this case, you will be shown the changes that are required for the current installation and you can make the choice to continue or cancel.  </p>
<p>If there are any additional steps needed to complete the installation, AutoMOD will tell you exactly what’s needed.  If you decide in the future that you don’t want the changes implemented by a particular mod, AutoMOD can remove it for you as well. How cool is that!</p>
<p>There are literally hundreds of phpBB3 modifications available.  The <a href="http://www.phpbb.com/community/viewforum.php?f=69">official phpBB site</a> hosts over 300 mods alone, all of which have been reviewed for security flaws and obvious bugs.  You can transform phpBB3 from a simple bulletin board system into a feature rich content management system, a near LinkedIn clone, or even a blog.</p>
<p>Here are some of the more common and useful mods you may wish to look at:</p>
<ul>
<li><a href="http://www.phpbb.com/community/viewtopic.php?f=69&#038;t=1146135">Advertisement Management</a>: Manage your banner ads, create rotating ads &#038; filter viewers of advertisements </li>
<li><a href="http://www.phpbb.com/community/viewtopic.php?f=69&#038;t=1308375">User Blog Mod</a>: Feature rich blogging system that can be available to all of your site members</li>
<li><a href="http://www.phpbb.com/community/viewtopic.php?f=69&#038;t=1726785">phpBB Smartfeed</a>: Creates RSS 1.0, 2.0, and ATOM 1.0 newsfeeds so you can syndicate your site contents</li>
<li><a href="http://www.phpbb.com/community/viewtopic.php?f=69&#038;t=691165">SEO Mod</a>: Optimize your phpBB3 site’s ability to gain ranking within search engines</li>
<li><a href="http://www.phpbb3portal.com/">phpBB3 Portal</a>: Add a front portal page to your forum, effectively converting phpBB3 into a full CMS</li>
</ul>
<p>With all of these mods at your fingertips, the Internet is your oyster!</p>
<p>Cody Erekson<br />
WestHost Technical Support</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/09/24/automod-customization-magic-for-phpbb3/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Improving Apache Web Server Performance</title>
		<link>http://www.westhost.com/blog/2009/06/09/improving-apache-web-server-performance/</link>
		<comments>http://www.westhost.com/blog/2009/06/09/improving-apache-web-server-performance/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 16:33:57 +0000</pubDate>
		<dc:creator>Nick Venturella</dc:creator>
				<category><![CDATA[Technical Support]]></category>
		<category><![CDATA[Web site Development]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=322</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
Even to most Internet professionals, the Apache web server software can be as perplexing as it is ubiquitous. Although not as comprehensive as the official 685-page documentation, this post outlines two useful features you can enable in the httpd.conf file to improve the performance of your web server: persistent connections and gzip compression. Important note: [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p><img src="http://www.westhost.com/images/nventurella_poloroid.jpg" style="float: right; margin: -15px 0 0 7px;"/></p>
<p>Even to most Internet professionals, the Apache web server software can be as perplexing as it is <a href="http://news.netcraft.com/archives/web_server_survey.html" target="_blank">ubiquitous</a>. Although not as comprehensive as the <a href="http://httpd.apache.org/docs/2.0/" target="_blank">official 685-page documentation</a>, this post outlines two useful features you can enable in the httpd.conf file to improve the performance of your web server:  persistent connections and gzip compression.</p>
<p>Important note: An error in your Apache configuration can take all of your web sites offline. Please make a backup copy of the <strong>/etc/httpd/conf/httpd.conf</strong> file before you begin making modifications. Also remember that it is necessary to restart your account to apply either of the changes described below.</p>
<p><span id="more-322"></span></p>
<p style="font-size: 14px;"><strong>Persistent Connections (Keep-Alive)</strong></p>
<p>In addition to your web page itself, web browsers must also download each stylesheet, script, image, and other file referenced by your page. Historically, this meant that browsers would connect to a server, download the page, and disconnect. The browser would then initiate a new connection, download the first referenced file, and disconnect, repeating the process to fetch each additional file. As web pages became increasingly complex, they began using more files and the slow connect/download/disconnect method became noticeably time-consuming. This problem was solved with the introduction of persistent connections, as described below in the Apache documentation:</p>
<p style="margin: 0 25px; padding: 0 7px; border-left: solid 1px black;"><em>The Keep-Alive extension to HTTP/1.0 and the persistent connection feature of HTTP/1.1 provide long-lived HTTP sessions which allow multiple requests to be sent over the same TCP connection. In some cases this has been shown to result in an almost 50% speedup in latency times for HTML documents with many images.</em></p>
<p>Under the default settings, persistent connections are enabled on your account, but the <span style="font-family: courier;">KeepAliveTimeout</span> is set to 15 seconds (near line 86 of /etc/httpd/conf/httpd.conf). This means that Apache connections will stay active for 15 seconds after visitors have downloaded (and possibly even left) the web page. Apache connections use server resources and your account has a limited number of Apache connections, so this is generally undesirable.</p>
<ul>
<li><strong>For the best performance on most websites, leave</strong> <span style="font-family: courier;">KeepAlive On</span> <strong>but reduce the</strong> <span style="font-family: courier;">KeepAliveTimeout</span> <strong>to 1 or 2 seconds</strong>. This allows visitors to benefit from faster downloads through persistent connections, but helps prevent Apache from overloading the server and keeping too many connections open at once.</li>
<li><strong>In rare cases, on websites with extremely heavy traffic, turn</strong> <span style="font-family: courier;">KeepAlive Off</span>. Persistent connections guarantee faster page loads for your visitors but come at the cost of increased resource utilization by requiring more Apache connections to remain open concurrently on the server. If you are frequently reaching the maximum number of allowed Apache connections, it is probably necessary to upgrade your hosting package, but turning off persistent connections is one final step you can take to squeeze a little bit more out of your current plan.</li>
</ul>
<p style="font-size: 14px;"><strong>Gzip Compression (mod_deflate)</strong></p>
<p>HTML, CSS, and many other programming languages used on the web are highly redundant, allowing them to be compressed effectively. <span style="font-family: courier;">mod_deflate</span>, Apache’s compression engine, is installed but not enabled by default. To enable automatic gzip compression, add the following lines of code to the end of your httpd.conf file:</p>
<p><code><br />
SetInputFilter DEFLATE<br />
AddOutputFilterByType DEFLATE text/html<br />
AddOutputFilterByType DEFLATE text/css<br />
AddOutputFilterByType DEFLATE text/xml<br />
AddOutputFilterByType DEFLATE text/plain<br />
AddOutputFilterByType DEFLATE text/rtf<br />
AddOutputFilterByType DEFLATE text/javascript<br />
AddOutputFilterByType DEFLATE application/x-javascript<br />
AddOutputFilterByType DEFLATE application/xml<br />
AddOutputFilterByType DEFLATE application/xhtml+xml<br />
AddOutputFilterByType DEFLATE application/rss+xml<br />
AddOutputFilterByType DEFLATE application/atom+xml<br />
AddOutputFilterByType DEFLATE application/rdf+xml<br />
AddOutputFilterByType DEFLATE application/postscript<br />
AddOutputFilterByType DEFLATE application/msword<br />
AddOutputFilterByType DEFLATE application/vnd.ms-excel<br />
AddOutputFilterByType DEFLATE application/vnd.ms-powerpoint<br />
AddOutputFilterByType DEFLATE image/svg+xml<br />
AddType image/svg+xml .svg<br />
</code></p>
<p style="clear: both;">After you have edited the httpd.conf file and restarted your account, <a href="http://www.whatsmyip.org/http_compression/" target="_blank">test whether compression is working properly</a>.</p>
<p>Persistent connections significantly improve loading multimedia-rich sites with large numbers of images and other files, while gzip compression reduces HTML, CSS, JavaScript, and other text by an average of 80 percent, but these two changes are just the beginning! Read <a href="http://developer.yahoo.com/performance/rules.html" target="_blank">Yahoo’s list of Best Practices for Speeding Up Your Web Site</a> for even more ways to make your pages load faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/06/09/improving-apache-web-server-performance/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Customizing Zen Cart, Part 2</title>
		<link>http://www.westhost.com/blog/2009/05/19/customizing-zen-cart-part-2/</link>
		<comments>http://www.westhost.com/blog/2009/05/19/customizing-zen-cart-part-2/#comments</comments>
		<pubDate>Tue, 19 May 2009 17:01:29 +0000</pubDate>
		<dc:creator>Kevin Griffiths</dc:creator>
				<category><![CDATA[Technical Support]]></category>
		<category><![CDATA[Web site Development]]></category>
		<category><![CDATA[customizing]]></category>
		<category><![CDATA[e-commerce store]]></category>
		<category><![CDATA[zen cart]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=293</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
In part one of customizing Zen Cart (found here) we covered changing the color scheme of your store to better fit your needs. In part two we will be discussing changing some of the main images that Zen Cart uses in the design. Changing Images The first image you might want to get rid of [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/05/zen-cart-logo1.png" alt="Zen Cart Logo" title="" width="146" height="40" align="right" style="margin-left: 10px;" />In part one of customizing Zen Cart (found <a href="http://www.westhost.com/blog/2009/05/customizing-zen-cart-part-1/" title="Customizing Zen Cart Part 1">here</a>) we covered changing the color scheme of your store to better fit your needs. In part two we will be discussing changing some of the main images that Zen Cart uses in the design.<br />
<span id="more-293"></span></p>
<h2>Changing Images</h2>
<p>The first image you might want to get rid of is the main banner image and replace it with your own. The main banner is actually made up of two parts. The first part is the clouds image. This is referenced again in the CSS file that you have already edited. The CSS file looks like this:<br />
<code><br />
#logoWrapper{<br />
       background-image: url(../images/header_bg.jpg);<br />
        background-repeat: repeat-x;<br />
        background-color: #ffffff;<br />
        height:75px;<br />
        }<br />
</code><br />
To remove the clouds image, you simply removed the reference to the image:<br />
<code><br />
#logoWrapper{<br />
        background-repeat: repeat-x;<br />
        background-color: #ffffff;<br />
        height:75px;<br />
        }<br />
</code><br />
By default Zen Cart uses logo.gif for the name of this image, but you can use you own filename for the logo. Using an image editor, create your new logo and upload it to your server.</p>
<p>After creating your logo you can adjust the height, width and logo name in includes/languages/english/header.php. Also, you will have to change includes/languages/english/classic/header.php.<br />
<code><br />
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');<br />
define('HEADER_LOGO_WIDTH', '192px');<br />
define('HEADER_LOGO_HEIGHT', '64px');<br />
define('HEADER_LOGO_IMAGE', 'logo.gif');<br />
</code><br />
Make the needed changes reflecting the name of your site, and the width, height and filename of your logo that you created. To get rid of that pesky “Sales Message Goes Here” text, you need to modify the header.php file in the path /var/www/var/zencart/includes/languages/english/classic/ .<br />
The rest of the images on the site are banners and those banners can be turned on, off, or deleted. You can do this through the admin panel for your cart. After your images have been modified, your cart should look something like this:</p>
<p> <img src="http://www.westhost.com/blog/wp-content/uploads/2009/05/zencart021.gif" alt="Customize Zen Cart" title="" width="288" height="260" style="margin: 0pt auto; display: block;" /></p>
<p>Congratulations, you are well on you way to creating a shopping cart that will fit your site’s personality.</p>
<p>—————————–</p>
<p>Would you like to perform the above (or more) on your site, but not comfortable with the code? WestHost can help, just fill out a request <a href="https://corp2.westhost.com/designquote" title="free estimate" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/05/19/customizing-zen-cart-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Customizing Zen Cart, Part 1</title>
		<link>http://www.westhost.com/blog/2009/05/14/customizing-zen-cart-part-1/</link>
		<comments>http://www.westhost.com/blog/2009/05/14/customizing-zen-cart-part-1/#comments</comments>
		<pubDate>Thu, 14 May 2009 20:29:05 +0000</pubDate>
		<dc:creator>Kevin Griffiths</dc:creator>
				<category><![CDATA[Technical Support]]></category>
		<category><![CDATA[Web site Development]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[zen cart]]></category>
		<category><![CDATA[zencart]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=283</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
One of our more recent Site Application additions has been Zen Cart. This e-commerce solution has many robust features and this article will give some detailed information, giving you the ability to modify the cart with your own look and feel. The first thing you might want to do to your new store is to [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/05/zen-cart-logo.png" alt="Zen Cart" title="zen-cart-logo" width="146" height="40"align="right" style="margin-left: 10px;" />One of our more recent Site Application additions has been Zen Cart. This e-commerce solution has many robust features and this article will give some detailed information, giving you the ability to modify the cart with your own look and feel.<br />
<span id="more-283"></span><br />
The first thing you might want to do to your new store is to modify the CSS to provide the “feel” you are looking for. The templates are located in zencart/includes/templates/. One thing that is of special interest is that Zen Cart has two templates it starts by default. There is the classic template and there is the template_default template. Zen Cart will use the template_default template for most of its features, but any changes to the classic template will override the template_default template. The template_default will render the default CSS and basically is the configuration Zen Cart will have if there were no template installed.  For the purposes of this post, we’ll talk about making changes to the classic template as it is in place after the installation from Site Manager.  The classic template can be found in zencart/includes/templates/classic/css/.. You want to modify the file called stylesheet.css.</p>
<p>Common things I often asked are how colors, widths, heights, and images are changed. The first thing I will start with is the overall color scheme of your store. Your store will look like this when it is first loaded.</p>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/05/zencart01.gif" alt="Zen Cart Customization" title="zencart01" width="288" height="262" style="display: block; margin: 0 auto;" /></p>
<h2>Color Schemes</h2>
<p>Many ask how to change the green color scheme.  To do this, we have to modify the CSS file located in zencart/includes/templates/classic/css/ called stylesheet.css. The green headers are actually small gif images that are referenced in the CSS file. They can be deleted or changed. I have highlighted the specific text in my example below.</p>
<p><code>#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {<br />
        margin: 0em;<br />
        background-color: #abbbd3;<br />
        background-image: url(../images/tile_back.gif);<br />
        padding: 0.5em 0.2em;<br />
        font-weight: bold;<br />
        color: #ffffff;<br />
        height: 1%;<br />
        }<br />
</code><br />
In my example below you can see that the reference to the image has been removed and I have changed the background color to blue.<br />
<code><br />
#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {<br />
        margin: 0em;<br />
        background-color: #000CFF;<br />
        padding: 0.5em 0.2em;<br />
        font-weight: bold;<br />
        color: #ffffff;<br />
        height: 1%;<br />
        }<br />
</code><br />
The image is referenced in four other tags throughout the CSS file.  To completely change this look, you will need to remove or possibly change the reference.  The tags that need to be changed are listed below. Simply look for the exact tags in the file and remove the image reference.<br />
<code><br />
#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {<br />
#navEZPagesTop {<br />
.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {<br />
.productListing-rowheading {<br />
</code><br />
It would probably be a good time to save your changes and take a look at the impact you have had on Zen Cart.  Save your work and take a look at your cart in your browser.  For those of you falling asleep at this point, you may need to hit refresh in your browser.  Now, you may notice some throwbacks to the green theme at the bottom of each element in the browser. You can change this heavy green line by modifying the CSS file on the lines outlined below.<br />
<code><br />
.leftBoxContainer, .rightBoxContainer {<br />
        margin: 0em;<br />
        border: 1px solid #9a9a9a;<br />
        border-bottom: 5px solid #336633;<br />
        margin-top: 1.5em;<br />
        }<br />
</code><br />
If you want to make the width the same as the rest of the lines and change the color of the borders to match your header, you would set to it something like this:<br />
<code><br />
.leftBoxContainer, .rightBoxContainer {<br />
        margin: 0em;<br />
        border: 1px solid #000CFF;<br />
        margin-top: 1.5em;<br />
        }<br />
</code><br />
Now the store should look something like this:<br />
<img src="http://www.westhost.com/blog/wp-content/uploads/2009/05/zencart02-284x300.gif" alt="Customizing Zen Cart" title="zencart02" width="284" height="300" style="display: block; margin: 0 auto;" /></p>
<p>Read Customizing Zen Cart Part 2 by <a href="http://www.westhost.com/blog/2009/05/customizing-zen-cart-part-2/">clicking here</a>.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Would you like to perform the above (or more) on your site, but not comfortable with the code? WestHost can help, just fill out a request <a href="https://corp2.westhost.com/designquote" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/05/14/customizing-zen-cart-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache Tomcat 101</title>
		<link>http://www.westhost.com/blog/2009/04/23/apache-tomcat-101/</link>
		<comments>http://www.westhost.com/blog/2009/04/23/apache-tomcat-101/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 18:29:17 +0000</pubDate>
		<dc:creator>Dustin Olson</dc:creator>
				<category><![CDATA[Technical Support]]></category>
		<category><![CDATA[Web site Development]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=260</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
To all Tomcat users out there, I’m sure many of you have had questions on how to get things up and running; questions like ‘Is Apache Tomcat the same thing as Tomcat?’, and ‘How do I get the :8080 to go away?’ What is Apache Tomcat? Apache Tomcat and Tomcat are the same thing. Apache, [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p><img src="http://www.westhost.com/images/tomcat_logo.jpg" alt="Apache Tomcat" title="Apache Tomcat" style="float:left; margin-right:20px;"/></p>
<p>To all Tomcat users out there, I’m sure many of you have had questions on how to get things up and running; questions like ‘Is Apache Tomcat the same thing as Tomcat?’, and ‘How do I get the :8080 to go away?’</p>
<p><strong>What is Apache Tomcat? </strong></p>
<p>Apache Tomcat and Tomcat are the same thing. Apache, in this case, is simply the parent project and does not refer to the Apache web server. Apache Tomcat acts as a <a href="http://en.wikipedia.org/wiki/Servlet_container#Servlet_containers" target="_blank">servlet container</a> that processes Java servlets/JSP pages. There are some specifications that can be made within the Apache web server to let Apache know whether or not to handle the request or pass it on to Tomcat for processing. These specifications are located in the mod_jk.conf (sometimes just jk.conf) file in the /etc/httpd/conf.d directory. </p>
<p><span id="more-260"></span></p>
<p><strong>Great! So how do I get Apache Tomcat to find my JSP pages?</strong> </p>
<p><img src="http://www.westhost.com/images/dolson_blog.jpg" alt="Dustin Olson" title="Dustin Olson" style="float:right; margin-left:15px; margin-top:-8px;"/></p>
<p>While a number of specifications can take place in the mod_jk.conf file, the most relevant is the JkMount directive. This is the option that tells Apache whether or not to pass the request on to Tomcat. If you create a new folder in the /var/tomcat5/webapps directory for your Java related content, which is where is should be, Apache will not know about it by default. If the folder is called ‘test’, for example, then you would be able to access the folder by going to http://yourdomain.com:8080/test/ but it would not work by going to just http://domain.com/test/ which is, of course, what most of you will want. To get this functionality, a JkMount directive would have to be used inside the jk.conf file. It would look as follows:</p>
<p>JkMount /test/* ajp13w</p>
<p>Once this change is made and Apache is restarted (notice, Tomcat does NOT need restarting in this case because it was an Apache directive in an Apache configuration file that was altered) then http://yourdomain.com/test/ will come up fine and will be handled by Tomcat, as desired. If you are familiar with SSH, you can use the ‘apachectl graceful’ command to restart Apache. Otherwise you can go in through your Site Manager under the Restart Account section and restart that way. </p>
<p><strong>What if I want my Java web application to show up at http://yourdomain.com instead of http://yourdomain.com/folder/?</strong> </p>
<p>In this scenario, you will create a folder called ROOT (all upper case) inside the /var/tomcat5/webapps directory and put all of your java content in there. You will then setup the JkMount directive as follows and then restart Apache as mentioned above:</p>
<p>JkMount /* ajp13w </p>
<p>Now your Java web application is all up and running. That’s all it takes!</p>
<p><strong>A few more tidbits for those who want to understand what all that means:</strong></p>
<p>The ‘ajp13w’ entry above refers to a user specified in the /etc/httpd/conf/workers.properties file and stands for Apache JServ Protocol. To find out more on this protocol and its functions, see <a href="http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html" target="_blank">http://tomcat.apache.org/connectors-doc/ajp/ajpv13a.html</a>. That should give you a good understanding of what role a Tomcat worker plays and how and why Tomcat processes are spawned and resources are used. A Tomcat worker is a Tomcat instance that is waiting to execute servlets or any other content on behalf of some web server. For example, we can have a web server such as Apache forwarding servlet requests to a Tomcat process (the worker) running behind it. In WestHost&#8217;s case, ajp13 and ajp12 are the only workers setup, ajp13 being the default worker, and the preferred worker due to it being configured to use sockets as it’s communication channel (see above link for further detail.) When the JkMount directive is used, it is assigned to the ajp13 worker as the entry specifies.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/04/23/apache-tomcat-101/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple and Clean Menus with jQuery</title>
		<link>http://www.westhost.com/blog/2009/03/25/simple-and-clean-menus-with-jquery/</link>
		<comments>http://www.westhost.com/blog/2009/03/25/simple-and-clean-menus-with-jquery/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 16:05:18 +0000</pubDate>
		<dc:creator>Chris Michaelis</dc:creator>
				<category><![CDATA[Web site Development]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[menus]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=231</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
Creating a nice-looking menu can be a challenge. You want something that&#8217;s clean, that looks good, and that fits into your site. These aren&#8217;t such demanding things to ask for in a menu, but if you search the Internet for &#8220;html menu&#8221;, you get all sorts of strange selections, varying in degrees of complexity, and [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/03/jquery-menus00.jpg" alt="jQuery" title="jquery-menus00" width="200" height="54" align="right" />Creating a nice-looking menu can be a challenge. You want something that&#8217;s clean, that looks good, and that fits into your site. These aren&#8217;t such demanding things to ask for in a menu, but if you search the Internet for &#8220;html menu&#8221;, you get all sorts of strange selections, varying in degrees of complexity, and usually designed for a specific site layout or color scheme.</p>
<p>What if you could have a very recognizable menu system &#8211; like the one that Windows Explorer™ uses, shown here?</p>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/03/jquery-menus01.jpg" alt="Windows Explorer menus" title="jquery-menus01" width="399" height="297" /><br />
<span id="more-231"></span><br />
Thanks to jQuery and its multitude of useful plug-ins, you can have just that. The SimpleTree plug-in takes only seconds to create a menu system that nearly every computer user will immediately recognize and feel comfortable with. What’s shown below is the default icon theme that the plug-in includes, but you can always edit or replace the images to change the computer icon, the folder icons, or the &#8220;leaf&#8221; icons to suit your needs.</p>
<p>If you&#8217;re not familiar with jQuery, see some of our previous posts on the topic:<br />
<a href="http://www.westhost.com/blog/2009/01/dynamic-websites-with-jquery-and-extjs/" target="_blank">http://www.westhost.com/blog/2009/01/dynamic-websites-with-jquery-and-extjs/</a><br />
<a href="http://www.westhost.com/blog/2009/03/more-jquery-blockui-plug-in/" target="_blank">http://www.westhost.com/blog/2009/03/more-jquery-blockui-plug-in/</a></p>
<p>Check out our simple menu below, or the complete example: <a href="http://cmichaelis.whsites.net/whblog/jquery-simpletree/" target="_blank">http://cmichaelis.whsites.net/whblog/jquery-simpletree/</a></p>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/03/jquery-menus02.jpg" alt="jQuery menus" title="jquery-menus02" width="200" height="141" /></p>
<p>In order to create this menu, we need only a small bit of JavaScript code, placed in your jQuery &#8220;ready&#8221; function:<br />
<code><br />
simpleTreeCollection = $('.simpleTree').simpleTree({<br />
  autoclose: true,<br />
  afterClick:function(node){<br />
    $.blockUI({ message: 'You clicked on:&lt;br/ &gt;' + $('span:first',node).text() + '&lt;br /&gt;&lt;br /&gt;&lt;a href="javascript:void(0)" onclick="$.unblockUI()"&gt;Click here to dismiss.&lt;/a&gt;'});<br />
  },<br />
  animate:true,<br />
  drag:false<br />
});<br />
</code></p>
<p>We also need to define the menu items themselves. This will be done with an unordered list (ul) element which has the class &#8220;simpleTree&#8221;:</p>
<p><code><br />
&lt;ul id="browser" class="simpleTree"&gt;<br />
 &lt;li class="root"&gt;&lt;span&gt;Contents&lt;/span&gt;<br />
 &lt;ul&gt;<br />
  &lt;li class="open" id="item1"&gt;&lt;span&gt;This is the first item...&lt;/span&gt;<br />
   &lt;ul&gt;<br />
    &lt;li id="subitem1"&gt;&lt;span&gt;Sub Item #1&lt;/span&gt;&lt;/li&gt;<br />
    &lt;li id="subitem2"&gt;&lt;span&gt;Sub Item #2&lt;/span&gt;&lt;/li&gt;<br />
   &lt;/ul&gt;<br />
  &lt;/li&gt;<br />
</code><br />
<code><br />
  &lt;li class="open" id="item2"&gt;&lt;span&gt;This is the second item...&lt;/span&gt;<br />
   &lt;ul&gt;<br />
    &lt;li id="subitem3"&gt;&lt;span&gt;Sub Item #3&lt;/span&gt;&lt;/li&gt;<br />
    &lt;li id="subitem4"&gt;&lt;span&gt;Sub Item #4&lt;/span&gt;&lt;/li&gt;<br />
   &lt;/ul&gt;<br />
  &lt;/li&gt;<br />
&lt;/ul&gt;<br />
</code></p>
<p>When your jQuery ready event runs, it will convert the unordered list into the menu. That&#8217;s all there is to it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/03/25/simple-and-clean-menus-with-jquery/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>More jQuery (BlockUI plug-in)</title>
		<link>http://www.westhost.com/blog/2009/03/03/more-jquery-blockui-plug-in/</link>
		<comments>http://www.westhost.com/blog/2009/03/03/more-jquery-blockui-plug-in/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 17:52:13 +0000</pubDate>
		<dc:creator>Chris Michaelis</dc:creator>
				<category><![CDATA[Web site Development]]></category>
		<category><![CDATA[blockui]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.westhost.com/blog/?p=174</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
&#8220;The page at www.yoursite.com says…&#8221; Does that look familiar? If you use alert() or confirm() from JavaScript in your web page, some browsers display a standard, boring window with that title, and your message in it. A few weeks ago, I introduced jQuery, a powerful tool for writing dynamic and engaging websites quickly. Today I’d [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>&#8220;The page at www.yoursite.com says…&#8221;</p>
<p>Does that look familiar? If you use alert() or confirm() from JavaScript in your web page, some browsers display a standard, boring window with that title, and your message in it.</p>
<p>A few weeks ago, I introduced jQuery, a powerful tool for writing dynamic and engaging websites quickly. Today I’d like to take a brief moment of your time to introduce BlockUI, a plug-in for jQuery. Beyond the power of jQuery itself, you can accomplish much using jQuery plug-ins. Many common tasks are taken care of and abstracted into easy to use, feature-rich plug-ins &#8211; a full list can be found at <a href="http://plugins.jquery.com/">http://plugins.jquery.com/</a>.<br />
<span id="more-174"></span><br />
BlockUI (<a href="http://malsup.com/jquery/block/">http://malsup.com/jquery/block/</a>) is a small plug-in that will allow you to change a boring prompt into a nice-looking one.</p>
<p>Turn this:  <a href="http://cmichaelis.whsites.net/whblog/jquery-blockui/boring.html">http://cmichaelis.whsites.net/whblog/jquery-blockui/boring.html</a></p>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/03/blockui-1.gif" alt="" title="blockui-1" width="352" height="198" /></p>
<p>…into this: <a href="http://cmichaelis.whsites.net/whblog/jquery-blockui/better.html">http://cmichaelis.whsites.net/whblog/jquery-blockui/better.html</a></p>
<p><img src="http://www.westhost.com/blog/wp-content/uploads/2009/03/blockui-2.gif" alt="" title="blockui-2" width="482" height="172" /></p>
<p>The BlockUI plug-in allows you to place the message over the whole page, or over just a particular block element (like a &#8220;div&#8221; tag).  You can specify a message to display, or you can even have a complex piece of your page hidden (with style=&#8221;display: none&#8221;) and display it in this fashion.</p>
<p>Visit <a href="http://malsup.com/jquery/block/">http://malsup.com/jquery/block/</a> to download it, and to view more examples &#8211; and bring your website’s messages up to the next level.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.westhost.com/blog/2009/03/03/more-jquery-blockui-plug-in/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

