<?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>KWest Consulting</title>
	<atom:link href="http://www.kwestconsulting.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kwestconsulting.com</link>
	<description></description>
	<lastBuildDate>Thu, 29 Oct 2009 18:53:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google’s Matt Cutts SEO Video Presentation</title>
		<link>http://www.kwestconsulting.com/wordpress/google%e2%80%99s-matt-cutts-seo-video-presentation</link>
		<comments>http://www.kwestconsulting.com/wordpress/google%e2%80%99s-matt-cutts-seo-video-presentation#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:46:15 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Search Engine Optimization (SEO)]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=103</guid>
		<description><![CDATA[Matt&#8217;s presentation given at WordCamp. Lucky, the presentation was recorded and is available for everyone to watch.  If you have about an hour, I recommend watching it, here it is:]]></description>
			<content:encoded><![CDATA[<p>Matt&#8217;s presentation given at WordCamp. Lucky, the presentation was recorded and is available for everyone to watch.  If you have about an hour, I recommend watching it, here it is:<br />
<center><br />
<object style="width: 480px; height: 270px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="270" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://v.wordpress.com/lAZUouJF" /><embed style="width: 480px; height: 270px;" type="application/x-shockwave-flash" width="480" height="270" src="http://v.wordpress.com/lAZUouJF"></embed></object><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/wordpress/google%e2%80%99s-matt-cutts-seo-video-presentation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a page curl in Photoshop</title>
		<link>http://www.kwestconsulting.com/design/creating-a-page-curl-in-photoshop</link>
		<comments>http://www.kwestconsulting.com/design/creating-a-page-curl-in-photoshop#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:41:12 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[techniques]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=98</guid>
		<description><![CDATA[Today’s tutorial was a request by Kirk from Smallest Photo. As you all know, the way I do or show it isn’t the ‘only’ way, it’s just my way and I’m open for any other tips or suggestions. As always I had fun doing this and I’m always happy to share stuff like this. So [...]]]></description>
			<content:encoded><![CDATA[<p>Today’s tutorial was a request by Kirk from <a href="http://www.smallestphoto.com/">Smallest Photo</a>. As you all know, the way I do or show it isn’t the ‘only’ way, it’s just my way and I’m open for any other tips or suggestions. As always I had fun doing this and I’m always happy to share stuff like this. So here it goes…</p>
<p><img title="Image with page curl" src="http://veerle.duoh.com/images/uploads/page-curl.jpg" alt="Image with page curl" width="640" height="300" /></p>
<h4>Step 1 &#8211; Selecting the corner and warp transform it to a curl</h4>
<p><img title="Creating a page curl in Photoshop - Step 1" src="http://veerle.duoh.com/images/uploads/page-curl-howto1.jpg" alt="Creating a page curl in Photoshop - Step 1" width="630" height="281" /></p>
<p>Select the Rectangle Selection tool from the Toolbox and drag a squared selection starting from the bottom right corner of the image (holding down shift) going diagonally left, till you have a big part selected of the bottom right corner of your image. Go to the Edit menu and select Transform &gt; Warp. Drag the bottom right point of the mesh up left till you get some curly effect. Drag the bezier handles to get the right curl effect and hit the return key if you&#8217;re pleased with the result.</p>
<h4>Step 2 &#8211; Create the curl</h4>
<p><img title="Creating a page curl in Photoshop - Step 2" src="http://veerle.duoh.com/images/uploads/page-curl-howto2.jpg" alt="Creating a page curl in Photoshop - Step 2" width="630" height="281" /></p>
<p>Since this curl doesn&#8217;t show the back of our photo, it doesn&#8217;t really look realistic. The only way I&#8217;m aware of to achieve this effect is that we draw it ourself. Select the Pen tool from the Toolbox and draw a path on top of the picture. Follow the borders of the curl you just transformed as guidance. Fill the Shape layer with a white color (double click the layer icon).</p>
<h4>Step 3 &#8211; Add shading effect to the curl</h4>
<p><img title="Creating a page curl in Photoshop - Step 3" src="http://veerle.duoh.com/images/uploads/page-curl-howto3.jpg" alt="Creating a page curl in Photoshop - Step 3" width="640" height="281" /></p>
<p>Double click on the right of the Shape layer to active the Layer Styles. Check the Gradient Overlay option. Set the Angle of the gradient to 152° and click in the gradient to adjust the colors. Drag the stop swatches to the position shown in the image above and choose a grey for the left stop swatch (click once on the stop swatch and then once in the Color field). You can play around with the effect till you get the result you want. These numbers and info are just as a guidance and what I&#8217;ve used to achieve my result.</p>
<h4>Step 4 &#8211; Add shading effect to the image</h4>
<p><img title="Creating a page curl in Photoshop - Step 4" src="http://veerle.duoh.com/images/uploads/page-curl-howto4.jpg" alt="Creating a page curl in Photoshop - Step 4" width="640" height="281" /></p>
<p>To achieve an even more realistic effect, we add a depth/shading effect on the picture itself as well. Double click on the right of the layer that holds your picture to get to the Layer Styles options. Again, check the Gradient Overlay option. Set the Angle of the gradient to 152°, choose Multiply as Blend Mode (to filter out all the white) and click in the gradient to adjust the colors. Drag the stop swatches again as before to the position shown in the image above. As an extra you can check the Drop Shadow effect in the Layers Styles options as sort of realistic finishing touch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/design/creating-a-page-curl-in-photoshop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NetWorx – Free Bandwidth Monitoring and Usage Reporting</title>
		<link>http://www.kwestconsulting.com/pc-tools/networx-free-bandwidth-monitoring-and-usage-reporting</link>
		<comments>http://www.kwestconsulting.com/pc-tools/networx-free-bandwidth-monitoring-and-usage-reporting#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:29:11 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[PC Tools]]></category>
		<category><![CDATA[bandwidth]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=92</guid>
		<description><![CDATA[NetWorx is a simple and free, yet powerful tool that helps you objectively evaluate your bandwidth situation. You can use it to collect bandwidth usage data and measure the speed of your Internet or any other network connection. NetWorx can help you identify possible sources of network problems, ensure that you do not exceed the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NetWorx</strong> is a simple and free, yet powerful tool that helps you objectively evaluate your bandwidth situation. You can use it to collect bandwidth usage data and measure the speed of your Internet or any other network connection. NetWorx can help you identify possible sources of network problems, ensure that you do not exceed the bandwidth limits specified by your ISP, or track down suspicious network activity characteristic of Trojan horses and hacker attacks.</p>
<p>The program allows you to monitor all your network connections or a specific network connection (such as Ethernet or PPP) only. The software also features a system of highly customizable visual and sound alerts. You can set it up to alert you when the network connection is down or when some suspicious activity, such as unusually heavy data flow, occurs. It can also automatically disconnect all dialup connections and shut down the system.</p>
<p>The incoming and outgoing traffic is represented on a line chart and logged to a file, so that you can always view statistics about your daily, weekly and monthly bandwidth usage and dialup duration. The reports can be exported to a variety of formats, such as HTML, MS Word and Excel, for further analysis.</p>
<p><a href="http://www.softperfect.com/products/networx/" target="_blank">http://www.softperfect.com/products/networx/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/pc-tools/networx-free-bandwidth-monitoring-and-usage-reporting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Appointy Plugin (Appointment Scheduler)</title>
		<link>http://www.kwestconsulting.com/wordpress/plugins/appointy-plugin-appointment-scheduler</link>
		<comments>http://www.kwestconsulting.com/wordpress/plugins/appointy-plugin-appointment-scheduler#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:21:01 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[content management system]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=89</guid>
		<description><![CDATA[Accept appointments from your clients 24x7x365 on your blog. Unlike other calendar tools, this plugin allows your customers to book appointments with you directly from your blog. This service is brought to you by Appointy.com and it&#8217;s free! It has a very powerful and simple Ajax interface which allows one click booking. With just one [...]]]></description>
			<content:encoded><![CDATA[<p>Accept appointments from your clients 24x7x365 on your blog. Unlike other calendar tools, this plugin allows your customers to book appointments with you directly from your blog. This service is brought to you by Appointy.com and it&#8217;s free! It has a very powerful and simple Ajax interface which allows one click booking. With just one click your clients can see your availability in the entire month. Try and find yourself.</p>
<p>Features:</p>
<ol>
<li>Sends SMS alert to client prior to appointment.</li>
<li>2 Way Sync with Google calendar.</li>
<li>Supports multiple service booking.</li>
<li>Works at service level i.e. your staff can perform any service at any time on any weekday.</li>
<li>Powerful marketing tool to promote your services socially.</li>
<li>ICal support to sync outlook or any other iCal supporting application.</li>
<li>Allows you to accept pre-payments from your clients.</li>
<li>Can be customized easily to fit any business needs.</li>
<li>Can be used for service booking, resource booking, group booking and event booking.</li>
</ol>
<p>Check our Facebook Fan page and see what others say about us. <a href="http://www.facebook.com/pages/Appointy/142690834248">Click here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/wordpress/plugins/appointy-plugin-appointment-scheduler/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TDO Mini Forms Plugin</title>
		<link>http://www.kwestconsulting.com/wordpress/plugins/tdo-mini-forms-plugin</link>
		<comments>http://www.kwestconsulting.com/wordpress/plugins/tdo-mini-forms-plugin#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:16:04 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[content management system]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=84</guid>
		<description><![CDATA[This plugin allows you to add highly customisable forms that work with your WordPress Theme to your website that allows non-registered users and/or subscribers (also configurable) to submit and edit posts and pages. New posts are kept in &#8220;draft&#8221; until an admin can publish them (also configurable). Likewise edits can be kept be automatically kept [...]]]></description>
			<content:encoded><![CDATA[<p>This plugin allows you to add highly customisable forms that work with your WordPress Theme to your website that allows non-registered users and/or subscribers (also configurable) to submit and edit posts and pages. New posts are kept in &#8220;draft&#8221; until an admin can publish them (also configurable). Likewise edits can be kept be automatically kept as revisions until an admin approves them. It can optionally use Akismet to check if submissions and contributions are spam. TDO Mini Forms can be used to create &#8220;outside-the-box&#8221; uses for WordPress, from Contact Managers, Ad Managers, Collaborate Image Sites, Submit Links, etc.</p>
<p>TDO Mini Forms has been used to turn WordPress into a <a href="http://thedeadone.net/software/tdo-forum-wordpress-theme/">Forum</a>, <a href="http://www.slipfire.com/wp-crm-58.htm">Contact Manager</a>!</p>
<p>The plugin provides an extensive moderation view so administrators and editors can see posts and edits awaiting approval and publish or delete them. Administrators can also ban specific users and IPs from using the form. Administrators can also &#8220;Trust&#8221; specific users. This means that when they use the form, their posts are automatically published. This does not give them any other rights or permissions using the WordPress software, it only affects usage of the form. This applies to user and IP bans as well. There is even an option to automatically trust users after so many approved submissions and edits.</p>
<p>Administrators can configure the forms using drag and drop &#8220;widgets&#8221;. They are based on the same model as WordPress&#8217; built-in Theme widgets and it is possible to write your own.</p>
<p>Registered users have access to a &#8220;Your Submissions&#8221; page which lists their current submissions and edits awaiting approval and links to their approved submissions.</p>
<ul>
<li><a href="http://thedeadone.net/forums">Demo Site</a></li>
</ul>
<h4>Features</h4>
<ul>
<li>Submission and Editing of Posts and Pages</li>
<li>Integration with the GeoMashup plugin</li>
<li>Integration with Subcribe-to-Comments 2.1 plugin</li>
<li>Integration with Akismet and reCaptcha to prevent Spam</li>
<li>Highly customisable: Create your forms using a Widget interface and then hack it to make it work how you like!</li>
<li>Create as many forms as you like.</li>
<li>Import and Export form configurations</li>
<li>Put a form in your sidebar using a widget for your Theme or put the form in a page or post.</li>
<li>Submit posts with alternative permalinks (great for link sites)</li>
<li>Simple Question and/or Image Captcha.</li>
<li>Add Custom Fields to your Forms.</li>
<li>QuickTags support for Forms.</li>
<li>Upload Files and can be attached to posts. Uses WordPress&#8217; core to create thumbnails if applicable.</li>
<li>Submitters can be notified if post approved or rejected.</li>
<li>Allow users to select category and tags.</li>
<li>Ban users and IPs.</li>
<li>Control what roles can access the form.</li>
<li>Can automatically create a page with form for you.</li>
<li>Can automatically modified author template tag with info about submitter.</li>
<li>Can, optionally, automatically allow submissions to be published.</li>
<li>Throttle number of submissions by user and/or IP</li>
<li>Optionally queue publishing of posts </li>
<li>Numerous widgets for your theme, including a list of the top submitters</li>
<li>And many more&#8230;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/wordpress/plugins/tdo-mini-forms-plugin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Apps Email Hosting/Management, The Best of the Best</title>
		<link>http://www.kwestconsulting.com/email/google-apps-email-hosting-the-best-of-the-best</link>
		<comments>http://www.kwestconsulting.com/email/google-apps-email-hosting-the-best-of-the-best#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:09:47 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[google apps]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=77</guid>
		<description><![CDATA[If you have your own domain name, and purchase a shared hosting account for it, you can often create and host e-mail addresses for that domain with the web host. For example, the control panel on your web host (for me this is cPanel) might enable you to: create many addresses@yourdomain.com; check the mail directly [...]]]></description>
			<content:encoded><![CDATA[<p>If you have your own domain name, and purchase a shared hosting account for it, you can often create and host e-mail addresses for that domain with the web host. For example, the control panel on your web host (for me this is cPanel) might enable you to: create many addresses@yourdomain.com; check the mail directly on the server; check the mail remotely from a different web client or a desktop program; handle forwarding to other addresses; manage spam blocking; and more.</p>
<p><img src="http://www.theblog.ca/wp-content/uploads/2008/09/cpanel_email.png" alt="cPanel e-mail options" /></p>
<h3>Why e-mail hosting with you shared hosting provider is sub-optimal</h3>
<p>Hosting your e-mail on the same server as your website is often convenient. However, in the typical shared hosting environment, your messages might not always be sent and received in a timely and reliable manner. As good as my shared web host has been for serving web pages, I’d rather not use it for e-mail. Here are a few reasons why:</p>
<ul>
<li><strong>Clogged e-mail queues</strong>: With potentially hundreds of other people using the same machine as you, you have no idea as to whether one or all of those people (including regular new customers) is going to be a heavy e-mail user, or worse, a spammer. Therefore, with server resources trying to serve pages and unpredictable volumes of mail, it is more likely to get bogged down in a shared environment. I have experienced this many times, where people took hours to receive my mail or I was receiving their mail days after they’d sent it. Often this was due to only one other heavy user on the machine: they were spamming or had a script hacked, thus resulting in backed up e-mail processing queues.</li>
<li><strong>Blocked IP address</strong>: If you have a spammer on your machine, they don’t even need to be a heavy user to cause damage. If someone complains that spam is being sent from your server, external e-mail providers are often quick to temporarily block any mail coming from that server’s IP. This affects you even if your domain was not the problem. In that case, outgoing mail is definitely hindered but you might also have trouble receiving mail if you forward it somewhere else.</li>
<li><strong>Limited storage space</strong>: When you purchase shared hosting, you are often thinking about the space you need for your website. A typical blog with only text and pictures takes years to even use up 100mb of space. If you choose to leave e-mail on your server, you can quickly outgrow your hosting account based on e-mail alone.</li>
</ul>
<h3>Reasons to handle e-mail with Google Apps</h3>
<p><a title="Google wins again" href="http://www.google.com/apps">Google Apps</a> is a free service that can handle many aspects — most importantly for me is e-mail — associated with your domain. It is not a particularly new service, but I recently made the decision to switch my e-mail handling over to Google; it was painless and definitely worth it. Basically, you get the same e-mail access as with a normal <a title="I don't actually like the Gmail interface" href="http://www.gmail.com/">Gmail account</a>, but for addresses for your domain name (in other words, addresses@yourdomain.com are handled by Google). Your web host can then continue to serve web pages as usual.</p>
<p>There are many reasons for letting Google handle your e-mail:</p>
<ul>
<li><strong>Spread your risk</strong>: If your website is having troubles, your e-mail service can often (but not always, depending on your setup) continue to function normally with the external provider.</li>
<li><strong>Use Google’s infrastructure</strong>: Why bog down your server when you can let Google do all the heavy e-mail lifting? Say goodbye to clogged e-mail queues.</li>
<li><strong>Storage space</strong>: With Google currently offering more than 7 gigabytes for each e-mail account, this is twice the amount of space <em>per e-mail account</em> (and by default <a title="Google wins again" href="http://www.google.com/apps">Google Apps</a> gives you 100 accounts) than what I use for all of my websites combined.</li>
<li><strong>Gmail features, but no Gmail interface lock-in</strong>: Gmail has some really great features such as powerful filtering rules and a good anti-spam blocker. Plus, if you’re like me and don’t actually like the Gmail user interface, you can let Gmail handle the initial mail processing but then forward your mail elsewhere (in my case, that’s to <a title="It keeps on ticking" href="http://mail.yahoo.com/">Yahoo! Mail</a>). You can also configure external web and desktop clients to access your e-mail via the standard <a title="Post Office Protocol" href="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP</a> and <a title="Internet Message Access Protocol" href="http://en.wikipedia.org/wiki/Internet_Message_Access_Protocol">IMAP</a> protocols.</li>
<li><strong>Free yourself from other spammers on your web server</strong>: If Gmail users are using their accounts to spam, Google will theoretically deal with those users without affecting your service.</li>
</ul>
<h3>Setting up Google Apps for your domain</h3>
<p>I’m not going to go through each step for managing your domain’s e-mail through <a title="Google wins again" href="http://www.google.com/apps">Google Apps</a>, because it’s actually quite straightforward after you sign up.</p>
<p>In order to have your domain name automatically point to Google as the handler of all things e-mail, you need to change the <a title="Mail exchanger record" href="http://en.wikipedia.org/wiki/MX_record">MX records</a> through either your web host, your domain registrar, or your external DNS provider. There are <a title="Very good documentation" href="http://www.google.com/support/a/bin/answer.py?hl=en&amp;answer=33352">some great Google instructions</a> on this and there’s a good chance that they have instructions for your particular setup.</p>
<p>By default, your e-mail interface is then accessible via <em>http://mail.google.com/a/yourdomain.com</em>. However, <a title="I have a nice host at beachcomber.net" href="http://www.theblog.ca/wp-content/uploads/2008/09/beachcomber_service.png">with a bit of work</a> you can also redirect something like <em>http://webmail.yourdomain.com</em> there.</p>
<p><img src="http://www.theblog.ca/wp-content/uploads/2008/09/cname_instructions.png" alt="Instructions on adding a CNAME record" /></p>
<p>As I mentioned earlier, Google Apps usually lets you have 100 user accounts under one domain for free. Under the free service, you can also: add e-mail aliases (like having pete@yourdomain.com forward to the desired peter@yourdomain.com address); have synced domains (like having all configured users @yourdomain.com also work in a mirrored way for @yourdomain.ca); set up e-mail lists; take advantage of the other Google Apps for your domain such as Google Docs and Google Calendar; and more.</p>
<p>The Premium package costs $50 per user and gets you extra business features such as support, more storage, SSL enforcement, a single sign-on API, and no ads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/email/google-apps-email-hosting-the-best-of-the-best/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excellent Designs</title>
		<link>http://www.kwestconsulting.com/design/excellent-design-portfolios</link>
		<comments>http://www.kwestconsulting.com/design/excellent-design-portfolios#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:06:08 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[design ideas]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/uncategorized/excellent-design-portfolios</guid>
		<description><![CDATA[http://www.monsterinvasion.com/portfolio/web.aspx http://www.robertswygal.com/]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.monsterinvasion.com/portfolio/web.aspx">http://www.monsterinvasion.com/portfolio/web.aspx</a></li>
<li><a href="http://www.robertswygal.com/">http://www.robertswygal.com/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/design/excellent-design-portfolios/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Find and Replace Text in MySQL Database using SQL</title>
		<link>http://www.kwestconsulting.com/wordpress/how-to-find-and-replace-text-in-mysql-database-using-sql</link>
		<comments>http://www.kwestconsulting.com/wordpress/how-to-find-and-replace-text-in-mysql-database-using-sql#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:00:26 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mySQL]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=71</guid>
		<description><![CDATA[MySQL database has a handy and simple string function REPLACE() that allows table data with the matching string (from_string) to be replaced by new string (to_string). This is useful if there is need to search and replace a text string which affects many records or rows, such as change of company name, postcode, URL or [...]]]></description>
			<content:encoded><![CDATA[<p>MySQL database has a handy and simple string function REPLACE() that allows table data with the matching string (from_string) to be replaced by new string (to_string). This is useful if there is need to search and replace a text string which affects many records or rows, such as change of company name, postcode, URL or spelling mistake.</p>
<p>The syntax of REPLACE is REPLACE(text_string, from_string, to_string)</p>
<p>MySQL reference describes REPLACE as function that returns the string text_string with all occurrences of the string from_string replaced by the string to_string, where matching is case-sensitive when searching for from_string. text_string can be retrieved from the a field in the database table too. Most SQL command can be REPLACE() function, especially SELECT and UPDATE manipulation statement.</p>
<p>For example:</p>
<pre class="brush: sql; title: ; notranslate">
update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find this string’, ‘replace found string with this string’);
</pre>
<pre class="brush: sql; title: ; notranslate">
update client_table set company_name = replace(company_name, ‘Old Company’, ‘New Company’)
</pre>
<p>The above statement will replace all instances of ‘Old Company’ to ‘New Company’ in the field of company_name of client_table table.</p>
<p>Another example:</p>
<pre class="brush: sql; title: ; notranslate">
SELECT REPLACE(’www.mysql.com’, ‘w’, ‘Ww’);
</pre>
<p>Above statement will return ‘WwWwWw.mysql.com’ as result.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/wordpress/how-to-find-and-replace-text-in-mysql-database-using-sql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery Tools Library by Flowplayer</title>
		<link>http://www.kwestconsulting.com/javascript/jquery-tools-library-by-flowplayer</link>
		<comments>http://www.kwestconsulting.com/javascript/jquery-tools-library-by-flowplayer#comments</comments>
		<pubDate>Thu, 29 Oct 2009 17:53:58 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[coding standards]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=65</guid>
		<description><![CDATA[jQuery Tools is a collection of the most important user interface components for the web. These are tabs and accordions, tooltips, overlays, exposing effects and scrollables. They can dramatically improve the usability and responsiveness of your site. They mainly focus on presenting information and visual appeal. After all, this is exactly what most websites desperately [...]]]></description>
			<content:encoded><![CDATA[<p>jQuery Tools is a collection of the most important user interface components for the web. These are tabs and accordions, tooltips, overlays, exposing effects and scrollables. They can dramatically improve the usability and responsiveness of your site. They mainly focus on <strong>presenting information</strong> and<strong> visual appeal</strong>. After all, this is exactly what most websites desperately want: to present their content to the reader in an easy and visually pleasing manner.</p>
<p>Other JavaScript UI libraries focus on desktop-like features such as drag-and-drop, sliders, sortable tables or draggable windows. They are meant to build &#8220;rich internet applications&#8221; (RIAs) such as email clients, task managers, CRM software, image organizers or feed viewers. These kind of applications are very useful within a small group or when used in intranets; however, normal websites are very different in nature. Their purpose is to look good and present information. jQuery Tools are built exactly for that purpose.</p>
<p>It is recommended that you start designing your pages without using any JavaScript. There are many examples of highly functional, good looking and user friendly web sites that are not using JavaScript. The purpose of this library is to enhance an existing site with the great possibilities that modern JavaScript techniques has to offer. This is essentially the idea of &#8220;progressive enhancement&#8221; which is a common design pattern today. You should realize that highly professional sites don&#8217;t overuse JavaScript just for the fun of it. Scripting is only used when it truly makes the pages more readable and user friendly. This is where these tools comes in to play.</p>
<p>This library is not a framework with a steep learning curve, lots of preliminary work and strict coding rules. You are not tied to any predefined HTML or CSS structures. You can include the library on your pages and start using it immediately. You can freely design the look and feel of your site or you can use the desing we have on our demos as a template.</p>
<p>These tools can be easily combined. Think of scrollables that trigger overlays or overlays that contain scrollables together with tooltips or whatever combination you can imagine. The possibilities are endless. And if that is not enough, you can harness the enormous power of the jQuery library. Many times you see complex JavaScript components implemented that could be done with just a few lines of jQuery code. For many websites, this may be the only JavaScript library necessary.</p>
<p><a href="http://flowplayer.org/tools/using.html" target="_blank">http://flowplayer.org/tools/using.html</a></p>
<p>Tools include:</p>
<ul>
<li>tabs</li>
<li>tooltip</li>
<li>scrollable</li>
<li>overlay</li>
<li>expose</li>
<li>flashembed</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/javascript/jquery-tools-library-by-flowplayer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Query String Help</title>
		<link>http://www.kwestconsulting.com/code/php-query-string-help</link>
		<comments>http://www.kwestconsulting.com/code/php-query-string-help#comments</comments>
		<pubDate>Thu, 29 Oct 2009 17:45:11 +0000</pubDate>
		<dc:creator>kwestconsulting</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[coding standards]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.kwestconsulting.com/?p=58</guid>
		<description><![CDATA[Query strings play important role in building web applications, especially if you want to make nice urls without question mark and many key, value pairs, actually it is not so easy to design application with nice urls however it is always worth doing so, because it not only looks very proffessional, such URLs are search [...]]]></description>
			<content:encoded><![CDATA[<p>Query strings play important role in building web applications, especially if you want to make nice urls without question mark and many key, value pairs, actually it is not so easy to design application with nice urls however it is always worth doing so, because it not only looks very proffessional, such URLs are search engine friendly, which means that they will get indexed faster but also it happens that search engines have problems with indexing pages with more then 3 key=value pairs in query string.</p>
<p>However, one place where using nice URLs is not neccessary are all kinds of admin panels, there are usually only few admins and more over admin panel never gets indexed so it doesn’t make any sense to make those URLs search engine friendly.</p>
<p>Query string can be accessed thru global array $_SERVER, more specific $_SERVER['QUERY_STRING'] is the actual variable where query string is written, this variable contains all data that is inputed after question mark in the URL. For example if we have URL which looks like this:</p>
<p>http://someurl.com/page.php?a=1&#038;b=2&#038;c=3</p>
<p>Then echo $_SERVER['QUERY_STRING'] will display: a=1&amp;b=2&amp;c=3, such data is no use to us, we need to parse it, or get it thru global array $_GET, in our case we could write:</p>
<pre class="brush: php; title: ; notranslate">
echo $_GET['a'];
echo $_GET['b'];
echo $_GET['c'];
</pre>
<p>which would output:</p>
<pre class="brush: xml; title: ; notranslate">
1
2
3
</pre>
<p>Two things i have to mention here:<br />
- i do not recommend displaying variables passed by user withut checking if they contain potentially dangerous code.<br />
- make sure you have register_globals set to off in your ini file. If you do not have access to ini file, you can change this setting in your .htaccess file (if you have htaccess files working on your server). To do this just add following line php_flag register_globals off.</p>
<p>Using $_GET array to access variables from query string is pretty simple, however we would want to transform our URL to make it look like this:</p>
<p>http://someurl.com/1/2/3</p>
<p>This is very search engine friendly approach, however like always there are no roses without thorns. First problem is that $_SERVER['QUERY_STRING'] variable is empty now, so $_GET array is empty as well.</p>
<p>But first thing first, we can’t just input this URL in web browser address bar, hit enter and wait for a page to load. Probably it would end with 404 Error. To avoid this we need to create .htaccess file in the same directory as page.php file. Then open .htaccess file and write in it:</p>
<pre class="brush: php; title: ; notranslate">
RewriteEngine on
RewriteRule .* page.php
</pre>
<p>Now all requests to directory which contains file page.php will be redirected to page.php file. Pretty simple and we can now use URL without question mark or any other unwanted signs i provided earlier (e.g. http://someurl.com/1/2/3).</p>
<p>So as i said earlier now our $_GET array is empty, but fortunately we can still check what the URL looks like by writing this code:</p>
<pre class="brush: php; title: ; notranslate">
echo $_SERVER['REQUEST_URI'];
// output /1/2/3
</pre>
<p>Well, maybe URL looks pretty search engine friendly however id does not provide a lot of info as it did earlier. Unfortunately solution to this problem is beyond the scope of this article and i will give you only few guidlines: first you need to parse URL wit explode() to get array, then it will be good to assign some keys to each of the variable, but you always need to remember who is who, do not change order of parameters in the URL.</p>
<p>I covered only two types passing arguments to application with query string, there are other solutions as well, but i think that this two are the most common used and are actually the best when it comes to PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kwestconsulting.com/code/php-query-string-help/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

