<?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>Comment Feed for Channel 9 - Gestating your Metro Style App with Cocoon</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon/RSS"></atom:link>
	<image>
		<url>http://files.channel9.msdn.com/thumbnail/59545285-5ebd-41f7-940a-7ede3431f2a5.png</url>
		<title>Channel 9 - Gestating your Metro Style App with Cocoon</title>
		<link></link>
	</image>
	<description>Today&#39;s Metro Monday project is a framework that will help you in your creation of Windows 8 Metro Style applications, helping take a little of the grunt work out, while helping build applications with some separation of concerns. Plus I dig how it uses MEF to compose a navigable application. CocoonCocoon is a framework to support the development of .Net Windows 8 Metro-style applications, in particular those that link to web services. It simplifies accessing, displaying and editing data using standard Metro controls, and allows easy application of the MVVM pattern. For more details, and news on the latest releases visit http://andyonwpf.blogspot.com Current FeaturesA navigation framework with, Attribute based page and view model discovery using MEF Automatic creation and wiring up of page and view model Passing of parameters to view models upon activation Persistence of navigation and state upon application suspension A data framework with, Support for observable collections and data virtualization An extensible framework for the retrieval, processing and display of data from the cloud DocumentationIntroduction Base Types ObservableVector&amp;lt;T&amp;gt; VirtualizingVector&amp;lt;T&amp;gt; Cocoon Navigation Framework Defining pages and view models More to follow... Cocoon Data Framework (IDataListSource&amp;lt;T&amp;gt; and data lists) Introduction Example Code SimpleDataListSource&amp;lt;T&amp;gt; PagedDataListSource&amp;lt;T&amp;gt; VirtualizingDataList&amp;lt;T&amp;gt; Cocoon – A new framework for Windows 8 DevelopmentTo assist with Windows 8 Metro-style applications I would like to announce the Cocoon framework (http://cocoon.codeplex.com/). This aims to build on top of the learning from the Chrysalis project to provide a simple way to develop Metro-style applications in a manner that fits naturally with the MVVM design pattern. It is likely that many Metro-style apps will be connected applications, downloading data from across the internet in response to user navigation. Modern applications are expected to do this in a seamless manner, retrieving data on demand and populating the user interface in response. In some ways this is at odds with the web API programming model that is based upon individual request-response calls, with paging used to retrieve large datasets. One of the first targets of the Cocoon framework is to simplify this process – bridging the world of stateless web API calls, with the “fast and fluid” interfaces expected by users. &amp;nbsp;Navigation in Cocoon – MVVM for Metro-style appsNavigation in CocoonAlthough not limited to this, the Cocoon framework is designed to work great with the Model-View-ViewModel (MVVM) pattern that has become common when designing XAML based applications. One problem when using this pattern is that you need some way of associating a view with a view-model. Often this is done by navigating directly to a page, and using a “ViewModelLocator” to identify and wire up the respective view-model. In Cocoon a slightly different approach is used. Here, rather than navigating directly to a view, you navigate to a named page. Although the behaviour is extensible, by default Cocoon will use MEF (the built in composition framework included in .Net) to locate both the view and view-model associated with this page name, create and initialise instances of these and wire them together. ... The Navigation ManagerIn order to navigate between pages, Cocoon includes a navigation manager that can be accessed by importing the INavigationManager interface through MEF (simplified by the fact that all views and view models in Cocoon are themselves are composed by MEF).Getting Started with Cocoon Navigation – The Cocoon BootstrapperSince the Cocoon navigation framework is built on top of the Managed Extensibility Framework (MEF), the application is composed with the required dependencies as the user navigates through the application. MEF is a composition framework that is built into the .Net framework, that enables the construction of loosely-coupled, easily maintainable and testable applications to be composed automatically at run time. An introductory guide for those who are not familiar with MEF is available here. What I have not covered previously however was how to navigate to the application’s first page when it is launched, Launching Navigation Using The Cocoon BootstrapperTo simplify the initialization of Cocoon based applications the framework includes the ‘CocoonBootstrapper’ class that can be used at startup. This manages the configuration of MEF for the most common scenarios, initialization of services and activation of the application. ... Here&#39;s a snip of the sample app running.  Note, to get the sample app to run, you&#39;ll need your own Flickr API Key.  Here&#39;s a snap of the Solution;  And some snaps of the code, showing a little bit of how MEF is used.   If you&#39;ve thought, &amp;quot;I love MEF and I wonder if I can use it to compose Metro Style App&#39;s, without messing up navigation&amp;quot; or looking for a new data handling framework or just want to check out a cool framework, Cocoon, and all its source, is ready for you... </description>
	<link></link>
	<language>en</language>
	<pubDate>Fri, 24 May 2013 10:35:05 GMT</pubDate>
	<lastBuildDate>Fri, 24 May 2013 10:35:05 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Gestating your Metro Style App with Cocoon</title>
		<description>
			<![CDATA[<p>Does this work for Silverlight Applications as well?</p><p>posted by CodingTime</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634739075781542499</link>
		<pubDate>Tue, 29 May 2012 16:59:38 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634739075781542499</guid>
		<dc:creator>CodingTime</dc:creator>
	</item>
	<item>
		<title>Re: Gestating your Metro Style App with Cocoon</title>
		<description>
			<![CDATA[<p>@<a href="/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634739075781542499?areaType=Blogs&amp;areaName=Coding4FunBlog">CodingTime</a>: As far as I've seen, this is for meant for Windows 8 Metro Style app's. That said, the source is available, so...</p><p>posted by gduncan411</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634739115579475285</link>
		<pubDate>Tue, 29 May 2012 18:05:57 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634739115579475285</guid>
		<dc:creator>gduncan411</dc:creator>
	</item>
	<item>
		<title>Re: Gestating your Metro Style App with Cocoon</title>
		<description>
			<![CDATA[Hi<br>I am new with cocoon framework and facing a lot of problem. Is there any document available or can u provide me your contact details so that i can get in touch with you.<br>i am facing issue with PageDataList and SampleDataList,caching and state management,if u can provide me any example with source code then it will be gud for us.<p>posted by Dhruv</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634789893153668003</link>
		<pubDate>Fri, 27 Jul 2012 12:35:15 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634789893153668003</guid>
		<dc:creator>Dhruv</dc:creator>
	</item>
	<item>
		<title>Re: Gestating your Metro Style App with Cocoon</title>
		<description>
			<![CDATA[<p>@<a href="/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634789893153668003?areaType=Blogs&amp;areaName=Coding4FunBlog">Dhruv</a>: Best bet would be contact the team directly via the project site, <a href="http://cocoon.codeplex.com">http://cocoon.codeplex.com</a>, <a href="http://cocoon.codeplex.com/team/view">http://cocoon.codeplex.com/team/view</a>&nbsp;and/or check the project's discussion area,&nbsp;<a href="http://cocoon.codeplex.com/discussions">http://cocoon.codeplex.com/discussions</a></p><p>posted by gduncan411</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634790002167769570</link>
		<pubDate>Fri, 27 Jul 2012 15:36:56 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Gestating-your-Metro-Style-App-with-Cocoon#c634790002167769570</guid>
		<dc:creator>gduncan411</dc:creator>
	</item>
</channel>
</rss>