<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 19:26:57 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Auth Mechanisms for Web Services]]></title>
      <guid>http://www.phpdeveloper.org/news/12443</guid>
      <link>http://www.phpdeveloper.org/news/12443</link>
      <description><![CDATA[<p>
In <a href="http://www.lornajane.net/posts/2009/Auth-Mechanisms-for-Web-Services">this new post</a> to her blog <i>Lorna Mitchell</i> looks at authentication in web services with a few questions for you to consider as you make your development plans.
</p>
<blockquote>
Quite a lot of services don't require any authentication at all, similar to quite a lot of the web. In either setting, the information is there for users to consume when they want. However the difference comes when services start doing more than making data available. If changes can be effected by the service, then we need to identify who is requesting the change.
</blockquote>
<p>
She notes that one popular method is the tried-and-true username and password combination. This simple (and familiar) technique can even make the load lighter on your application, reducing the complexity of the authorization process. She suggests using a token to identify your users once they've authenticated, providing a simple and secure method for user tracking.
</p>
<blockquote>
With this information being independent and just used to verify the user, there is also the option of storing this in an alternative, faster, mechanism such as memcache.
</blockquote>]]></description>
      <pubDate>Fri, 01 May 2009 14:28:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: Memcached consistent hashing mechanism]]></title>
      <guid>http://www.phpdeveloper.org/news/11619</guid>
      <link>http://www.phpdeveloper.org/news/11619</link>
      <description><![CDATA[<p>
The PHP::Impact blog has <a href="http://phpimpact.wordpress.com/2008/12/24/memcached-consistent-hashing-mechanism/">a recommendation</a> for those using the memcache functions in their PHP applications - be sure your hashing strategy matches what your script does.
</p>
<blockquote>
If you are using the Memcache functions through a PECL extension, you can set global runtime configuration options by specifying the values within your php.ini file. One of them is memcache.hash_strategy. This option sets the hashing mechanism used to select and specifies which hash strategy to use: Standard (default) or Consistent.
</blockquote>
<p>
The recommendation is to set it to consistent to allow for the most flexibility on adding and removing servers from the caching server pool without the need for outside intervention.
</p>]]></description>
      <pubDate>Wed, 24 Dec 2008 10:21:34 -0600</pubDate>
    </item>
  </channel>
</rss>
