<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Address Book - AIR SQLite example application</title>
	<atom:link href="http://probertson.com/projects/addressbook/feed/" rel="self" type="application/rss+xml" />
	<link>http://probertson.com</link>
	<description>Thoughts on web development, user-centered design, code, etc. by Paul Robertson</description>
	<lastBuildDate>Wed, 16 May 2012 17:16:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Varun</title>
		<link>http://probertson.com/projects/addressbook/#comment-85680</link>
		<dc:creator>Varun</dc:creator>
		<pubDate>Tue, 08 Mar 2011 20:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-85680</guid>
		<description>Hi
Paul Robertson,
Thanks a lot...Nice Presentation :):):)</description>
		<content:encoded><![CDATA[<p>Hi<br />
Paul Robertson,<br />
Thanks a lot&#8230;Nice Presentation :):):)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Robertson</title>
		<link>http://probertson.com/projects/addressbook/#comment-85254</link>
		<dc:creator>Paul Robertson</dc:creator>
		<pubDate>Mon, 28 Feb 2011 21:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-85254</guid>
		<description>Hi Varun,

Since an AIR SQLite database is just a file on the filesystem, the easiest way to back it up is to just copy the file to somewhere else. You&#039;ll want to do that when the database connection is closed to make sure the database isn&#039;t in the middle of a transaction.

As for using MySQL with Adobe AIR, most often you&#039;ll do that with a MySQL database that&#039;s hosted on a server on the web somewhere. You&#039;ll use some sort of server middleware like PHP, ColdFusion, etc. to go between your AIR app and the database. This is exactly the same as how you would use MySQL with any Flex or Flash app, so you should be able to find plenty of resources online. (I did  &lt;a href=&quot;http://probertson.com/articles/2006/05/31/flash-data-presentation-files/&quot; rel=&quot;nofollow&quot;&gt;a presentation on this several years ago&lt;/a&gt;. The concepts are the same, but a fair amount has changed since then in terms of actual implementation so you&#039;ll probably want to look for a more recent tutorial.)

Some people have wanted to use MySQL running on a user&#039;s local machine as a data source for an AIR app without needing a middle-tier. This was mostly in the early alpha days before the SQLite functionality was added, but the assql (http://code.google.com/p/assql/) project attempts to support that workflow.</description>
		<content:encoded><![CDATA[<p>Hi Varun,</p>
<p>Since an AIR SQLite database is just a file on the filesystem, the easiest way to back it up is to just copy the file to somewhere else. You&#8217;ll want to do that when the database connection is closed to make sure the database isn&#8217;t in the middle of a transaction.</p>
<p>As for using MySQL with Adobe AIR, most often you&#8217;ll do that with a MySQL database that&#8217;s hosted on a server on the web somewhere. You&#8217;ll use some sort of server middleware like PHP, ColdFusion, etc. to go between your AIR app and the database. This is exactly the same as how you would use MySQL with any Flex or Flash app, so you should be able to find plenty of resources online. (I did  <a href="http://probertson.com/articles/2006/05/31/flash-data-presentation-files/" rel="nofollow">a presentation on this several years ago</a>. The concepts are the same, but a fair amount has changed since then in terms of actual implementation so you&#8217;ll probably want to look for a more recent tutorial.)</p>
<p>Some people have wanted to use MySQL running on a user&#8217;s local machine as a data source for an AIR app without needing a middle-tier. This was mostly in the early alpha days before the SQLite functionality was added, but the assql (<a href="http://code.google.com/p/assql/" rel="nofollow">http://code.google.com/p/assql/</a>) project attempts to support that workflow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Varun</title>
		<link>http://probertson.com/projects/addressbook/#comment-85229</link>
		<dc:creator>Varun</dc:creator>
		<pubDate>Mon, 28 Feb 2011 12:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-85229</guid>
		<description>Thanks a lots.its really Good,can u tell me how to backup database.Actually I like to Add Backup option in this app. And How to use Mysql with AdobeAir app</description>
		<content:encoded><![CDATA[<p>Thanks a lots.its really Good,can u tell me how to backup database.Actually I like to Add Backup option in this app. And How to use Mysql with AdobeAir app</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://probertson.com/projects/addressbook/#comment-77883</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 27 Sep 2010 16:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-77883</guid>
		<description>@kishi:

There are some important differences between working with databases in synchronous versus asynchronous mode. Some things &quot;just work&quot; when you switch between them but I&#039;m not surprised that for a whole application it doesn&#039;t work.

If you&#039;d like to see a comparison between the two or see examples of using synchronous execution, you might want to take a look at these two examples/articles I wrote for the Adobe Developer Center. They are identical except that one uses synchronous execution and one uses asynch:


  &lt;a href=&quot;http://www.adobe.com/devnet/air/flex/quickstart/articles/simple_sql_database.html&quot; rel=&quot;nofollow&quot;&gt;Working asynchronously with a local SQL database&lt;/a&gt;
  &lt;a href=&quot;http://www.adobe.com/devnet/air/flex/quickstart/articles/sync_simple_sql_database.html&quot; rel=&quot;nofollow&quot;&gt;Working synchronously with a local SQL database&lt;/a&gt;



However, I would also recommend that you give some thought to the question of why you want to use synchronous instead of asynchronous execution. For simple things synch code is easier to write and smaller. However, once you get to &quot;real world&quot; levels of complexity the benefits of using synch execution quickly disappear compared to the downsides, and you&#039;ll likely end up rewriting your code using asynch anyway.

That&#039;s one of the reasons I created my &quot;&lt;a href=&quot;/projects/air-sqlite/&quot; rel=&quot;nofollow&quot;&gt;SQLRunner&lt;/a&gt;&quot; library -- it removes a lot of the pain of the asynch approach (the many event handlers that are required for most actions) so you can execute your SQL in just a couple of lines of code and still get the benefits of using asynch execution, reusing objects, etc.</description>
		<content:encoded><![CDATA[<p>@kishi:</p>
<p>There are some important differences between working with databases in synchronous versus asynchronous mode. Some things &#8220;just work&#8221; when you switch between them but I&#8217;m not surprised that for a whole application it doesn&#8217;t work.</p>
<p>If you&#8217;d like to see a comparison between the two or see examples of using synchronous execution, you might want to take a look at these two examples/articles I wrote for the Adobe Developer Center. They are identical except that one uses synchronous execution and one uses asynch:</p>
<p>  <a href="http://www.adobe.com/devnet/air/flex/quickstart/articles/simple_sql_database.html" rel="nofollow">Working asynchronously with a local SQL database</a><br />
  <a href="http://www.adobe.com/devnet/air/flex/quickstart/articles/sync_simple_sql_database.html" rel="nofollow">Working synchronously with a local SQL database</a></p>
<p>However, I would also recommend that you give some thought to the question of why you want to use synchronous instead of asynchronous execution. For simple things synch code is easier to write and smaller. However, once you get to &#8220;real world&#8221; levels of complexity the benefits of using synch execution quickly disappear compared to the downsides, and you&#8217;ll likely end up rewriting your code using asynch anyway.</p>
<p>That&#8217;s one of the reasons I created my &#8220;<a href="/projects/air-sqlite/" rel="nofollow">SQLRunner</a>&#8221; library &#8212; it removes a lot of the pain of the asynch approach (the many event handlers that are required for most actions) so you can execute your SQL in just a couple of lines of code and still get the benefits of using asynch execution, reusing objects, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kishi</title>
		<link>http://probertson.com/projects/addressbook/#comment-77829</link>
		<dc:creator>kishi</dc:creator>
		<pubDate>Sat, 25 Sep 2010 03:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-77829</guid>
		<description>oh..sorry, I want to know synchronize , I said opposited in my last comment</description>
		<content:encoded><![CDATA[<p>oh..sorry, I want to know synchronize , I said opposited in my last comment</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kishi</title>
		<link>http://probertson.com/projects/addressbook/#comment-77828</link>
		<dc:creator>kishi</dc:creator>
		<pubDate>Sat, 25 Sep 2010 03:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-77828</guid>
		<description>Thanks a lots. I learned more about SQLite . The database use synchronize,when I change open to openaSync,it doesn&#039;t work,would you like to show me how to use asynchronize way and its different?</description>
		<content:encoded><![CDATA[<p>Thanks a lots. I learned more about SQLite . The database use synchronize,when I change open to openaSync,it doesn&#8217;t work,would you like to show me how to use asynchronize way and its different?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nuwan</title>
		<link>http://probertson.com/projects/addressbook/#comment-73392</link>
		<dc:creator>Nuwan</dc:creator>
		<pubDate>Tue, 16 Feb 2010 09:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-73392</guid>
		<description>Thanks a lot!!!</description>
		<content:encoded><![CDATA[<p>Thanks a lot!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caixun</title>
		<link>http://probertson.com/projects/addressbook/#comment-71745</link>
		<dc:creator>caixun</dc:creator>
		<pubDate>Tue, 05 Jan 2010 06:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-71745</guid>
		<description>i cann&#039;t run it at local!
i create a new flex Air project,and then copy the src into project&#039;s file. cannt run it .what&#039;s going on ?</description>
		<content:encoded><![CDATA[<p>i cann&#8217;t run it at local!<br />
i create a new flex Air project,and then copy the src into project&#8217;s file. cannt run it .what&#8217;s going on ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anand K</title>
		<link>http://probertson.com/projects/addressbook/#comment-66687</link>
		<dc:creator>Anand K</dc:creator>
		<pubDate>Fri, 18 Sep 2009 12:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-66687</guid>
		<description>@robert,
First create new flex AIR project, then copy the com folder into the src folder of your project and copy the mxml file&#039;s code into your project&#039;s mxml file. Now, you will be able to run the application...
&amp; its working great.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>@robert,<br />
First create new flex AIR project, then copy the com folder into the src folder of your project and copy the mxml file&#8217;s code into your project&#8217;s mxml file. Now, you will be able to run the application&#8230;<br />
&amp; its working great.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robert</title>
		<link>http://probertson.com/projects/addressbook/#comment-64917</link>
		<dc:creator>robert</dc:creator>
		<pubDate>Sat, 08 Aug 2009 09:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-64917</guid>
		<description>I try to import your source as a flex project, but nothing will work, can you, please, tell me what is it that I&#039;m doing wrong...it isn&#039;t the first time that I import a flex project...
Thanx for your time....</description>
		<content:encoded><![CDATA[<p>I try to import your source as a flex project, but nothing will work, can you, please, tell me what is it that I&#8217;m doing wrong&#8230;it isn&#8217;t the first time that I import a flex project&#8230;<br />
Thanx for your time&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: psu</title>
		<link>http://probertson.com/projects/addressbook/#comment-63028</link>
		<dc:creator>psu</dc:creator>
		<pubDate>Tue, 30 Jun 2009 16:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-63028</guid>
		<description>I tried running this example. But it won&#039;t start when o press run. What could be the problem?</description>
		<content:encoded><![CDATA[<p>I tried running this example. But it won&#8217;t start when o press run. What could be the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Robertson</title>
		<link>http://probertson.com/projects/addressbook/#comment-53540</link>
		<dc:creator>Paul Robertson</dc:creator>
		<pubDate>Mon, 08 Dec 2008 19:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-53540</guid>
		<description>@naseer:

Since this project is really intended as an example application (i.e. as source code you can look at) I didn&#039;t bother providing a .air file for installing it.

If you want to test the application, you can compile it using the &lt;a href=&quot;http://opensource.adobe.com/wiki/display/flexsdk/&quot; rel=&quot;nofollow&quot;&gt;Flex SDK&lt;/a&gt; or &lt;a href=&quot;http://www.adobe.com/go/flexbuilder&quot; rel=&quot;nofollow&quot;&gt;Flex Builder&lt;/a&gt; and try it out. You can also use either one of those tools to create a .air file that you can install (assuming you have the AIR runtime installed on your machine).</description>
		<content:encoded><![CDATA[<p>@naseer:</p>
<p>Since this project is really intended as an example application (i.e. as source code you can look at) I didn&#8217;t bother providing a .air file for installing it.</p>
<p>If you want to test the application, you can compile it using the <a href="http://opensource.adobe.com/wiki/display/flexsdk/" rel="nofollow">Flex SDK</a> or <a href="http://www.adobe.com/go/flexbuilder" rel="nofollow">Flex Builder</a> and try it out. You can also use either one of those tools to create a .air file that you can install (assuming you have the AIR runtime installed on your machine).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naseer ahmad mughal</title>
		<link>http://probertson.com/projects/addressbook/#comment-53529</link>
		<dc:creator>naseer ahmad mughal</dc:creator>
		<pubDate>Mon, 08 Dec 2008 10:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/?page_id=177#comment-53529</guid>
		<description>How can i install and run this application on my local system...

Plz do assist me ASAP.

regards,</description>
		<content:encoded><![CDATA[<p>How can i install and run this application on my local system&#8230;</p>
<p>Plz do assist me ASAP.</p>
<p>regards,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

