<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www2.sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Adam Machanic : code samples</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/code+samples/default.aspx</link><description>Tags: code samples</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Code Camps and Revisiting a Common Theme</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2007/09/29/code-camps-and-revisiting-a-common-theme.aspx</link><pubDate>Sat, 29 Sep 2007 19:33:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:2744</guid><dc:creator>Adam Machanic</dc:creator><slash:comments>4</slash:comments><comments>http://www2.sqlblog.com/blogs/adam_machanic/comments/2744.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/adam_machanic/commentrss.aspx?PostID=2744</wfw:commentRss><description>&lt;P&gt;Today I gave two talks at &lt;A class="" href="http://www.thedevcommunity.org/Events/PresentationList.aspx?id=4"&gt;New England Code Camp 8&lt;/A&gt;. A fun experience as always, and for those of you who were in my talks and are looking for decks/code, please see &lt;A class="" href="http://sqlblog.com/blogs/adam_machanic/archive/2007/05/11/thank-you-for-attending-today-s-webcast-on-authorization-privilege-and-access-control.aspx"&gt;this post&lt;/A&gt; and &lt;A class="" href="http://sqlblog.com/blogs/adam_machanic/archive/2007/05/18/another-webcast-thanks-errors-and-exceptions-in-sql-server-2005.aspx"&gt;this post&lt;/A&gt; from when I did slightly different versions of the same talks earlier this year as MSDN Webcsts. I am not quite ready to publish the decks I used today.&lt;/P&gt;
&lt;P&gt;But the topic of this post is not so much the code camp as an observation about what I saw there.&amp;nbsp;Recent posts by both of our resident Andys (&lt;A class="" href="http://sqlblog.com/blogs/andrew_kelly/archive/2007/09/27/double-standard.aspx"&gt;Kelly&lt;/A&gt; and &lt;A class="" href="http://sqlblog.com/blogs/andy_leonard/archive/2007/07/12/database-professionals-an-enterprise-requirement.aspx"&gt;Leonard&lt;/A&gt;) share the theme of organizations treating their database staff&amp;nbsp;as&amp;nbsp;next-to-worthless.&amp;nbsp;&amp;nbsp;And developers, in general, seem much more interested in other facets of&amp;nbsp;development than&amp;nbsp;all of that "database stuff." &lt;/P&gt;
&lt;P&gt;Today's code camp proved this once again; my two talks were both quite lightly attended, even though I was talking about&amp;nbsp;important issues around data security and exception handling--things that any developer working with data should get. Perhaps it's just me, but the evidence says otherwise: after my talks I peeked into a few others and found a standing room only session on Silverlight and a session on LINQ to SQL&amp;nbsp;that had a comparable number of attendees to what I'd had.&lt;/P&gt;
&lt;P&gt;Why is it that data, while&amp;nbsp;the foundation of any business&amp;nbsp;application,&amp;nbsp;is&amp;nbsp;not a draw to&amp;nbsp;the developer masses?&amp;nbsp;How can we&amp;nbsp;ignore the data and instead focus on creating spiffy new UIs (to display flawed data, no doubt)?&amp;nbsp;Perhaps data seems easy--if you know how to write a query and set up an ADO.NET connection, that's all you need, right?&amp;nbsp; Or perhaps data is just someone else's job--just let the DBA or database developer handle it and display anything that comes back, flawed or not. It's not your problem, you're a UI developer. But everyone can't be a UI developer, can they?&amp;nbsp; Someone has to take control of the data.&lt;/P&gt;
&lt;P&gt;Bad data can and does lead to project failure. If you're a UI developer you're going to get canned just as quickly as the DBA if you're project is no longer being funded--so if your UI displays bad data,&amp;nbsp;you are&amp;nbsp;&lt;EM&gt;just as guilty as&amp;nbsp;whomever designed the&amp;nbsp;database that returned it&lt;/EM&gt;! If you're a business&amp;nbsp;tier developer, you are just as responsible for data validation as the database developer!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alas, if you're reading this post you're already one of the converted.&amp;nbsp;This is SQLblog.com, so you obviously care enough about your data to read up on it a bit more.&amp;nbsp;But as developers who know the value and importance of data, it is our job to spread the data gospel.&amp;nbsp;Data issues around security, validation, and performance are every developer's&amp;nbsp;responsibility.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=2744" width="1" height="1"&gt;</description><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/code+samples/default.aspx">code samples</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/developers/default.aspx">developers</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/Security/default.aspx">Security</category></item><item><title>Thank you for attending today's webcast on Authorization, Privilege, and Access Control</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2007/05/11/thank-you-for-attending-today-s-webcast-on-authorization-privilege-and-access-control.aspx</link><pubDate>Fri, 11 May 2007 20:09:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:1245</guid><dc:creator>Adam Machanic</dc:creator><slash:comments>1</slash:comments><comments>http://www2.sqlblog.com/blogs/adam_machanic/comments/1245.aspx</comments><wfw:commentRss>http://www2.sqlblog.com/blogs/adam_machanic/commentrss.aspx?PostID=1245</wfw:commentRss><description>&lt;P&gt;Thanks to everyone who attended today's MSDN webcast on Authorization, Privilege, and Access Control in SQL Server 2005. There were a lot of really great questions, and it was fun to be able to share a few insights into how to protect your data!&lt;/P&gt;
&lt;P&gt;Several people asked for the code, so it is attached to this post.&amp;nbsp; Feel free to leave me a comment if you have any questions or need some help with it.&lt;/P&gt;
&lt;P&gt;For those who did not attend the webcast, you can still view it on demand, &lt;A class="" href="http://msevents.microsoft.com/cui/eventdetail.aspx?eventID=1032334738&amp;amp;Culture=en-US"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;And finally, thanks to all who entered into the raffle for a free copy of "&lt;A class="" href="http://www.amazon.com/Expert-SQL-Server-2005-Development/dp/159059729X"&gt;Expert SQL Server 2005 Development&lt;/A&gt;!"&amp;nbsp; Congrats to the winners, Kong Li, Igor Deck, and Steve Horth.&amp;nbsp; For those who did not win, no worries--I'll be doing another contest next week in my MSDN webcast on &lt;A class="" href="http://msevents.microsoft.com/cui/eventdetail.aspx?eventID=1032336451&amp;amp;Culture=en-US"&gt;Errors and Exceptions in SQL Server 2005&lt;/A&gt;.&amp;nbsp; See you there!&lt;/P&gt;&lt;img src="http://www2.sqlblog.com/aggbug.aspx?PostID=1245" width="1" height="1"&gt;</description><enclosure url="http://www2.sqlblog.com/blogs/adam_machanic/attachment/1245.ashx" length="5314" type="application/x-zip-compressed" /><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/code+samples/default.aspx">code samples</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/expert+sql+server+2005+development/default.aspx">expert sql server 2005 development</category><category domain="http://www2.sqlblog.com/blogs/adam_machanic/archive/tags/webcasts/default.aspx">webcasts</category></item></channel></rss>