<?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>webhank &#187; Web Development</title>
	<atom:link href="http://www.webhank.com/tag/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webhank.com</link>
	<description>my two cents - by Hank Pantier</description>
	<lastBuildDate>Wed, 04 Aug 2010 19:42:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Connecting to Magento via XML-RPC</title>
		<link>http://www.webhank.com/web-development/connecting-to-magento-via-xml-rpc?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=connecting-to-magento-via-xml-rpc</link>
		<comments>http://www.webhank.com/web-development/connecting-to-magento-via-xml-rpc#comments</comments>
		<pubDate>Thu, 12 Feb 2009 20:42:59 +0000</pubDate>
		<dc:creator>webhank</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.webhank.com/?p=194</guid>
		<description><![CDATA[I have been trying off and on for about a week to get a connection made to Magento&#8217;s API via a PHP script. Magento gives the following code snippet on their site, but I could not get it to work &#8211; souring the message boards didn&#8217;t really help either.  I am not sure if something [...]]]></description>
			<content:encoded><![CDATA[<p>I have been trying off and on for about a week to get a connection made to <a href="http://www.magentocommerce.com/support/magento_core_api">Magento&#8217;s API</a> via a PHP script.</p>
<p>Magento gives the following code snippet on their site, but I could not get it to work &#8211; souring the message boards didn&#8217;t really help either.  I am not sure if something was off with my installation instance or what.</p>
<div class="code php" style="font-family: monospace;">
<div class="code_bg">
<ol>
<li class="li1">
<div class="de1"><span class="re0">$client</span> = <span class="kw2">new</span> Zend_XmlRpc_Client<span class="br0">(</span><span class="st0">&#8216;http://youmagentohost/api/xmlrpc/&#8217;</span><span class="br0">)</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// If somestuff requires api authentification,</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// we should get session token</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$session</span> = <span class="re0">$client</span>-&gt;<span class="me1">call</span><span class="br0">(</span><span class="st0">&#8216;login&#8217;</span>, <span class="kw3">array</span><span class="br0">(</span><span class="st0">&#8216;apiUser&#8217;</span>, <span class="st0">&#8216;apiKey&#8217;</span><span class="br0">)</span><span class="br0">)</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$client</span>-&gt;<span class="me1">call</span><span class="br0">(</span><span class="st0">&#8216;call&#8217;</span>, <span class="kw3">array</span><span class="br0">(</span><span class="re0">$session</span>, <span class="st0">&#8216;somestuff.method&#8217;</span>, <span class="kw3">array</span><span class="br0">(</span><span class="st0">&#8216;arg1&#8242;</span>, <span class="st0">&#8216;arg2&#8242;</span>, <span class="st0">&#8216;arg3&#8242;</span><span class="br0">)</span><span class="br0">)</span><span class="br0">)</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$client</span>-&gt;<span class="me1">call</span><span class="br0">(</span><span class="st0">&#8216;call&#8217;</span>, <span class="kw3">array</span><span class="br0">(</span><span class="re0">$session</span>, <span class="st0">&#8216;somestuff.method&#8217;</span>, <span class="st0">&#8216;arg1&#8242;</span><span class="br0">)</span><span class="br0">)</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$client</span>-&gt;<span class="me1">call</span><span class="br0">(</span><span class="st0">&#8216;call&#8217;</span>, <span class="kw3">array</span><span class="br0">(</span><span class="re0">$session</span>, <span class="st0">&#8216;somestuff.method&#8217;</span><span class="br0">)</span><span class="br0">)</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$client</span>-&gt;<span class="me1">call</span><span class="br0">(</span><span class="st0">&#8216;multiCall&#8217;</span>, <span class="kw3">array</span><span class="br0">(</span><span class="re0">$session</span>,</div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">array</span><span class="br0">(</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">array</span><span class="br0">(</span><span class="st0">&#8216;somestuff.method&#8217;</span>, <span class="st0">&#8216;arg1&#8242;</span><span class="br0">)</span>,</div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">array</span><span class="br0">(</span><span class="st0">&#8216;somestuff.method&#8217;</span>, <span class="kw3">array</span><span class="br0">(</span><span class="st0">&#8216;arg1&#8242;</span>, <span class="st0">&#8216;arg2&#8242;</span><span class="br0">)</span><span class="br0">)</span>,</div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">array</span><span class="br0">(</span><span class="st0">&#8216;somestuff.method&#8217;</span><span class="br0">)</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">)</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">)</span><span class="br0">)</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// If you don&#8217;t need the session anymore</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$client</span>-&gt;<span class="me1">call</span><span class="br0">(</span><span class="st0">&#8216;endSession&#8217;</span>, <span class="kw3">array</span><span class="br0">(</span><span class="re0">$session</span><span class="br0">)</span><span class="br0">)</span>;</div>
</li>
</ol>
</div>
</div>
<p>After a bunch of trial and error &#8211; scouring the web etc &#8211; i was finally able to make a connection with the following script</p>
<pre>&lt;?php
ini_set("display_errors", 1);
error_reporting(E_ALL);
define("XMLRPC_DEBUG", 1);

require_once('../app/Mage.php');
$client = new Zend_XmlRpc_Client('http://www.domain.com/api/xmlrpc');

// If somestuff requires api authentification, we should get session token
$session = $client-&gt;call('login', array('user', 'key'));

echo "&lt;pre&gt;";
print_r($session);
echo "&lt;/pre&gt;";

// If you don't need the session anymore
$client-&gt;call('endSession', array($session));
?&gt;</pre>
<p>one strange thing to note is the path to the API &#8211; with a trailing slash, i could not get this to work&#8230;&#8217;</p>
<p>I hope that this helps someone else out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhank.com/web-development/connecting-to-magento-via-xml-rpc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5 Debut</title>
		<link>http://www.webhank.com/web-development/wordpress-25-debut?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-25-debut</link>
		<comments>http://www.webhank.com/web-development/wordpress-25-debut#comments</comments>
		<pubDate>Sun, 30 Mar 2008 15:19:45 +0000</pubDate>
		<dc:creator>webhank</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webhank.com/?p=41</guid>
		<description><![CDATA[well it finally happened after what seems like a rather long wait, WordPress 2.5 with its completely re-designed admin system is hot off the presses and ready to install.  I have done the upgrade on a handful of blogs and sites so far and it&#8217;s been seamless.  I am very impressed with the new admin [...]]]></description>
			<content:encoded><![CDATA[<p>well it finally happened after what seems like a rather long wait, WordPress 2.5 with its completely re-designed admin system is hot off the presses and ready to install.  I have done the upgrade on a handful of blogs and sites so far and it&#8217;s been seamless.  I am very impressed with the new admin &#8211; all in all it&#8217;s taken a product that I think is great and only made it better.</p>
<p>Great Job!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhank.com/web-development/wordpress-25-debut/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5 Admin</title>
		<link>http://www.webhank.com/web-development/wordpress-25-admin?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-25-admin</link>
		<comments>http://www.webhank.com/web-development/wordpress-25-admin#comments</comments>
		<pubDate>Wed, 19 Mar 2008 16:24:49 +0000</pubDate>
		<dc:creator>webhank</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webhank.com/?p=36</guid>
		<description><![CDATA[So i installed WordPress 2.5 release candidate 1 on this site so that i can familiarize myself with the new features, and I have to say, my first reaction is WOW!  The new admin is a much cleaner look and feel.  The new functionality is amazing.  There is integrated support for video, all I can [...]]]></description>
			<content:encoded><![CDATA[<p>So i installed <a title="Link to WordPress 2.5 release candidate 1" href="http://wordpress.org/development/2008/03/25-sneak-peek/" target="_blank">WordPress 2.5 release candidate 1</a> on this site so that i can familiarize myself with the new features, and I have to say, my first reaction is WOW!  The new admin is a much cleaner look and feel.  The new functionality is amazing.  There is integrated support for video, all I can say is I can&#8217;t wait until this is available as a full release.  It&#8217;s going to knock people&#8217;s socks off!</p>
<p>Way to go WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhank.com/web-development/wordpress-25-admin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5 sneak peak</title>
		<link>http://www.webhank.com/web-development/wordpress-25-sneak-peak?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-25-sneak-peak</link>
		<comments>http://www.webhank.com/web-development/wordpress-25-sneak-peak#comments</comments>
		<pubDate>Wed, 19 Mar 2008 00:01:14 +0000</pubDate>
		<dc:creator>webhank</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.webhank.com/web-development/wordpress-25-sneak-peak</guid>
		<description><![CDATA[http://wordpress.org/development/2008/03/25-sneak-peek/ sounds cool &#8211; i can hardly wait.]]></description>
			<content:encoded><![CDATA[<p>http://wordpress.org/development/2008/03/25-sneak-peek/</p>
<p>sounds cool &#8211; i can hardly wait.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhank.com/web-development/wordpress-25-sneak-peak/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifications to Media Temple DV default configurations</title>
		<link>http://www.webhank.com/web-development/modifications-to-media-temple-dv-default-configurations?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=modifications-to-media-temple-dv-default-configurations</link>
		<comments>http://www.webhank.com/web-development/modifications-to-media-temple-dv-default-configurations#comments</comments>
		<pubDate>Fri, 14 Mar 2008 18:04:43 +0000</pubDate>
		<dc:creator>webhank</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Media Temple]]></category>

		<guid isPermaLink="false">http://www.webhank.com/web-development/modifications-to-media-temple-dv-default-configurations</guid>
		<description><![CDATA[At Invisible Window we have been hosting our client sites in addition to our own with Media Temple for quite some time. Media Temple&#8217;s service and support has been top-notch. There are a few things that we&#8217;ve had to figure out along the way and I hope that these links help someone else out there. [...]]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://www.invisiblewindow.com" title="Web development with Invisible Window" target="_blank">Invisible Window</a> we have been hosting our client sites in addition to our own with <a href="http://mediatemple.net/" title="Media Temple Hosting" target="_blank">Media Temple</a> for quite some time.  Media Temple&#8217;s service and support has been top-notch.  There are a few things that we&#8217;ve had to figure out along the way and I hope that these links help someone else out there.</p>
<ol>
<li><strong>Disable root ssh access: </strong>instructions for disabling the root user and allowing another user to assume the root users permissions. This adds a layer of security requiring an additional username and password to be entered before gaining root user privileges.<br />
<a href="http://kb.mediatemple.net/article.php?id=713" title="Media Temple Knowledge Base Article on removing root ssh access" target="_blank">Media Temple Knowledge Base Article</a></li>
<li><strong>Performance Tuning: </strong>This article summarizes ways to optimize your (dv) to run with less memory / resources, increase stability, and to ensure higher availability under heavier loads.<br />
<a href="http://kb.mediatemple.net/article.php?id=771" title="Performance tuning a Media Temple DV server" target="_blank"> Media Temple Knowledge Base Article</a></li>
<li><strong>Raise Courier-IMAP Connections: </strong>Seeing this message when accessing your email? &#8220;Unable to connect to your IMAP server. You may have exceeded the maximum number of connections to this server.&#8221;By default, Plesk and the Courier-IMAP e-mail server drastically limit the number of inbound connections to prevent users from opening up too many concurrent sessions. Unfortunately, this restriction can impact legitimate users who have multiple computers connecting to the Courier-IMAP server.<br />
<a href="http://kb.mediatemple.net/article.php?id=259" title="change coruier-IMAP connections on a Media Temple Dedicated Virtual server" target="_blank"> Media Temple Knowledge Base Article</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.webhank.com/web-development/modifications-to-media-temple-dv-default-configurations/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;Best Of&#8221; Design Sites</title>
		<link>http://www.webhank.com/web-development/best-of-design-sites?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=best-of-design-sites</link>
		<comments>http://www.webhank.com/web-development/best-of-design-sites#comments</comments>
		<pubDate>Mon, 03 Mar 2008 18:58:57 +0000</pubDate>
		<dc:creator>webhank</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Cool Sites]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.webhank.com/design/best-of-design-sites</guid>
		<description><![CDATA[I use Flock as my default web browser. One of the (many) cool things that Flock does is allows a user to set multiple home pages each opening in their own tab. Mine opens 9. Maybe that&#8217;s a bit excessive, but those automatic 9 tabs give me a great way to stay on top of [...]]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://flock.com/">Flock</a> as my default web browser.  One of the (many) cool things that Flock does is allows a user to set multiple home pages each opening in their own tab.  Mine opens 9.  Maybe that&#8217;s a bit excessive, but those automatic 9 tabs give me a great way to stay on top of some of the sites that I like to visit each day.  Many of these sites are design or development oriented, so here is a post outlining five of those tabs, all of which relate to design.</p>
<p>Each of these sites is similar in the fact that they&#8217;re all basically just blogs but they all showcase (most on a daily basis) sites that have been designed well.  Here is a break down of each site and my two cents about it.</p>
<p><img src="http://pantier.com/hank/hanks_blog/images/screenfluent.png" alt="screenfluent Best Of Design Sites" class="mt-image-left" style="margin: 0pt 20px 20px 0pt; float: left" height="72" width="255" title="Best Of Design Sites" /><strong> Screen</strong><strong>fluent<br />
</strong><a href="http://screenfluent.com/">www.screenfluent.com</a><br />
I find more cool sites using Screenfluent than any of the others.  Screenfluent is updated on a regular basis (daily most of the time) and features over 6700 sites as of today.  Designs tend to be crisp and clean, many are standards based although some full flash sites get featured as well.  Sites may not be submitted to Screenfluent, as the site states &#8220;the featured sites are handpicked and proposals are not accepted. as<br />
legend has it, remarkable designs will find their way to screenfluent.&#8221;</p>
<p><img src="http://pantier.com/hank/hanks_blog/images/best-web-gallery.png" alt="best web gallery Best Of Design Sites" class="mt-image-left" style="margin: 0pt 20px 20px 0pt; float: left" height="72" width="255" title="Best Of Design Sites" /><strong>Be</strong><strong>st Web Gallery</strong><br />
<a href="http://www.bestwebgallery.com/">www.bestwebgallery.com</a><br />
As Best Web Gallery says of itself &#8220;Best Web Gallery is an inspirational gallery site where we collect a<br />
wide range of quality design websites (Flash &amp; CSS). What is<br />
quality design means to us?</p>
<p class="quality">Quality Design = Visual + Technical + Creativity&#8221;  This site has a great layout and design and allows users may <a href="http://bestwebgallery.com/submit/">submit their site to Best Web Gallery</a>.</p>
<p><img src="http://pantier.com/hank/hanks_blog/images/css-beauty.png" alt="css beauty Best Of Design Sites" class="mt-image-left" style="margin: 0pt 20px 20px 0pt; float: left" height="72" width="255" title="Best Of Design Sites" /><strong>CSS Beauty</strong><br />
<a href="http://www.cssbeauty.com/">www.cssbeauty.com</a><br />
This site differs from the last few in that while it touches on design, it&#8217;s more technically driven.  CSS Beauty links to articles on AJAX, cross browser issues, standards compliance, and good articles about the future of the web.  If you lean towards the more geeky side of design and development, this site is a must bookmark for you &#8211; the archives might even have the answer to that issue that&#8217;s been giving you fits.</p>
<p><img src="http://pantier.com/hank/hanks_blog/images/the-best-designs.png" alt="the best designs Best Of Design Sites" class="mt-image-left" style="margin: 0pt 20px 20px 0pt; float: left" height="72" width="255" title="Best Of Design Sites" /><strong>The Best Designs</strong></p>
<p><a href="http://www.thebestdesigns.com/">www.thebestdesigns.com</a><br />
The Best Designs, like some of the previously mentioned sites exhibits nicely designed sites, but where it differs is that it also features designers.  Site visitors may <a href="http://thebestdesigns.com/submit">submit a site</a> or also <a href="http://thebestdesigns.com/submit-firm">suggest a designer</a>.  Most of the sites featured on The Best Designs tend to be unique, and not found on the previously mentioned site indexes.</p>
<p><img src="http://pantier.com/hank/hanks_blog/images/styleboost.png" alt="styleboost Best Of Design Sites" class="mt-image-left" style="margin: 0pt 20px 20px 0pt; float: left" height="72" width="255" title="Best Of Design Sites" /><strong>Styleboost</strong></p>
<p><a href="http://www.styleboost.com/">www.styleboost.com</a><br />
Truthfully, Styleboost is not updated on a regular basis (maybe weekly at best) and I am not drawn to all of the sites that they select to show, but they do come up with some gems, and they have a really cool <a href="http://styleboost.com/colors/">color sorter</a> that allows you to view sites by what colors they contain.</p>
<p>So there it is 5 of my 9 tabs&#8230;what are the other 4?  Maybe in another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webhank.com/web-development/best-of-design-sites/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

