<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9</title>
    <atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/Andrew Davey/Posts/RSS"></atom:link>
    <itunes:summary></itunes:summary>
    <itunes:author>Microsoft</itunes:author>
    <itunes:subtitle></itunes:subtitle>
    <image>
      <url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
      <title>Channel 9</title>
      <link>http://channel9.msdn.com/Niners/Andrew Davey/Posts</link>
    </image>
    <itunes:image href=""></itunes:image>
    <itunes:category text="Technology"></itunes:category>
    <description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
    <link>http://channel9.msdn.com/Niners/Andrew Davey/Posts</link>
    <language>en</language>
    <pubDate>Sun, 26 May 2013 02:01:15 GMT</pubDate>
    <lastBuildDate>Sun, 26 May 2013 02:01:15 GMT</lastBuildDate>
    <generator>Rev9</generator>
    <c9:totalResults>3</c9:totalResults>
    <c9:pageCount>1</c9:pageCount>
    <c9:pageSize>25</c9:pageSize>
  <item>
      <title>Mobile Model in MVP web app</title>
      <description><![CDATA[This screencast continues from the work I demonstrated in a previous screencast:
<a href="/Showpost.aspx?postid=344711">http://channel9.msdn.com/Showpost.aspx?postid=344711</a><br>
<br>
When implemented a Model-View-Presenter pattern client-side in JavaScript there is a need to get data from the server. Rather than make this divide explicit with HTTP request, etc, I have used the idea of a model object that moves between the client and server.<br>
So the programmer simply writes the client and server pieces of functionality and lets my framework do the plumbing.<br>
<br>
I use code generation and&nbsp;<a href="http://projects.nikhilk.net/Projects/ScriptSharp.aspx">Script#</a> to make writing a client-side web app much more seemless than the usual javascript/XML/JSON/web service&nbsp;madness.<br>
<br>
I'm developing the ideas shown here in a project at the moment. If there is sufficient interest I may extract a framework to give to the community.<br>
<br>
How do people feel about this approach to web development? What kinds of additions/modifications should be made?<br>
<br>
p.s. I have a bit of a cold at the moment, so sorry for the croaky voice in the recording! <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Niners/Andrew Davey/Posts/RSS&WT.dl=0&WT.entryid=Entry:RSSView:71439a8525e44188bef19deb01897c34">]]></description>
      <comments>http://channel9.msdn.com/Blogs/AndrewDavey/Mobile-Model-in-MVP-web-app</comments>
      <itunes:summary>This screencast continues from the work I demonstrated in a previous screencast:
http://channel9.msdn.com/Showpost.aspx?postid=344711

When implemented a Model-View-Presenter pattern client-side in JavaScript there is a need to get data from the server. Rather than make this divide explicit with HTTP request, etc, I have used the idea of a model object that moves between the client and server.
So the programmer simply writes the client and server pieces of functionality and lets my framework do the plumbing.

I use code generation and&amp;nbsp;Script# to make writing a client-side web app much more seemless than the usual javascript/XML/JSON/web service&amp;nbsp;madness.

I&#39;m developing the ideas shown here in a project at the moment. If there is sufficient interest I may extract a framework to give to the community.

How do people feel about this approach to web development? What kinds of additions/modifications should be made?

p.s. I have a bit of a cold at the moment, so sorry for the croaky voice in the recording!</itunes:summary>
      <itunes:duration>746</itunes:duration>
      <link>http://channel9.msdn.com/Blogs/AndrewDavey/Mobile-Model-in-MVP-web-app</link>
      <pubDate>Wed, 17 Oct 2007 18:33:33 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/AndrewDavey/Mobile-Model-in-MVP-web-app</guid>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/100/258330_100x75.jpg" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/220/258330_220x165.jpg" height="165" width="220"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/320/affb92e2-3e3a-4f9b-b0bd-169db4d351ae.jpg" height="203" width="270"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/85/1f435ae8-2ac1-43f2-a543-ff94227da0a3.jpg" height="64" width="85"></media:thumbnail>
      <media:group>
        <media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/0/3/3/8/5/2/348722_mobile model.wmv" expression="full" duration="746" fileSize="1" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <enclosure url="http://mschnlnine.vo.llnwd.net/d1/ch9/0/3/3/8/5/2/348722_mobile model.wmv" length="0" type="video/x-ms-wmv"></enclosure>
      <dc:creator>Andrew Davey</dc:creator>
      <itunes:author>Andrew Davey</itunes:author>
      <slash:comments>3</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/AndrewDavey/Mobile-Model-in-MVP-web-app/RSS</wfw:commentRss>
    </item>
  <item>
      <title>Client-side Model-View-Presenter</title>
      <description><![CDATA[
<p>The model-view-presenter pattern is a very powerful way to manage user interaction. It seems popular to use it on the server-side when creating HTML, but why not use it client-side instead?<br>
Our computers are powerful enough to run fairly complex JavaScript. Why burden the server with having to render the page contents?<br>
<br>
In this screencast I use <a href="http://projects.nikhilk.net/projects/ScriptSharp.aspx">
Script#</a> to compile a C# project into JavaScript. This project contains the Model, View and Presenter logic.<br>
The HTML page then uses the generated JavaScript.<br>
<br>
There is a simple REST service on the server that returns data which is called by the Model. No HTML generation occurs on the server.<br>
<br>
Download the <a href="http://www.aboutcode.net/screencasts/js-mvp.zip">source code</a>. You must have
<a href="http://projects.nikhilk.net/projects/ScriptSharp.aspx">Script#</a> installed as well.<br>
</p>
 <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Niners/Andrew Davey/Posts/RSS&WT.dl=0&WT.entryid=Entry:RSSView:cc4a31a2c5824620a5ba9deb018980b3">]]></description>
      <comments>http://channel9.msdn.com/Blogs/AndrewDavey/Client-side-Model-View-Presenter</comments>
      <itunes:summary>
The model-view-presenter pattern is a very powerful way to manage user interaction. It seems popular to use it on the server-side when creating HTML, but why not use it client-side instead?
Our computers are powerful enough to run fairly complex JavaScript. Why burden the server with having to render the page contents?

In this screencast I use 
Script# to compile a C# project into JavaScript. This project contains the Model, View and Presenter logic.
The HTML page then uses the generated JavaScript.

There is a simple REST service on the server that returns data which is called by the Model. No HTML generation occurs on the server.

Download the source code. You must have
Script# installed as well.
 
</itunes:summary>
      <itunes:duration>597</itunes:duration>
      <link>http://channel9.msdn.com/Blogs/AndrewDavey/Client-side-Model-View-Presenter</link>
      <pubDate>Fri, 28 Sep 2007 16:14:39 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/AndrewDavey/Client-side-Model-View-Presenter</guid>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/100/257882_100x75.jpg" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/220/257882_220x165.jpg" height="165" width="220"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/320/a6b7a927-77e0-450a-b46e-36cc507730fe.jpg" height="169" width="270"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/85/e0d21323-e9b2-4b1c-90a9-b6cd09c4c377.jpg" height="64" width="85"></media:thumbnail>
      <media:group>
        <media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/2/8/8/7/5/2/344711_javascript mvp.wmv" expression="full" duration="597" fileSize="1" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <enclosure url="http://mschnlnine.vo.llnwd.net/d1/ch9/2/8/8/7/5/2/344711_javascript mvp.wmv" length="0" type="video/x-ms-wmv"></enclosure>
      <dc:creator>Andrew Davey</dc:creator>
      <itunes:author>Andrew Davey</itunes:author>
      <slash:comments>5</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/AndrewDavey/Client-side-Model-View-Presenter/RSS</wfw:commentRss>
    </item>
  <item>
      <title>Functional ADO.NET</title>
      <description><![CDATA[Whilst LINQ is almost here, there is still a place in the world for plain old ADO.NET programming. However, procedural ADO.NET code can often be cumbersome to write. Executing&nbsp;some SQL for a data reader can involve three nested layers of C# using statements.<br>
In this screencast, I present a functional approach to using ADO.NET that wraps most of the boiler-plate code into a Database class.<br>
It makes use of anonymous methods to allow the developer to provide the required code at different points in the ADO.NET code.<br>
The result is a syntactically lightweight way to interact with a database.<br>
<br>
The code used in the project can be downloaded here:<br>
C# 3.0 <a href="http://www.aboutcode.net/screencasts/functional-ado.3.zip">http://www.aboutcode.net/screencasts/functional-ado.3.zip</a><br>
C# 2.0 <a href="http://www.aboutcode.net/screencasts/functional-ado.2.zip">http://www.aboutcode.net/screencasts/functional-ado.2.zip</a> (same as 3.0 but with non-inferred anonymous methods). <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Niners/Andrew Davey/Posts/RSS&WT.dl=0&WT.entryid=Entry:RSSView:a2c83ff71b0b4e3e8ca39dea0163da5f">]]></description>
      <comments>http://channel9.msdn.com/Blogs/AndrewDavey/Functional-ADONET</comments>
      <itunes:summary>Whilst LINQ is almost here, there is still a place in the world for plain old ADO.NET programming. However, procedural ADO.NET code can often be cumbersome to write. Executing&amp;nbsp;some SQL for a data reader can involve three nested layers of C# using statements.
In this screencast, I present a functional approach to using ADO.NET that wraps most of the boiler-plate code into a Database class.
It makes use of anonymous methods to allow the developer to provide the required code at different points in the ADO.NET code.
The result is a syntactically lightweight way to interact with a database.

The code used in the project can be downloaded here:
C# 3.0 http://www.aboutcode.net/screencasts/functional-ado.3.zip
C# 2.0 http://www.aboutcode.net/screencasts/functional-ado.2.zip (same as 3.0 but with non-inferred anonymous methods).</itunes:summary>
      <link>http://channel9.msdn.com/Blogs/AndrewDavey/Functional-ADONET</link>
      <pubDate>Sun, 02 Sep 2007 16:41:14 GMT</pubDate>
      <guid isPermaLink="false">http://channel9.msdn.com/Blogs/AndrewDavey/Functional-ADONET</guid>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/100/257373_100x75.jpg" height="75" width="100"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/220/257373_220x165.jpg" height="165" width="220"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/320/f327caa3-df6b-41f8-a1df-49fe63180b01.jpg" height="203" width="270"></media:thumbnail>
      <media:thumbnail url="http://ecn.channel9.msdn.com/o9/previewImages/85/d5c6fb13-6c9e-4d37-8edd-b9a571b91bf5.jpg" height="64" width="85"></media:thumbnail>
      <media:group>
        <media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/3/7/3/7/5/2/339087_functional ado.wmv" expression="full" fileSize="1" type="video/x-ms-wmv" medium="video"></media:content>
      </media:group>      
      <enclosure url="http://mschnlnine.vo.llnwd.net/d1/ch9/3/7/3/7/5/2/339087_functional ado.wmv" length="0" type="video/x-ms-wmv"></enclosure>
      <dc:creator>Andrew Davey</dc:creator>
      <itunes:author>Andrew Davey</itunes:author>
      <slash:comments>2</slash:comments>
      <wfw:commentRss>http://channel9.msdn.com/Blogs/AndrewDavey/Functional-ADONET/RSS</wfw:commentRss>
      <category>ADO.NET</category>
    </item>    
</channel>
</rss>