<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/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>Designing with Silverlight</title><link>http://forums.silverlight.net/forums/19.aspx</link><description>Discussions around design implementations, XAML for Silverlight and design ideas</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Thinking about Z</title><link>http://forums.silverlight.net/forums/thread/240999.aspx</link><pubDate>Thu, 02 Jul 2009 20:25:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240999</guid><dc:creator>K2P2</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240999.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=19&amp;PostID=240999</wfw:commentRss><description>&lt;p&gt;Good info.&amp;nbsp; By the way I marked it as an answer.&lt;/p&gt;
&lt;p&gt;I rigged up my own LostFocus (and it&amp;#39;s an interface)&amp;nbsp;for Silverlight 2 stuff (couldn&amp;#39;t get anything else to work there).&amp;nbsp; I haven&amp;#39;t looked into&amp;nbsp;what&amp;nbsp;has been put into Silverlight 3...&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: Thinking about Z</title><link>http://forums.silverlight.net/forums/thread/240938.aspx</link><pubDate>Thu, 02 Jul 2009 18:09:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240938</guid><dc:creator>mrjvdveen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240938.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=19&amp;PostID=240938</wfw:commentRss><description>&lt;p&gt;Thanks for clearing that up.&lt;/p&gt;
&lt;p&gt;I do get a better insight in what you mean.&lt;/p&gt;
&lt;p&gt;Another approach to resolve this problem would be to have a single interface implementation that tells the Silverlight application that the user is doing something else (not sure if LostFocus on the top level covers it). Then a developer could write the response suitable for that application.&lt;/p&gt;
&lt;p&gt;Apple has a completely different approach for this in their IPhone. If the user goes of and do something else, the application is completely stopped. If it doesn&amp;#39;t stop within 5 seconds, it&amp;#39;s simply killed. Now I don&amp;#39;t like this approach as it may not be suitable for Silverlight applications. It could do with some sort of virtualization that suspends the application whenever the user goes off and does something else. In that case changes are the developer doesn&amp;#39;t have to do anything.&lt;/p&gt;
&lt;p&gt;Unfortunatly all of this is not available right now (except for the LostFocus event, but again I&amp;#39;m not sure it covers the load).&lt;/p&gt;</description></item><item><title>Re: Thinking about Z</title><link>http://forums.silverlight.net/forums/thread/240844.aspx</link><pubDate>Thu, 02 Jul 2009 14:47:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240844</guid><dc:creator>K2P2</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240844.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=19&amp;PostID=240844</wfw:commentRss><description>&lt;p&gt;I appreciate your response.&amp;nbsp; I was actually embarrassed by the way&lt;br /&gt;that I phrased my reply to your initial post.&amp;nbsp; I thought about &lt;br /&gt;deleting it but then realized that others had already seen it. &lt;br /&gt;So, I didn&amp;#39;t change it to give you a chance to &amp;quot;come back&amp;quot;.&amp;nbsp; &lt;br /&gt;(I knew your time zone is hours ahead of mine.)&lt;br /&gt;&lt;br /&gt;Anyway, I edited it now.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m pretty sure that you cannot mark your own post as an answer.&lt;br /&gt;Whoever marked it was, in my opinion, stating that your answer was &lt;br /&gt;a resolution to the problem.&amp;nbsp; If it is not an answer to the problem &lt;br /&gt;then it is not an answer.&amp;nbsp; And in my opinion it was not.&lt;/p&gt;
&lt;p&gt;I agree that many will not find these sort of interfaces useful.&lt;br /&gt;&lt;br /&gt;In the not too distant future I can picture a user of my site &lt;br /&gt;having all of those things that I mentioned running on a single &lt;br /&gt;Silverlight page, on a low resource Netbook, over some low &lt;br /&gt;bandwidth wireless connection.&lt;br /&gt;&lt;br /&gt;Plus they may then choose to download two other animations &lt;br /&gt;(that, perhaps, I bought from Joe&amp;#39;s Animations To Go).&amp;nbsp; &lt;br /&gt;One of these animations&amp;nbsp;may be&amp;nbsp;a snake that crawls around the other&amp;nbsp;&lt;br /&gt;objects on the screen.&amp;nbsp; And the other is a plane that flies &lt;br /&gt;around with a &amp;quot;floating&amp;quot; billboard that advertises &amp;quot;Joe&amp;#39;s&amp;quot;.&lt;br /&gt;&lt;br /&gt;The user, very happy, has all of these things running and then &lt;br /&gt;gets a Skype call. (Now they need, or want, all of the Netbooks &lt;br /&gt;resources for other purposes. Maybe they are going to go to &lt;br /&gt;another site and take dictation along with the Skype call.)&amp;nbsp; &lt;br /&gt;I need a way to tell everything on my page - with a press of a &lt;br /&gt;button - to go quite.&amp;nbsp; And then when the Skype call ends the user&lt;br /&gt;can restart everything.&lt;br /&gt;&lt;br /&gt;It seems that a good way to do this&amp;nbsp;would be to require all of the controls &lt;br /&gt;on my site to implement a known set of interfaces.&amp;nbsp; (And I do despise interfaces.)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m going to start using interfaces like these.&amp;nbsp; Hopefully there&amp;nbsp;are some interfaces&lt;br /&gt;around&amp;nbsp;more sophisticated than my - of the cuff&amp;nbsp;- gotta get going creations.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Thinking about Z</title><link>http://forums.silverlight.net/forums/thread/240601.aspx</link><pubDate>Thu, 02 Jul 2009 06:36:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240601</guid><dc:creator>mrjvdveen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240601.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=19&amp;PostID=240601</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So because I don&amp;#39;t completely agree with you, I don&amp;#39;t understand? &lt;img src="http://silverlight.net/emoticons/emotion-6.gif" alt="Sad" /&gt;&lt;/p&gt;&lt;p&gt;The point I&amp;#39;m trying to get across here is that one can expect a certain quality from component builders. I do agree that control over animations and communication is important. I just don&amp;#39;t think that putting some interfaces in the framework will do the job or is even needed.&lt;/p&gt;&lt;p&gt;Also, if you start a discussion about something, how can my opinion be wrong? So why can&amp;#39;t it be marked as an answer? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Thinking about Z</title><link>http://forums.silverlight.net/forums/thread/240322.aspx</link><pubDate>Wed, 01 Jul 2009 16:00:48 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:240322</guid><dc:creator>K2P2</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/240322.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=19&amp;PostID=240322</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t know who marked this as an answer.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;[This section edited by K2P2]&lt;/p&gt;
&lt;p&gt;When I get my web site up I will be able to show by example why these interfaces are - probably - very useful.&amp;nbsp; And no doubt some others.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Thinking about Z</title><link>http://forums.silverlight.net/forums/thread/239692.aspx</link><pubDate>Tue, 30 Jun 2009 13:17:02 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:239692</guid><dc:creator>mrjvdveen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/239692.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=19&amp;PostID=239692</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;IMoveable is not realy needed as similar functionality is already available in the Control class. In fact no control can choose it&amp;#39;s own place, but is always placed inside a container (unless you&amp;#39;re using a Canvas, in which case it&amp;#39;s your choice).&lt;/p&gt;&lt;p&gt;A good control doesn&amp;#39;t animate much by itself, but exposes the properties needed to animate it trough dependency properties or templating. This way the application developer can determine what is needed in the application.&lt;/p&gt;&lt;p&gt;No visual control should EVER communicate to the outside world by itself. If some company wants to provide with a full service solution I would expect them to provide me with a seperate class that handles the communication and which I can attach to the control myself. I would definitely expect to be able to enable and disable communication on that.&lt;/p&gt;&lt;p&gt;It wouldn&amp;#39;t be a bad thing to have interfaces that expose functionality for the communication part. For the other parts, I would expect a &amp;#39;controls company&amp;#39; to follow best practices and think about this. If they do a bad job with this, they wont sell much of their controls.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Thinking about Z</title><link>http://forums.silverlight.net/forums/thread/237278.aspx</link><pubDate>Wed, 24 Jun 2009 13:04:05 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:237278</guid><dc:creator>K2P2</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/237278.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=19&amp;PostID=237278</wfw:commentRss><description>&lt;p&gt;Since we are able to buy or otherwise load 3rd party controls dynamically into our web sites I may require - something like - the following interfaces to be present before I agree to use them.&lt;/p&gt;
&lt;p&gt;Soon (maybe version 4 or 5?) Silverlight will be running on wireless hand helds and other low resource devices.&amp;nbsp; Even now many PC&amp;#39;s and laptops spend most of their time connected to the Internet&amp;nbsp;via wireless.&amp;nbsp; Not only that but there needs to be a way to control things like the Z order when a control decides that it wants to move around without asking my site for permission.&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;several 3rd party controls decide to WCF something huge or something continuously then the wireless connection could easily get bogged down.&amp;nbsp; Similarly controls that have cpu intensive animations may compete for that non-dual-core resource.&lt;/p&gt;
&lt;p&gt;The user may decide to load, at run time,&amp;nbsp;competing controls into my web site and it would be nice for the user to be able to asked everyone, or an individual control, to be &amp;quot;silent&amp;quot; while the user chooses to give priority to a currently important control.&amp;nbsp; They may have a real time stock quote control with hundreds of tickers, or a video control,&amp;nbsp;a chat box and a math control that is calculating&amp;nbsp;pi backwards&amp;nbsp;all wanting 100% of the cpu&amp;nbsp;or wire.&amp;nbsp; All of these controls may be visible at the same time and the only way to be able to ask&amp;nbsp;for &amp;quot;silence&amp;quot;&amp;nbsp;is if each control has known interfaces.&lt;/p&gt;
&lt;p&gt;I despised all of the interfaces of Com and ActiveX but think that some may be necessary.&lt;/p&gt;
&lt;p&gt;Does this already exist?&amp;nbsp; Some very rough ideas: 
&lt;p&gt;&lt;span class="cmt"&gt;// IMoveable&lt;br /&gt;// bool CanResize&lt;br /&gt;// double PreferredZ&lt;br /&gt;// double PreferredW&lt;br /&gt;// double PreferredH&lt;br /&gt;// double PermittedZLow&lt;br /&gt;// double PermittedZHigh&lt;br /&gt;// bool AllowSelfPlacement&lt;br /&gt;//&lt;br /&gt;// IAnimate&lt;br /&gt;// void Start ()&lt;br /&gt;// void Stop ()&lt;br /&gt;// void Pause ()&lt;br /&gt;//&lt;br /&gt;// ICommunication&lt;br /&gt;// void Start ()&lt;br /&gt;// void Stop ()&lt;br /&gt;// void Pause ()&lt;br /&gt;// &lt;br /&gt;// Z -1,000,000 to 1,000,000 3rd party permitted area&lt;br /&gt;// Z &amp;gt; 1,000,000 &amp;quot;system controls&amp;quot; that need to be on top&lt;br /&gt;// Z &amp;lt; -1,000,000 whatever.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>