<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: JQGrid w/out SQL -&#62; Use JSON file on server</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on JQGrid w/out SQL -&#62; Use JSON file on server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server#p23821</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server#p23821</guid>
        	        	<description><![CDATA[<p>I recommend you to use file instead of the database only in case of grid which has <strong>no editing</strong> features.</p>
<p>If you do want use JSON-file for editing the server code have to lock the file during the file modification. The exact implementation are depend on the language which you use.</p>
<p>The implementation of concurency is not exist per default if you use and database. Look at <a href="http://stackoverflow.com/questions/2658443/concurrency-handling/2663654#2663654" target="_blank">here</a> to understand which things should be done to implement <strong>optimistic concurrency</strong>.</p>
]]></description>
        	        	<pubDate>Thu, 30 Jun 2011 17:16:08 +0300</pubDate>
        </item>
        <item>
        	<title>b0ot on JQGrid w/out SQL -&#62; Use JSON file on server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server#p23819</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server#p23819</guid>
        	        	<description><![CDATA[<p>OlegK, Thanks for the response but it made me think of a couple of questions I had.</p>
</p>
<p>=&#62; If you allow the cells to be editable in the grid, with this also change the JSON file on the server when the changes were saved?</p>
<p>=&#62; What would happen if another user edited the grid while I was viewing it, would the changes immediately be shown on my view?</p>
<p>=&#62; (Similar) If the server modified the JSON file (I have bash scripts that occasionally change my JSON files) would the user see the changes right away.</p>
]]></description>
        	        	<pubDate>Thu, 30 Jun 2011 16:57:54 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on JQGrid w/out SQL -&#62; Use JSON file on server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server#p23817</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server#p23817</guid>
        	        	<description><![CDATA[<p>You can just save the JSON data in the file. Depend on the jQuery version and from the settings on your web server it can be important which file extenstion you choose for the file having JSON data. Try to use .json file extension. See <a href="http://www.ok-soft-gmbh.com/jqGrid/OptGroup.htm" target="_blank">the demo</a> which use <a href="http://www.ok-soft-gmbh.com/jqGrid/OptGroupGrid.json" target="_blank">the JSON file</a> as an example.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Thu, 30 Jun 2011 16:49:08 +0300</pubDate>
        </item>
        <item>
        	<title>b0ot on JQGrid w/out SQL -&#62; Use JSON file on server</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server#p23816</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-wout-sql-use-json-file-on-server#p23816</guid>
        	        	<description><![CDATA[<p>I was hoping someone might be able to explain how I could bypass having a MySQL (or other type of database) with JQGrid and just directly read/write to a JSON file that lives on the server.</p>
]]></description>
        	        	<pubDate>Thu, 30 Jun 2011 16:23:05 +0300</pubDate>
        </item>
</channel>
</rss>