<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Eric Polerecky</title>
	<atom:link href="http://eric.polerecky.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://eric.polerecky.com</link>
	<description>The Personal and Professional blog of an Internet Entrepreneur</description>
	<pubDate>Thu, 21 Aug 2008 14:53:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Poor DOM manipulation in Dojo</title>
		<link>http://eric.polerecky.com/archives/poor-dom-manipulation-in-dojo/</link>
		<comments>http://eric.polerecky.com/archives/poor-dom-manipulation-in-dojo/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 14:39:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
		
		<category><![CDATA[ArcGIS]]></category>

		<category><![CDATA[Dojo]]></category>

		<category><![CDATA[ProjectV]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/poor-dom-manipulation-in-dojo/</guid>
		<description><![CDATA[



In jQuery DOM manipulation is incredibly easy: 
$(&#34;#dealer-toggle&#34;).toggle();

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html [...]]]></description>
			<content:encoded><![CDATA[</p>
</p>
</p>
</p>
<pre class="csharpcode">In jQuery DOM manipulation is incredibly easy: </pre>
<pre class="csharpcode">$(<span class="str">&quot;#dealer-toggle&quot;</span>).toggle();</pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<p>One would assume the same can be accomplished in dojo via:</p>
<pre class="csharpcode">dojo.query(<span class="str">'node'</span>).toggle();</pre>
<style type="text/css">
<p>.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>but you would be DAMN WRONG!</p>
<p>dojo.query will work fine but hide/show/toggle have been moved to the dojo.fx and renamed fadeOut for .hide() and wipeIn for .show()…what about toggle? no sir. There is no dojo function to toggle nods. You have to write your own. </p>
<p>&#160;<img src="http://samuelpablo.files.wordpress.com/2008/01/epic_fail.jpg" /> </p>
<h2>ESRI</h2>
<p>For anyone using the ESRI JavaScript Library for ArcGIS Server (a JavaScript Lib based on Dojo): ESRI created their own namespace in the API. </p>
<p>The ESRI namespace consists of 7 methods. I bet you can guess 3 of them.</p>
<p><strong>hide</strong></p>
<p><strong>show</strong></p>
<p>and of course</p>
<p><strong>toggle</strong></p>
<p><span style="font-size: 10pt; font-family: arial; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"><a href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi/namespace_esri.htm"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;"><font color="#0000ff">http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi/namespace_esri.htm</font></span></a></span></p>
<h2>Wish</h2>
<ol>
<li>Dojo “fixes” their query interface by using common function names. even if they are alias. </li>
<li>Dojo adds toggle to the functions that can be acted on node lists (a node list if what is returned from dojo.query) </li>
<li>The ESRI namespace used the same constructors as Dojo. ie: hide should be dojo.query(‘node’).hide(); </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/poor-dom-manipulation-in-dojo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ProjectV &#8211; Enter the dojo</title>
		<link>http://eric.polerecky.com/archives/projectv-enter-the-dojo/</link>
		<comments>http://eric.polerecky.com/archives/projectv-enter-the-dojo/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 18:53:21 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
		
		<category><![CDATA[default]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/projectv-enter-the-dojo/</guid>
		<description><![CDATA[
I’ve come to be unhappy with the jquery plugin system. I seem to be in a perpetual cycle of “lookup-download-install-initialized-use” and based on the recent milestone slippage I just don’t have the time required when the only payoff (vs. other JS libs) seems to be streamlined JavaScript package……then again aren’t all the plugins adding crazy [...]]]></description>
			<content:encoded><![CDATA[</p>
<p>I’ve come to be unhappy with the jquery plugin system. I seem to be in a perpetual cycle of “lookup-download-install-initialized-use” and based on the recent milestone slippage I just don’t have the time required when the only payoff (vs. other JS libs) seems to be streamlined JavaScript package……then again aren’t all the plugins adding crazy overhead? Whatever…I’m going to use the dojotoolkit. </p>
<p><img src="http://archive.dojotoolkit.org/nightly/checkout/util/resources/logo/positive/dojo.logo.png" /> </p>
<p>I love me some dojo!</p>
]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/projectv-enter-the-dojo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ArcGIS Server 9.3, REST and Cache</title>
		<link>http://eric.polerecky.com/archives/arcgis-server-93-rest/</link>
		<comments>http://eric.polerecky.com/archives/arcgis-server-93-rest/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 14:45:34 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
		
		<category><![CDATA[ArcGIS]]></category>

		<category><![CDATA[REST]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/arcgis-server-93-rest/</guid>
		<description><![CDATA[After publishing a service if you make changes to the .MXD you need to clear the REST cache. There are a few ways to clear the REST cache:

Restart IIS – Super Easy 
From the ArcGIS 9.3 REST admin page

The Admin page is located at: http://xxxxxxxxxx/ArcGIS/rest/admin/ 



Until you restart IIS the updates to the MXD will [...]]]></description>
			<content:encoded><![CDATA[<p>After publishing a service if you make changes to the .MXD you need to clear the REST cache. There are a few ways to clear the REST cache:</p>
<ol>
<li>Restart IIS – Super Easy </li>
<li>From the ArcGIS 9.3 REST admin page
<ul>
<li>The Admin page is located at: <a href="http://xxxxxxxxxx/ArcGIS/rest/admin/">http://xxxxxxxxxx/ArcGIS/rest/admin/</a> </li>
</ul>
</li>
</ol>
<p>Until you restart IIS the updates to the MXD will not be reflected in the REST service endpoint. </p>
<p> <img src="http://vidagis.com/img/arcgis92.jpg" align="left" /> <img src="http://www.onlamp.com/onlamp/2008/02/19/graphics/RESTful-Triangle.png" align="left" /></p>
]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/arcgis-server-93-rest/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Kevin Wade</title>
		<link>http://eric.polerecky.com/archives/kevin-wade/</link>
		<comments>http://eric.polerecky.com/archives/kevin-wade/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 15:40:35 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
		
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/kevin-wade/</guid>
		<description><![CDATA[
August 7th 2008 Kevin passed from a heart related issue. 
Viewing:
Tuesday August 12              5-7pm - ceremony @ 7:30&#160; Donelson-Johns and Evans Funeral Home           5391 Highland Rd       [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><img style="margin: 0px 10px 0px 0px" height="160" src="http://farm3.static.flickr.com/2412/2256725633_bd4dc57635.jpg?v=0" width="240" /></p>
<p align="center">August 7th 2008 Kevin passed from a heart related issue. </p>
<h3>Viewing:</h3>
<h3><font face="Times New Roman" size="3"><span style="font-size: 12pt"><span><b><span style="font-weight: bold">Tuesday August 12              <br /></span></b></span></span></font><font face="Times New Roman" size="3"><span style="font-size: 12pt"><span><b><span style="font-weight: bold">5-7pm - ceremony @ 7:30&#160; <br /></span></b></span></span></font><font face="Times New Roman" size="3"><span style="font-size: 12pt"><span><b><span style="font-weight: bold">Donelson-Johns and Evans Funeral Home</span></b></span><b><span style="font-weight: bold">           <br /></span></b><span>5391 Highland Rd</span><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=funeral+home+waterford+mi&amp;ie=UTF8&amp;z=14&amp;iwloc=A" target="_blank"></a>        <br /><span>Waterford</span>, <span>MI</span> <span>48327</span><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=funeral+home+waterford+mi&amp;ie=UTF8&amp;z=14&amp;iwloc=A" target="_blank"></a>        <br /></span></font><font face="Times New Roman" size="3"><span style="font-size: 12pt">(248) 673-1213</span></font></h3>
<p><font face="Trebuchet MS" size="4"><span style="font-size: 12pt"><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=Donelson-Johns+and+Evans+Funeral+Home&amp;sll=42.668796,-83.386146&amp;sspn=0.051624,0.104713&amp;ie=UTF8&amp;z=14&amp;iwloc=A">http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=Donelson-Johns+and+Evans+Funeral+Home&amp;sll=42.668796,-83.386146&amp;sspn=0.051624,0.104713&amp;ie=UTF8&amp;z=14&amp;iwloc=A</a></span></font></p>
<h3>Benefit:</h3>
<p>This weekend I will be organizing a benefit event for the wade family in honor of Kevin M. Wade. There will be a poker tournament and games, a raffle and food (hamburgers, hotdog&#8217;s and other BBQ type dishes). </p>
<p><strong>Date</strong>: 8/17/2008</p>
<p><strong>Time</strong>: 3pm</p>
<p><strong>Location</strong>: 4509 Sunflower Circle Clarkston Mi 48346</p>
<p><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=4509+Sunflower+Circle+Clarkston+48346&amp;sll=42.668796,-83.386146&amp;sspn=0.051624,0.104713&amp;ie=UTF8&amp;ll=42.701866,-83.337479&amp;spn=0.206386,0.418854&amp;z=12&amp;iwloc=addr">http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=4509+Sunflower+Circle+Clarkston+48346&amp;sll=42.668796,-83.386146&amp;sspn=0.051624,0.104713&amp;ie=UTF8&amp;ll=42.701866,-83.337479&amp;spn=0.206386,0.418854&amp;z=12&amp;iwloc=addr</a></p>
<p><strong>Contact</strong>: 248-462-1929</p>
<p><strong>Eats</strong>: BBQ and related dishes. If anyone is so inclined please feel free to bring a dish. ( burgers and dogs are 1$ ea. with cash going to family )</p>
</p>
</p>
</p>
</p>
<p><strong>Raffle</strong>: 50/50, Sports Memorabilia including pistons, tigers and wings. Again, if anyone is so inclined please feel free to bring items to raffle.</p>
<p><strong>Poker Tournament</strong>: 4pm, 50$, Prizes based on # of players. 50% of prize pool goes to family.</p>
<p><strong>Poker Game</strong>: We have chips, cards and its a benefit for Kevin…there will be a cash game in the evening. The rake will go to the family.</p>
<h3>Donations:</h3>
</p>
</p>
</p>
<p>We will be accepting donations throughout the event! We will have a donation box setup all day. Feel free to drop a few bucks in the box. </p>
<p>Lastly, If anyone can’t make the event and would still like to donation PLEASE contact me for info.</p>
]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/kevin-wade/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LINQ &#8211; Update Row &#8211; Primary Key</title>
		<link>http://eric.polerecky.com/archives/linq-update-row-primary-key/</link>
		<comments>http://eric.polerecky.com/archives/linq-update-row-primary-key/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 21:43:26 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
		
		<category><![CDATA[LINQ]]></category>

		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/linq-update-row-primary-key/</guid>
		<description><![CDATA[
LINQ requires all tables that you work with to have a PK. If you don’t have a PK on a table you can use the designer to set a PK on the generated code. This won’t effect your database.


In Visual Studio open the LINQ Designer. 
Select a row you would like as your PK and [...]]]></description>
			<content:encoded><![CDATA[</p>
<p><span id="_ctl0_MainContent_PostFlatView"><span>LINQ requires all tables that you work with to have a PK. If you don’t have a PK on a table you can use the designer to set a PK on the generated code. This won’t effect your database.</span></span></p>
<p><span><span></span></span></p>
<ul>
<li><span><span>In Visual Studio open the </span></span><span><span>LINQ Designer. </span></span></li>
<li><span><span>Select a row you would like as your PK and select properties.</span></span></li>
<li><span><span>Update the “Primary Key” Property.</span></span></li>
</ul>
<p><span><span><img src="http://www.ducksystems.com/files/MSSQL_LOGO.jpg" /> </span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/linq-update-row-primary-key/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
