<?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"
	>
<channel>
	<title>Comments for VerySimple Dev Blog</title>
	<atom:link href="http://www.verysimple.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.verysimple.com/blog</link>
	<description>Technical tips, tricks and rants</description>
	<pubDate>Fri, 21 Nov 2008 01:06:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>Comment on AJAX Toolkit AutoComplete Extender not Firing by ChrisS</title>
		<link>http://www.verysimple.com/blog/2007/04/18/ajax-toolkit-autocomplete-extender-not-firing/#comment-85041</link>
		<dc:creator>ChrisS</dc:creator>
		<pubDate>Mon, 17 Nov 2008 19:23:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.verysimple.com/blog/2007/04/18/ajax-toolkit-autocomplete-extender-not-firing/#comment-85041</guid>
		<description>Thanks.  Solved my problem instantly!</description>
		<content:encoded><![CDATA[<p>Thanks.  Solved my problem instantly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL Error Number 1005 Can&#8217;t create table &#8216;.\mydb\#sql-328_45.frm&#8217; (errno: 150) by Ignace</title>
		<link>http://www.verysimple.com/blog/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/#comment-84710</link>
		<dc:creator>Ignace</dc:creator>
		<pubDate>Sun, 16 Nov 2008 10:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=58#comment-84710</guid>
		<description>Some good advice: make sure all your tables are dropped in your database before running your sql installation script! I personally use:

DROP TABLE IF EXISTS ..

before i place my table definition, however when i ran the script when their were already tables in the db i got the #1005 error, when i used the same script on an empty db it worked just fine.</description>
		<content:encoded><![CDATA[<p>Some good advice: make sure all your tables are dropped in your database before running your sql installation script! I personally use:</p>
<p>DROP TABLE IF EXISTS ..</p>
<p>before i place my table definition, however when i ran the script when their were already tables in the db i got the #1005 error, when i used the same script on an empty db it worked just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL Error Number 1005 Can&#8217;t create table &#8216;.\mydb\#sql-328_45.frm&#8217; (errno: 150) by Brian</title>
		<link>http://www.verysimple.com/blog/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/#comment-84438</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sat, 15 Nov 2008 05:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=58#comment-84438</guid>
		<description>"You should also check that one is not SIGNED and the other is UNSIGNED."   Ahh..HAH!

Very good! Thank you sir.

-Brian</description>
		<content:encoded><![CDATA[<p>&#8220;You should also check that one is not SIGNED and the other is UNSIGNED.&#8221;   Ahh..HAH!</p>
<p>Very good! Thank you sir.</p>
<p>-Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL Error Number 1005 Can&#8217;t create table &#8216;.\mydb\#sql-328_45.frm&#8217; (errno: 150) by Deepak</title>
		<link>http://www.verysimple.com/blog/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/#comment-84105</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Thu, 13 Nov 2008 13:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=58#comment-84105</guid>
		<description>The solution that worked for me (having ensured all the above were verified was the length of the name of FK. I gave it a shorter name and it worked.</description>
		<content:encoded><![CDATA[<p>The solution that worked for me (having ensured all the above were verified was the length of the name of FK. I gave it a shorter name and it worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL Error Number 1005 Can&#8217;t create table &#8216;.\mydb\#sql-328_45.frm&#8217; (errno: 150) by Nayyereh</title>
		<link>http://www.verysimple.com/blog/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/#comment-83885</link>
		<dc:creator>Nayyereh</dc:creator>
		<pubDate>Wed, 12 Nov 2008 12:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=58#comment-83885</guid>
		<description>Hi,
Thank you Niels, I had this problem and with your suggestion solved.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thank you Niels, I had this problem and with your suggestion solved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL Error Number 1005 Can&#8217;t create table &#8216;.\mydb\#sql-328_45.frm&#8217; (errno: 150) by Paresh</title>
		<link>http://www.verysimple.com/blog/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/#comment-83810</link>
		<dc:creator>Paresh</dc:creator>
		<pubDate>Wed, 12 Nov 2008 00:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=58#comment-83810</guid>
		<description>Thanks for the information. I had the problem of one is SIGNED and the other is UNSIGNED.

Your blog helped a lot!!!

Thanks again</description>
		<content:encoded><![CDATA[<p>Thanks for the information. I had the problem of one is SIGNED and the other is UNSIGNED.</p>
<p>Your blog helped a lot!!!</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About This Blog by Jason</title>
		<link>http://www.verysimple.com/blog/about/#comment-83778</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 11 Nov 2008 17:25:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-83778</guid>
		<description>Thanks radhika.  The worpress theme seems to have had a syntax error in the archive section.  It should be fixed now.</description>
		<content:encoded><![CDATA[<p>Thanks radhika.  The worpress theme seems to have had a syntax error in the archive section.  It should be fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About This Blog by radhika</title>
		<link>http://www.verysimple.com/blog/about/#comment-83727</link>
		<dc:creator>radhika</dc:creator>
		<pubDate>Tue, 11 Nov 2008 08:57:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-83727</guid>
		<description>Your site contain fallowing error:
Parse error: syntax error, unexpected $end in /usr/www/users/vsimple/verysimple.com/blog/wp-content/themes/colline/archive.php on line 35</description>
		<content:encoded><![CDATA[<p>Your site contain fallowing error:<br />
Parse error: syntax error, unexpected $end in /usr/www/users/vsimple/verysimple.com/blog/wp-content/themes/colline/archive.php on line 35</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling data updates with the Flex AS3 DataGrid by Jason</title>
		<link>http://www.verysimple.com/blog/2008/09/10/handling-data-updates-with-the-flex-as3-datagrid/#comment-83452</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sun, 09 Nov 2008 18:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=180#comment-83452</guid>
		<description>Thanks for the comment Jesse - yea, itemEndEdit is what you see explained everywhere. I'm wondering if you have a personal reason for doing it that way?  (I really mean that as an honest question, not as a challenge of some sort.)

Adding a listener to the collection has some odd behavior and I still question whether it's the best way. But the reason I don't like itemEndEdit is because you have to write a lot of code in the view - particularly in your event handler, you have to write some kind of switch statement to deal with all the columns unless they are all TextInput.

If you have all TextInput fields then its pretty easy but if you have a more typical grid with checkboxes, date fields, dropdowns, maybe some custom item renderers, then you have to know exactly what input control to expect and then cast the correct one in order to get the value.  I don't really like having to handle each column in the grid differently.

If you listen to the collection changes, on the other hand, the oldValue and newValue get passed to your already cast correctly and you don't have to even know what type of input control was used to trigger the edit.  I like dealing with things generically when I can so I don't have to write a bunch of logic in the view layer.

Basically I think it's a question of whether you want a smart view &#038; dumb model, or a smart model &#038; a dumb view.  I'm taking the approach of a smart model because I'm lazy and I don't like writing the same event handler code 10 times for the same data just because it appears in several places in the app.

I'd definitely be interested to hear what results people have gotten either way.</description>
		<content:encoded><![CDATA[<p>Thanks for the comment Jesse - yea, itemEndEdit is what you see explained everywhere. I&#8217;m wondering if you have a personal reason for doing it that way?  (I really mean that as an honest question, not as a challenge of some sort.)</p>
<p>Adding a listener to the collection has some odd behavior and I still question whether it&#8217;s the best way. But the reason I don&#8217;t like itemEndEdit is because you have to write a lot of code in the view - particularly in your event handler, you have to write some kind of switch statement to deal with all the columns unless they are all TextInput.</p>
<p>If you have all TextInput fields then its pretty easy but if you have a more typical grid with checkboxes, date fields, dropdowns, maybe some custom item renderers, then you have to know exactly what input control to expect and then cast the correct one in order to get the value.  I don&#8217;t really like having to handle each column in the grid differently.</p>
<p>If you listen to the collection changes, on the other hand, the oldValue and newValue get passed to your already cast correctly and you don&#8217;t have to even know what type of input control was used to trigger the edit.  I like dealing with things generically when I can so I don&#8217;t have to write a bunch of logic in the view layer.</p>
<p>Basically I think it&#8217;s a question of whether you want a smart view &#038; dumb model, or a smart model &#038; a dumb view.  I&#8217;m taking the approach of a smart model because I&#8217;m lazy and I don&#8217;t like writing the same event handler code 10 times for the same data just because it appears in several places in the app.</p>
<p>I&#8217;d definitely be interested to hear what results people have gotten either way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Handling data updates with the Flex AS3 DataGrid by Jesse</title>
		<link>http://www.verysimple.com/blog/2008/09/10/handling-data-updates-with-the-flex-as3-datagrid/#comment-83257</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Sat, 08 Nov 2008 01:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=180#comment-83257</guid>
		<description>The Flex 3 Cookbook from O'Reilly has a number of good examples on how to use itemEndEdit.</description>
		<content:encoded><![CDATA[<p>The Flex 3 Cookbook from O&#8217;Reilly has a number of good examples on how to use itemEndEdit.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
