<?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 12:16:38 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian Swan's Blog: CRUD Operations with the OData SDK for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14241</guid>
      <link>http://www.phpdeveloper.org/news/14241</link>
      <description><![CDATA[<p>
<i>Brian Swan</i> continues his look at using the oData data feeds from PHP with <a href="http://blogs.msdn.com/brian_swan/archive/2010/03/23/crud-operations-with-the-odata-sdk-for-php.aspx">this new look</a> at creating some of the basic CRUD (create, read, update, delete) operations via the <a href="http://odataphp.codeplex.com/">oData SDK for PHP</a>.
</p>
<blockquote>
This week I will go one step farther and look at how to perform CREATE, UPDATE, and DELETE operations (CRUD operations) with the generated classes. Of course, this means that I need access to a read-write service, so before writing PHP code for CRUD operations, I'll walk you through the steps for creating a service that implements the OData protocol. 
</blockquote>
<p>
He shows how to create the oData service (with a few screenshots), making the proxy classes for the connection and using methods like "AddObject", "UpdateObject" and "DeleteObject" to work directly with the data feed.
</p>]]></description>
      <pubDate>Wed, 24 Mar 2010 11:17:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Abhinav Singh's Blog: How to use locks for assuring atomic operation in Memcached? ]]></title>
      <guid>http://www.phpdeveloper.org/news/13648</guid>
      <link>http://www.phpdeveloper.org/news/13648</link>
      <description><![CDATA[<p>
In <a href="http://abhinavsingh.com/blog/2009/12/how-to-use-locks-for-assuring-atomic-operation-in-memcached/">a new post to his blog</a> <i>Abhinav Singh</i> shows you how to create a simple application that uses the memcached atomic increment command to help prevent concurrency issues.
</p>
<blockquote>
Memcached provide atomic increment and decrement commands to manipulate integer (key,value) pairs. However special care should be taken to ensure application performance and possible race conditions while using memcached. In this blog post, I will first build a facebook style "like" application using atomic increment command of memcached. Also, I will discuss various technical difficulty one would face while ensuring atomicity in this application. Finally, I will demo how to ensure atomicity over a requested process using custom locks in memcached.
</blockquote>
<p>
Example code is included to show how you can take a normal "store to memcached" example and modify it with the increment method to resolve issues that might come up from one or more scripts trying to get at the same values. He also includes an example of using locking to provide a similar effect.
</p>]]></description>
      <pubDate>Wed, 09 Dec 2009 11:20:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Building semantic Web CRUD operations using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11468</guid>
      <link>http://www.phpdeveloper.org/news/11468</link>
      <description><![CDATA[<p>
IBM developerWorks has <a href="http://www.ibm.com/developerworks/opensource/library/os-php-crud/index.html?ca=drs-tp4808">this new tutorial</a> they recently posted looking at making a semantic CRUD (create, read, update, delete) application that uses MySQL and SPARQL.
</p>
<blockquote>
Create, Read, Update, and Delete (CRUD) operations are the most basic database operations, but they are also the most crucial. CRUD operations are typically done using the Structured Query Language (SQL) on relational database systems. As the Web is becoming more and more data-oriented, there is a need to shift from SQL-based CRUD operations to semantic Web-based CRUD operations. Learn how to use PHP to perform CRUD operations over the semantic Web.
</blockquote>
<p>
They include the SQL code for both sides (MySQL/SPARQL) on each of the CRUD steps. They take these and show how to plug them in to a PHP SQL call and briefly mention abstraction and a few reasons why you might want to move to SPARQL.
</p>]]></description>
      <pubDate>Fri, 28 Nov 2008 08:50:06 -0600</pubDate>
    </item>
  </channel>
</rss>
