<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Code-Inside Blog International</title>
	
	<link>http://code-inside.de/blog-in</link>
	<description>Blogging about ASP.NET, .NET &amp; C#</description>
	<lastBuildDate>Wed, 09 May 2012 16:19:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Code-InsideBlogInternational" /><feedburner:info uri="code-insidebloginternational" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Automated Security Analyser for ASP.NET websites</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/A0TJVyUoPTE/</link>
		<comments>http://code-inside.de/blog-in/2012/05/09/automated-security-analyser-for-asp-net-websites/#comments</comments>
		<pubDate>Wed, 09 May 2012 16:18:17 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=933</guid>
		<description><![CDATA[Evil Hackers are lurking everywhere and many Web-applications are delicately and share “too much” with the attacker. A quick (first!) overview offers the Tool “ASafaWeb”. All the website does is making a few requests and writing an Analyses including problem solving’s. There are no permanent disadvantages (bad requests/ DoS attacks and so on). Example: KnowYourStack.com ...]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image.png" src="http://code-inside.de/blog/wp-content/uploads/image1510-570x194.png" border="0" alt="image.png" width="570" height="194" /></p>
<p>Evil Hackers are lurking everywhere and many Web-applications are delicately and share “too much” with the attacker.</p>
<p>A quick (first!) overview offers the Tool “<a href="https://asafaweb.com/">ASafaWeb</a>”. All the website does is making a few requests and writing an Analyses including problem solving’s. There are no permanent disadvantages (bad requests/ DoS attacks and so on).</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb681.png" border="0" alt="image" width="539" height="305" /></p>
<p>Example: <a href="http://www.knowyourstack.com/">KnowYourStack.com</a></p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image1511.png" border="0" alt="image" width="547" height="223" /></p>
<p>There is a short description including a problem solving:</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb682.png" border="0" alt="image" width="434" height="233" /></p>
<p>The last test recommends hiding the information’s about the ASP.NET version / IIS.</p>
<p><strong>That’s not enough!</strong></p>
<p>The service only provides very simple tests – For example there is no test for the entering validation. Here <a href="http://code-inside.de/blog/2012/04/03/xss-in-asp-net-mvcrequestvalidation-html-displayfor-mvchtmlstring/">you need to be very carefully!</a></p>
<p>If someone wants to share more tips with us you are welcome J</p>
<p><strong>Prevent the Top 10 Security holes!</strong></p>
<p><strong> </strong></p>
<p>Some time ago <a href="http://philipproplesch.de/post/gaengige-angriffe-auf-webseiten-vermeiden">Philip Proplesch</a> referred about the excellent Blog row from Troy Hunt: <a href="http://www.troyhunt.com/2010/05/owasp-top-10-for-net-developers-part-1.html">OWASP Top 10 for .NET developer’s part 1: Injection. Read!</a></p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/A0TJVyUoPTE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/05/09/automated-security-analyser-for-asp-net-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/05/09/automated-security-analyser-for-asp-net-websites/</feedburner:origLink></item>
		<item>
		<title>„Sign in with Twitter“ for your own ASP.NET WebApp</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/n-TM1J03vrM/</link>
		<comments>http://code-inside.de/blog-in/2012/04/25/sign-in-with-twitter-for-your-own-asp-net-webapp/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 20:35:36 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=931</guid>
		<description><![CDATA[&#160; “Sign in with Twitter” is a popular practice to authenticate the users on your website. One advantage compared to an own registration is the lower inhibition for the user. But on the other hand Twitter doesn’t fess up with all the information’s and you will get into a kind of addiction. At the end ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>“Sign in with Twitter” is a popular practice to authenticate the users on your website. One advantage compared to an own registration is the lower inhibition for the user. But on the other hand Twitter doesn’t fess up with all the information’s and you will get into a kind of addiction. At the end everyone has to decide it by them self. <span style="text-decoration: underline;">The question is: </span>How can I integrate the Twitter Login into my website?</p>
<p><strong> </strong></p>
<p><strong>Twitter Login – Oauth</strong></p>
<p><strong> </strong></p>
<p>The base is the OAuth protocol for the authentication. The application isn’t able to see secure information’s like keywords. More background information’s <a href="http://oauth.net/">here</a>.</p>
<p><strong>TweetSharp – 10 minutes guide to Twitter Login </strong></p>
<p><strong> </strong></p>
<p>At least the <a href="http://oauth.net/">OAuth protocol</a> is a little bit “difficult”. There is a big library in the .NET environment which is able to understand both OAuth and OpenID: <a href="http://www.dotnetopenauth.net/">DotNetOpenAuth</a>. But the library is very extensive and heavy. So here is my recommendation: <a href="https://github.com/danielcrenna/tweetsharp">TweetSharp!</a></p>
<p><strong>Step 1: Take it from NuGet</strong></p>
<p>Of course TweetSharp is also a <a href="http://nuget.org/packages/TweetSharp">NuGet package</a>:</p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1490.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image1490" src="http://code-inside.de/blog-in/wp-content/uploads/image1490_thumb.png" border="0" alt="image1490" width="563" height="387" /></a></p>
<p><strong>Step 2: register the Twitter App</strong></p>
<p>On the <a href="https://dev.twitter.com/apps/new">Developer Side of Twitter</a> you are able to adjust new apps. For our Dev-version the following information’s are enough.</p>
<p><span style="text-decoration: underline;">Important: </span>enter the same information’s into WebSite and Callback URL – otherwise there are going to be some problems. We choose 127.0.0.1 – localhost. You are able to fit it on the right URL later into the application.</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb662.png" border="0" alt="image" width="500" height="328" /></p>
<p>The most important information’s:<img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb663.png" border="0" alt="image" width="508" height="500" /></p>
<p>We need the Consumer Key and the Consumer Secret soon.</p>
<p>Note: There are several “authorities” to be set on the Access level. At the moment it is only possible to read the Tweets but it is not possible to write them with the application. So the Twitter App is for registration only and the user is going to be informed about it on the login-page.</p>
<p><strong>Step 3: Auth Controller</strong></p>
<p><strong> </strong></p>
<p>The code from Auth Controller is from the <a href="https://github.com/danielcrenna/tweetsharp">Doku on TweetSharp</a> and I only changed a few things.</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:ca5400ce-3125-4ee2-8b95-efe0c57d9989" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using TweetSharp;

namespace OAuthSignInWithTwitter.Controllers
{
    public class AuthController : Controller
    {
        private string _consumerKey = "BOgMSVFOOOBARRRRR7QOB9Yw";
        private string _consumerSecret = "lRCbswKMKxFOOOBARRRRR2eL20X5uWG1FOOOBARRRRRjl3MM323pE8";

        public ActionResult Authorize()
        {
            // Step 1 - Retrieve an OAuth Request Token
            TwitterService service = new TwitterService(_consumerKey, _consumerSecret);

            var url = Url.Action("AuthorizeCallback", "Auth", null, "http");
            // This is the registered callback URL
            OAuthRequestToken requestToken = service.GetRequestToken(url);

            // Step 2 - Redirect to the OAuth Authorization URL
            Uri uri = service.GetAuthorizationUri(requestToken);
            return new RedirectResult(uri.ToString(), false /*permanent*/);
        }

        // This URL is registered as the application's callback at http://dev.twitter.com
        public ActionResult AuthorizeCallback(string oauth_token, string oauth_verifier)
        {
            var requestToken = new OAuthRequestToken { Token = oauth_token };

            // Step 3 - Exchange the Request Token for an Access Token
            TwitterService service = new TwitterService(_consumerKey, _consumerSecret);
            OAuthAccessToken accessToken = service.GetAccessToken(requestToken, oauth_verifier);

            // Step 4 - User authenticates using the Access Token
            service.AuthenticateWith(accessToken.Token, accessToken.TokenSecret);
            TwitterUser user = service.VerifyCredentials();

            FormsAuthentication.SetAuthCookie(user.ScreenName, false);

            return RedirectToAction("Index", "Home");
        }
    }
}</pre>
</div>
<p>Between Step 1 and 2 we create the main Callback-URL. In this Callback we use the FormsAuthentication and set the Cookie so also the ASP.NET engine will know that we are logged in.</p>
<p><strong>Step 4: UI modification </strong></p>
<p><strong> </strong></p>
<p>In the _Layout.cshtml</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:d5b2b471-5189-41f2-aed6-770dc36bd33f" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">  &lt;div id="title"&gt;
                &lt;h1&gt;My MVC Application&lt;/h1&gt;
            &lt;/div&gt;
            &lt;div id="logindisplay"&gt;
                @if(this.Request.IsAuthenticated)
                {
                    &lt;span&gt;@@@HttpContext.Current.User.Identity.Name&lt;/span&gt;
                }
                else
                {
                    @Html.ActionLink("Sign in with Twitter", "Authorize", "Auth");
                }
            &lt;/div&gt;</pre>
</div>
<p>Either the user is logged in via ForumsAuthentication or we show the Link to the Authorize Methode.</p>
<p><strong>Result:</strong></p>
<p><img title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb664.png" border="0" alt="image" width="244" height="145" /></p>
<p><img title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb665.png" border="0" alt="image" width="377" height="251" /></p>
<p><img title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb666.png" border="0" alt="image" width="228" height="121" /></p>
<p>Additional we can access on several Twitter attributes of the user. That’s it about the authentication. Not that difficult at all. If you want to use more futures for example sending Tweets has to keep in mind the AccessToken from the Callback.</p>
<p>On my Project <a href="http://www.knowyourstack.com/">KnowYourStack.com</a> I use a “Tinkerversion” via the DotNetOpenID Project – it works almost equal but it is a little bit more complicated so I recommend TweetSharp for this easy business.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/n-TM1J03vrM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/04/25/sign-in-with-twitter-for-your-own-asp-net-webapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/04/25/sign-in-with-twitter-for-your-own-asp-net-webapp/</feedburner:origLink></item>
		<item>
		<title>CodePlex is going to be updated</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/sBtIawND4gI/</link>
		<comments>http://code-inside.de/blog-in/2012/04/14/codeplex-is-going-to-be-updated/#comments</comments>
		<pubDate>Sat, 14 Apr 2012 07:36:58 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=925</guid>
		<description><![CDATA[&#160; CodePlex the Microsoft Open Source Project Hosting Plattform hasn’t changed that much in the last few years and for a few times I thought Microsoft stopped the whole developing process. But now I found out that there is still life in the project. Maybe it is because of the success of GitHub or because ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://codeplex.com/">CodePlex</a> the Microsoft Open Source Project Hosting Plattform hasn’t changed that much in the last few years and for a few times I thought Microsoft stopped the whole developing process. But now I found out that there is still life in the project. Maybe it is because of the success of <a href="http://github.com/">GitHub</a> or because Microsofts latest intentions in the <a href="http://code-inside.de/blog/2012/03/29/der-asp-net-webstack-ist-open-source/">Open Source Direction</a>. Not so long ago Microsoft has chosen <a href="http://code-inside.de/blog/2011/12/12/windows-azure-sdk-fr-node-js-co-und-das-auf-github/">GitHub instead of CodePlex for publishing Azure SDK –</a> maybe that was the point where they decided to support their own platform again.</p>
<p><strong>“The future of Codeplex is Bright”</strong></p>
<p>Brian Harry who is Microsofts responsible person for the team Foundation Server and especially TFS Service on Azure posted a <a href="http://blogs.msdn.com/b/bharry/archive/2012/03/22/the-future-of-codeplex-is-bright.aspx">Blogpost with this headline</a>. Also in the Open Source <a href="http://www.hanselman.com/blog/ASPNETMVC4ASPNETWebAPIAndASPNETWebPagesV2RazorNowAllOpenSourceWithContributions.aspx">Announcement from Scott Hanselman</a> it was mentioned why the ASP.NET team decided to use CodePlex instead of GitHub:</p>
<p>Why not on GitHub?</p>
<p>The Visual Studio Team has <a href="http://blogs.msdn.com/b/bharry/archive/2012/03/22/the-future-of-codeplex-is-bright.aspx">big plans for CodePlex</a>, including adding Git support and modernizing the experience. Right now CodePlex supports TFS, Mercurial (Hg) and just added Git! As we’re a partner with the Visual Studio Team we think the right thing for us to do is to support their plans to make CodePlex a thriving place for open source software again. We push them hard and they’re releasing weekly now.</p>
<p><strong>Git Support on CodePlex</strong></p>
<p>CodePlex supports beside TFS and Mercurial <a href="http://blogs.msdn.com/b/codeplex/archive/2012/03/21/git-commit-m-codeplex-now-supports-git.aspx">also Git</a>. Though the integration into the Web-UI isn’t that extensive compared to GitHub but for what I have seen so far and from personal talks with Microsoft Corp. Developers I found out that Git isn’t a foreign word for them. For example the ASP.NET Team is using <a href="http://aspnetwebstack.codeplex.com/SourceControl/list/changesets">GitHub for developing ASP.NET Webstack</a> on Codeplex. I’m sure there will be some more futures soon.</p>
<p><strong>TFS &amp; Git</strong></p>
<p><strong> </strong></p>
<p>Of course this development is recognized by the TFS team as well – there are also some appearances for a <a href="http://en.wikipedia.org/wiki/Distributed_revision_control">DVSC</a>. There is also a comment by Brian Harry about the <a href="http://blogs.msdn.com/b/bharry/archive/2011/08/02/version-control-model-enhancements-in-tfs-11.aspx">Version Control Model</a> Enhancements in TFS1 1 about the DVCS Model:</p>
<p>I’m certain that about this time, I bunch of people are asking “but, did you implement DVCS”.  The answer is no, not yet.  You still can’t checkin while you are offline.  And you can’t do history or branch merges, etc.  Certain operations do still require you to be online.  You won’t get big long hangs – but rather nice error messages that tell you you need to be online.  DVCS is definitely in our future and this is a step in that direction but there’s another step yet to take.</p>
<p><strong>New UI in the Look of Metro </strong></p>
<p><strong> </strong></p>
<p>There are also some new Screenshots about <a href="http://blogs.msdn.com/b/codeplex/archive/2012/03/30/new-codeplex-ui-coming-soon.aspx">the Metro interface for CodePlex</a> shown:</p>
<p><img title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb658.png" border="0" alt="image" width="493" height="375" /><a href="http://code-inside.de/blog-in/wp-content/uploads/image1486.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image1486" src="http://code-inside.de/blog-in/wp-content/uploads/image1486_thumb.png" border="0" alt="image1486" width="497" height="383" /></a></p>
<p><img title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb659.png" border="0" alt="image" width="493" height="380" /></p>
<p>More Screenshots <a href="http://blogs.msdn.com/b/codeplex/archive/2012/03/30/new-codeplex-ui-coming-soon.aspx">here</a>.</p>
<p><strong>TFS Services &amp; CodePlex</strong></p>
<p><strong> </strong></p>
<p>If you ask yourself how CodePlex and the announcement about TFS on Azure fits together: here is another <a href="http://blogs.msdn.com/b/bharry/archive/2012/03/22/the-future-of-codeplex-is-bright.aspx">comment from Brian Harry</a>:</p>
<p>And, as I alluded to earlier, we’ll be working to align CodePlex and Team Foundation Service into a single, scalable offering.  This work will be happening partially in parallel with the efforts to revitalize CodePlex and respond to community feedback.  It will also happen in stages rather than in one big milestone.  It will likely start by having newly created CodePlex projects hosted on the Team Foundation Service Azure infrastructure.  Then, over time, we’ll integrate the user experiences.  This isn’t a concrete plan, but rather a flavor of how we are thinking about it.alluded to earlier, we’ll be working to align CodePlex and Team Foundation Service into a single, scalable offering.  This work will be happening partially in parallel with the efforts to revitalize CodePlex and respond to community feedback.  It will also happen in stages rather than in one big milestone.  It will likely start by having newly created CodePlex projects hosted on the Team Foundation Service Azure infrastructure.  Then, over time, we’ll integrate the user experiences.  This isn’t a concrete plan, but rather a flavor of how we are thinking about it.</p>
<p><strong>My commendation: Take a look on Git!</strong></p>
<p><strong> </strong></p>
<p>From my point and according to the changes of the last view days I recommend every developer to take a look on Git or at least to think about the opportunities. Start a little Open Source Project – maybe on CodePlex and then give them your <a href="http://codeplex.codeplex.com/workitem/list/basic">Feedback</a>. Git is also interesting for .NET developer – <a href="http://code-inside.de/blog/2011/08/05/einstieg-in-git-fr-net-entwickler/">a little intro is here</a>. Maybe there will be a bigger Open Source mentality in the .NET environment. <img class="wlEmoticon wlEmoticon-smile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-smile14.png" alt="Smiley" /></p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/sBtIawND4gI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/04/14/codeplex-is-going-to-be-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/04/14/codeplex-is-going-to-be-updated/</feedburner:origLink></item>
		<item>
		<title>What does Adobe in the flash-free web? Magazine-Style Layouts with CSS Regions!</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/CXnfzTLLts8/</link>
		<comments>http://code-inside.de/blog-in/2012/04/09/what-does-adobe-in-the-flash-free-web-magazine-style-layouts-with-css-regions/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 13:46:50 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=917</guid>
		<description><![CDATA[&#160; Adobe is well known for Photoshop and Flash but of course there is a lot more. According to the “Future Post” from Google Adobe declared one of their big subjects on a Blogpost. I’m talking about the W3C Working Draft to CSS Regions. Adobe cooperates with the WebKit Team and W3C on this. What ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong> </strong></p>
<p>Adobe is well known for Photoshop and Flash but of course there is a lot more. According to the <a href="http://code-inside.de/blog/2012/03/14/cutting-edge-chrome-web-platform-technologies/">“Future Post” from Google</a> Adobe declared one of their big subjects <a href="http://blogs.adobe.com/webplatform/2012/03/16/css-regions-one-year-in/">on a Blogpost</a>. I’m talking about the W3C Working Draft to CSS Regions. Adobe cooperates with the WebKit Team and W3C on this.</p>
<p><strong> </strong></p>
<p><strong>What are CSS Regions?</strong></p>
<p>CSS Regions are meant to amplify the options for Text-Layout in the web. Here is a video from adobe:</p>
<p>&nbsp;</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:99a4b9d0-aa88-4af6-8787-508df8c4f4a7" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div><object width="414" height="232"><param name="movie" value="http://www.youtube.com/v/SEdC2V9TTYs?hl=en&amp;hd=1" /><embed type="application/x-shockwave-flash" width="414" height="232" src="http://www.youtube.com/v/SEdC2V9TTYs?hl=en&amp;hd=1"></embed></object></div>
</div>
<p>At first Adobe proposed a big standard with more Use-Cases. To bring the parts quicker through the standardization (and to make the standard more “serviceable”) there are three models:</p>
<p><strong>CSS Regions</strong><em> </em><em>includes named flows and region chains that allow for complex, magazine-style layouts.</em><strong>CSS Exclusions</strong><em> </em><em>defines ways to flow inline content around and inside shapes that are either defined in CSS or extracted from content.</em><em> </em><strong>CSS Fragmentation</strong><em> </em><em>defines how content breaks between pages, columns or regions.</em></p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb648.png" border="0" alt="image" width="476" height="337" /></p>
<p><img title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb649.png" border="0" alt="image" width="497" height="569" /></p>
<p><em> </em></p>
<p>CSS Fragmentation is the Working Draft to <a href="http://www.w3.org/TR/css3-multicol/">Multicolumn Layout</a> and <a href="http://www.w3.org/TR/css3-page/">Paged Media.</a></p>
<p>The aim of all models is to put the varying design Layout from the world of magazines into the web.</p>
<p><strong>Status of the standardization </strong></p>
<p>According to Adobe there are still some dubieties. Standardization or not – It would be more interesting which Browser provider is going to support this?</p>
<p><strong>Browser Support at the moment </strong></p>
<p><strong> </strong></p>
<p><span style="text-decoration: underline;">WebKit Nightlies</span></p>
<p><span style="text-decoration: underline;"> </span></p>
<p>Not interesting at all for usual users because you are using WebKit via Chrome or Safari “indirectly” but for completeness – it is implemented into Nightlies and it works.</p>
<p><span style="text-decoration: underline;">Chrome</span></p>
<p>Implimented and activated in version 17 and 18 – but it will be deactivated in version 19 again and you need to reactivate on “about:flags” ( I guess the WebKit team was a little bit carefree <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile37.png" alt="Zwinkerndes Smiley" />). In the Chrome Nightlies (Canary Builds) it is usually deactivated as well.</p>
<p><span style="text-decoration: underline;">Internet Explorer</span></p>
<p><span style="text-decoration: underline;"> </span></p>
<p>What a big surprise: Implemented and activated in the IE 10 Developer Preview!</p>
<p><span style="text-decoration: underline;">Firefox</span></p>
<p>Mozilla included it into the <a href="https://wiki.mozilla.org/Platform/Roadmap">Roadmap for 2012</a> after all <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile37.png" alt="Zwinkerndes Smiley" /></p>
<p><strong> </strong></p>
<p><strong>More Information’s</strong></p>
<p>You will find more background information’s on the <a href="http://blogs.adobe.com/webplatform/2012/03/16/css-regions-one-year-in/">Adobe Blogpost</a> and there is also a <a href="http://www.youtube.com/watch?feature=player_detailpage&amp;v=zH5bJSG0DZk#t=6657s">video from Paul Irishih</a> (from the Chrome team) where he shows the Demos from Adobe as well.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/CXnfzTLLts8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/04/09/what-does-adobe-in-the-flash-free-web-magazine-style-layouts-with-css-regions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/04/09/what-does-adobe-in-the-flash-free-web-magazine-style-layouts-with-css-regions/</feedburner:origLink></item>
		<item>
		<title>HTML 5 Games, Tooling &amp; 3D</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/sIOUty3IZ1w/</link>
		<comments>http://code-inside.de/blog-in/2012/03/29/html-5-games-tooling-3d/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 18:08:09 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=908</guid>
		<description><![CDATA[&#160; Game Developing is an interesting subject for all kind of software developer. But as a web developer without any Flash-skills there aren’t that much starting points. With HTML5 and the combination between Javascript, CSS3 and fast browsers there are the first “robust” HTML5 games. HTML5 games? Is this real? Neowin created a “Top 10” ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong> </strong></p>
<p>Game Developing is an interesting subject for all kind of software developer. But as a web developer without any Flash-skills there aren’t that much starting points. With HTML5 and the combination between Javascript, CSS3 and fast browsers there are the first “robust” HTML5 games.</p>
<p><strong>HTML5 games? Is this real?</strong></p>
<p>Neowin created a <a href="http://www.neowin.net/news/top-10-html5-games">“Top 10” list of HTML5 game</a>s. We should take a deeper look on the first place because the developers let us take a few behind the scenes. <a href="http://www.cuttherope.ie/">CutTheRope.ie</a> – developed by Microsoft for promoting there IE/HTML/Web platforms. The game works also on iPads or in a Chrome Browser. I found many information’s on the <a href="http://www.cuttherope.ie/dev/">“behind the scenes” page</a>. At last I’m not able to work with the Debugger and the Dev tools of IEs but according to video it seems to be a big help for the developer <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile36.png" alt="Zwinkerndes Smiley" /></p>
<p>&nbsp;</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:c164a7b5-f2e4-4185-9f36-4545c4995d56" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div><object width="436" height="245"><param name="movie" value="http://www.youtube.com/v/px_n1pNzEwI?hl=en&amp;hd=1" /><embed type="application/x-shockwave-flash" width="436" height="245" src="http://www.youtube.com/v/px_n1pNzEwI?hl=en&amp;hd=1"></embed></object></div>
</div>
<p>Also in the Neowin list is Angry Birds which is doubtless the best known game on the list but I didn’t found any important developing subjects. Just this Post where it is mentioned that the Web Audio API is going to be used now (pushed by Google <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile36.png" alt="Zwinkerndes Smiley" />)</p>
<p>Also a quite ambitioned project is <a href="http://www.adityaravishankar.com/projects/games/command-and-conquer/">Command &amp; Conquer as an HTML5 Browser game</a>. Nice future: <a href="https://github.com/adityaravishankar/command-and-conquer/">the Source is on GitHub</a>. The game isn’t that matured compared to CutTheRope put it is more extensive and I’m sure there isn’t a huge team of developers like on Microsoft.</p>
<p>&nbsp;</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:19f8f779-5792-4128-8ec5-081a618193bb" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div><object width="484" height="271"><param name="movie" value="http://www.youtube.com/v/lorDK_gY3CI?hl=en&amp;hd=1" /><embed type="application/x-shockwave-flash" width="484" height="271" src="http://www.youtube.com/v/lorDK_gY3CI?hl=en&amp;hd=1"></embed></object></div>
</div>
<p><strong>“Tooling”</strong></p>
<p><a href="http://www.hteumeuleu.fr/bret-victor-et-le-futur-des-interfaces-de-developpement/">Bret Victor</a> a Developer from France gives thoughts to “IDE for WebGames” and presented them on a <a href="http://vimeo.com/36579366">conference.</a> He created a kind of interactive editor to bring Mario into the web – unfortunately I wasn’t able to found out what exactly he used but the short video is very impressing:</p>
<p>&nbsp;</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:27c0665c-4d76-4df5-8e1b-2bf7947540e1" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div><object width="503" height="282"><param name="movie" value="http://www.youtube.com/v/PlI-gPu3SPI?hl=en&amp;hd=1" /><embed type="application/x-shockwave-flash" width="503" height="282" src="http://www.youtube.com/v/PlI-gPu3SPI?hl=en&amp;hd=1"></embed></object></div>
</div>
<p><strong>3D before WEbGL</strong></p>
<p><strong> </strong></p>
<p>Even if the browser creators agree about HTML5 and Javascript are the future of web developing they do not agree in the field of 3D.</p>
<p>Google (for example) pushes <a href="http://www.knowyourstack.com/what-is/webgl">WebGL</a> and brought Quake into the web. I was able to play <a href="http://playwebgl.com/games/quake-2-webgl/">Quake 2</a> for a short time on my browser (until it crashed <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile36.png" alt="Zwinkerndes Smiley" />). Google Maps only ported some parts of <a href="http://www.chromeexperiments.com/detail/mapsgl/">WebGL</a> to improve the sight. Microsoft on the other side sees WebGL as a Security problem.</p>
<p>In which direction the whole thing will go and if there will be a DirectWeb someday is not sure at the moment.</p>
<p>If you are interested in WebGL anyway you should take a deeper view on <a href="http://mrdoob.github.com/three.js/">three.js.</a></p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/three.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="three" src="http://code-inside.de/blog-in/wp-content/uploads/three_thumb.png" border="0" alt="three" width="448" height="273" /></a></p>
<p>&nbsp;</p>
<p><strong>Hints?</strong></p>
<p><strong> </strong></p>
<p>If you are hiding some other interesting details from the game developing and graphic world via web – leave a comment!</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/sIOUty3IZ1w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/03/29/html-5-games-tooling-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/03/29/html-5-games-tooling-3d/</feedburner:origLink></item>
		<item>
		<title>Free Online-Tutorial „30 Days to Learn jQuery“</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/KlUGlXaPLRI/</link>
		<comments>http://code-inside.de/blog-in/2012/03/20/free-online-tutorial-30-days-to-learn-jquery/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 19:17:05 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/2012/03/20/free-online-tutorial-30-days-to-learn-jquery/</guid>
		<description><![CDATA[&#160; There is a free online Tutorial about jQuery in English on Tuts + premium. The tutorial includes Basics, Effects, Plugin-development, AJAX and more. The videos are from a few minutes till 45 minutes. I’ve taken a look on a few videos so far and I saw the whole “this” Keyword video – it’s worth! ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1477-570x180.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image1477-570x180" border="0" alt="image1477-570x180" src="http://code-inside.de/blog-in/wp-content/uploads/image1477-570x180_thumb.png" width="527" height="167" /></a><b></b></p>
<p>&#160;</p>
<p>There is a free <a href="http://tutsplus.com/course/30-days-to-learn-jquery/">online Tutorial about jQuery</a> in English on <a href="http://tutsplus.com/">Tuts + premium</a>. The tutorial includes Basics, Effects, Plugin-development, AJAX and more. The videos are from a few minutes till 45 minutes. I’ve taken a look on a few videos so far and I saw the whole <a href="http://tutsplus.com/lesson/the-this-keyword/">“this” Keyword video</a> – it’s worth!</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image1478.png" width="571" height="396" /></p>
<p>Maybe this isn’t a new message for you but I found it today on the <a href="http://www.mycsharp.de/wbb2/thread.php?threadid=101405">mycsharp Forum</a>.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/KlUGlXaPLRI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/03/20/free-online-tutorial-30-days-to-learn-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/03/20/free-online-tutorial-30-days-to-learn-jquery/</feedburner:origLink></item>
		<item>
		<title>Speech Input API – speech input with an attribute in the Web?</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/DFVxwEJG038/</link>
		<comments>http://code-inside.de/blog-in/2012/03/16/speech-input-api-speech-input-with-an-attribute-in-the-web/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 14:24:26 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/?p=898</guid>
		<description><![CDATA[&#160; By accident I found the page of code.nasa.org today. A little icon showing a microphone cached my attention: Since Chrome 11 there is a “support” for the Speech Input API. I’ve read about this but in fact I thought the integration would be more extensive. Surprisingly the implementation is very easy – with the ...]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>By accident I found the page of <a href="http://code.nasa.gov/">code.nasa.org</a> today. A little icon showing a microphone cached my attention:</p>
<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 0px; border: 0px;" title="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb613.png" border="0" alt="image" width="535" height="109" /></p>
<p><a href="http://www.thechromesource.com/how-to-demo-chrome-11s-speech-recognition-feature/">Since Chrome 11</a> there is a “support” for the <a href="http://lists.w3.org/Archives/Public/public-xg-htmlspeech/2011Feb/att-0020/api-draft.html">Speech Input API</a>. I’ve read about this but in fact I thought the integration would be more extensive. Surprisingly the implementation is very easy – with the attribute “x-webkit-speech” (later on it’s only “speech”). The whole thing should be able to work with Input and Textarea elements:</p>
<div id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:3628542e-0da2-407e-80b2-458cc7027018" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<pre class="c#">//Supported elements

&lt;input type="text" x-webkit-speech /&gt;
&lt;textarea x-webkit-speech /&gt;</pre>
</div>
<p><strong>A bottle of bitterness</strong></p>
<p><strong> </strong></p>
<p>It only works on Chrome and you have to speak very slow and clear. He doesn’t understand German and only a few English. Hmm… not a Siri at all. The Speech Input API is still in his baby shoes and there aren’t that many improvements since the Release of Chrome 11.</p>
<p><strong>Have a try</strong></p>
<p>You are able to try it for example <a href="http://slides.html5rocks.com/#speech-input">here</a>. But this video shows how it works as well (for those who are not Chrome users <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile35.png" alt="Zwinkerndes Smiley" />)</p>
<p>&nbsp;</p>
<div id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:700036c3-e6e0-4b00-9d49-ff44f8acfdcb" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div><object width="640" height="360"><param name="movie" value="http://www.youtube.com/v/i225WaqV8tM?hl=en&amp;hd=1" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://www.youtube.com/v/i225WaqV8tM?hl=en&amp;hd=1"></embed></object></div>
</div>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/DFVxwEJG038" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/03/16/speech-input-api-speech-input-with-an-attribute-in-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/03/16/speech-input-api-speech-input-with-an-attribute-in-the-web/</feedburner:origLink></item>
		<item>
		<title>Git-Pull Request mergen for beginners</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/PzIvc-eggos/</link>
		<comments>http://code-inside.de/blog-in/2012/02/19/git-pull-request-mergen-for-beginners/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 12:26:53 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/2012/02/19/git-pull-request-mergen-for-beginners/</guid>
		<description><![CDATA[My project “KnowYourStack.com” (the working title was BizzBingo – a detailed blogpost will follow soon) lays on GitHub and I’ve recognized a Problem where Daniel Lang helped me a lot. At the end he created a Fork for my Project and laid a Pull Request: The question is: How do I transfer the changes to ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image1450-570x194.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image1450-570x194" border="0" alt="image1450-570x194" src="http://code-inside.de/blog-in/wp-content/uploads/image1450-570x194_thumb.png" width="498" height="170" /></a></p>
<p>My project “<a href="http://knowyourstack.com/">KnowYourStack.com</a>” (the working title was BizzBingo – a detailed blogpost will follow soon) lays on <a href="https://github.com/robertmuehsig/BizzBingo">GitHub</a> and I’ve recognized a Problem where <a href="http://daniellang.net/">Daniel Lang</a> helped me a lot. At the end he created a Fork for my Project and laid a Pull Request:</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb625.png" width="583" height="192" /></p>
<p><b>The question is: How do I transfer the changes to me?</b></p>
<p>Because I’m a totally beginner in <a href="http://www.knowyourstack.com/what-is/git">Git</a>/<a href="http://www.knowyourstack.com/what-is/github">GitHub</a> I’m going to write it down step by step. The <a href="http://help.github.com/send-pull-requests/">help</a> page on GitHub was a good introduction but at last I need to merge several files during this action which makes this a lot more complicated.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:f7c2f135-b3e9-445b-9e61-88cf970a051a" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">git checkout master
...
git pull https://github.com/dlang/BizzBingo master
... (VIELE DATEIEN werden gezogen)...</pre>
</div>
<p><b></b></p>
<p><b>Result:</b></p>
<p>“Automatic merge failed: fix conflicts and then commit the result.” </p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:b2fbb714-72bf-4584-bc99-3c99a09dc1a3" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">$ git mergetool</pre>
</div>
<p><b>Beware: </b>Before you start make sure you already created a Mergetool. It’s not that difficult and you will find a <a href="http://gitguru.com/2009/02/22/integrating-git-with-a-visual-merge-tool/">detailed instruction here</a>. In fact all you have to do is to choose a Merge Program (I’ve chosen <a href="http://kdiff3.sourceforge.net/">KDiff3</a> but it’s ugly). And after that you need to tell Git which tool is the right one for the mergen process. At the end that’s what the .gitconfig looks like: </p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:26b42d98-a735-4b8b-be0b-f3997c7ef161" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">[/diff]

	tool = kdiff3

[merge]

	tool = kdiff3

[mergetool "kdiff3"]

	path = C:/Program Files (x86)/KDiff3/kdiff3.exe

    keepBackup = false

    trustExitCode = false

[difftool "kdiff3"]

    path = C:/Program Files (x86)/KDiff3/kdiff3.exe

    keepBackup = false

    trustExitCode = false</pre>
</div>
<p>After that the files will merge to GitHub with “commit” and “push”. That’s it. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smiley" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-smile12.png" /></p>
<p>I think that will work – Thanks again Daniel <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smiley" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-smile12.png" /></p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/PzIvc-eggos" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/02/19/git-pull-request-mergen-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/02/19/git-pull-request-mergen-for-beginners/</feedburner:origLink></item>
		<item>
		<title>Carriage Return / new line in Textareas</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/0wexH8CzT-8/</link>
		<comments>http://code-inside.de/blog-in/2012/02/15/carriage-return-new-line-in-textareas/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 17:45:30 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/2012/02/15/carriage-return-new-line-in-textareas/</guid>
		<description><![CDATA[&#160; A little task: each new text line (Carriage Return/ if you press enter ) in a Textarea should be an element on a list – so what’s the easiest way? Actual a basic element in the web and the user make aware distributions – so it would be fair to dignify it. Little MVC ...]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>A little task: each new text line (Carriage Return/ if you press enter <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Zwinkerndes Smiley" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile33.png" />) in a Textarea should be an element on a list – so what’s the easiest way? Actual a basic element in the web and the user make aware distributions – so it would be fair to dignify it. </p>
<p><b>Little MVC Demo App:</b></p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb630.png" width="244" height="171" /></p>
<p>We are going to analyze the input in this text field a little bit closer. In my option the “split” happens on the Server-Side but it’s also possible on JavaScript. </p>
<p><b>After you’ve klicked on “ok”:</b></p>
<p>The controller receives the text you’ve entered. After the user pressed “enter” in the Textarea either an \n or a \r\n as “functional character”. ( I think it’s in connection with the operation system…. But that’s another story <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Zwinkerndes Smiley" src="http://code-inside.de/blog-in/wp-content/uploads/wlEmoticon-winkingsmile33.png" />). </p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb631.png" width="402" height="91" /></p>
<p>After that all we have to is to split the string on this sign and then we are able to take care about the single distributions:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:30a3625a-780e-4c6b-9135-f29cf38236fd" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">  public ActionResult Multiline(string input)
        {
            ViewBag.MultilineRaw = input;

            List&lt;string&gt; eachLine = input.Split(new string[] { "\n", "\r\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
            ViewBag.MultilineSplitted = eachLine;

            return View("Index");
        }</pre>
</div>
<p>View:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:d1f7456c-831b-4f33-a45d-c85b7e342997" class="wlWriterEditableSmartContent">
<pre name="code" class="c#">@using(Html.BeginForm("Multiline", "Home"))
{
    @Html.TextArea("input")
    &lt;button&gt;OK&lt;/button&gt;
}
@if(string.IsNullOrWhiteSpace(ViewBag.MultilineRaw) == false)
{
&lt;h2&gt;Input&lt;/h2&gt;
&lt;p&gt;Raw: @ViewBag.MultilineRaw&lt;/p&gt;
&lt;h3&gt;Each Line&lt;/h3&gt;
    &lt;ul&gt;
        @foreach(var line in @ViewBag.MultilineSplitted)
        {
        &lt;li&gt;@line&lt;/li&gt;
        }
    &lt;/ul&gt;
}</pre>
</div>
<p>Result:</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image_thumb632.png" width="310" height="273" /></p>
<p>Not a big deal but maybe a help for some of you. </p>
<p><a href="http://code.google.com/p/code-inside/source/browse/#git%2F2011%2Fmvcmultiline">[Download on Google Code]</a></p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/0wexH8CzT-8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/02/15/carriage-return-new-line-in-textareas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/02/15/carriage-return-new-line-in-textareas/</feedburner:origLink></item>
		<item>
		<title>WebDev Playground: dabblet.com for HTML/CSS, jsfiddler.com for JS &amp; HUrl.it for REST</title>
		<link>http://feedproxy.google.com/~r/Code-InsideBlogInternational/~3/M4WDIJ4R_dA/</link>
		<comments>http://code-inside.de/blog-in/2012/02/08/webdev-playground-dabblet-com-for-htmlcss-jsfiddler-com-for-js-hurl-it-for-rest/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 13:57:42 +0000</pubDate>
		<dc:creator>Code Inside Team</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://code-inside.de/blog-in/2012/02/08/webdev-playground-dabblet-com-for-htmlcss-jsfiddler-com-for-js-hurl-it-for-rest/</guid>
		<description><![CDATA[&#160; What was reserved for mighty Desktop Apps in the past is now coming closer to the web. I’ve going to present three tools to you which are very useful for web developer. At least all the tools are quite cool in there functionality. Playground for HTML/CSS If you need a quick Playground for CSS ...]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>What was reserved for mighty Desktop Apps in the past is now coming closer to the web. I’ve going to present three tools to you which are very useful for web developer. At least all the tools are quite cool in there functionality. </p>
<p><b>Playground for HTML/CSS</b></p>
<p><b></b></p>
<p>If you need a quick Playground for CSS and HTML than you should take a look on <a href="http://dabblet.com/">Dabblet.com</a>:</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image1447.png" width="594" height="238" /></p>
<p>The basics are easy to explain: You are able to hitch CSS and HTML Code into the Web surface and you will see the result directly on the Preview.</p>
<p>It’s also possible to save it or share it via Link with somebody else: More Information’s on this <a href="http://blog.dabblet.com/">Blog</a> or you <a href="http://dabblet.com/">try it by yourse</a>lf. </p>
<p><b>Playground for Javascript (and HTML and CSS)</b></p>
<p><b></b></p>
<p>If you are looking for a Javascript Playground and other additional Frameworks “per Click” a <a href="http://jsfiddle.net/">jsfiddler.com</a> a good address: </p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog/wp-content/uploads/image1448.png" width="617" height="328" /></p>
<p>It’s possible to see some Examples on the Sidebar like for <a href="http://jsfiddle.net/pborreli/pJgyu/">example a simple Twitter Reader</a>.</p>
<p>Here you can deposit CSS/HTML but in fact it doesn’t look so classy like dabblet.com. </p>
<p><b>Hurl.it – curl online </b></p>
<p>Last service in this row: hurl.it modeled on curl. </p>
<p><a href="http://code-inside.de/blog-in/wp-content/uploads/image162.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://code-inside.de/blog-in/wp-content/uploads/image_thumb70.png" width="499" height="424" /></a></p>
<p>The first examples are directly on the home page like a <a href="http://hurl.it/hurls/8e0ac4075fa20091ad136326201b98ccecdb6220/e49d01e6beca4dd7561e0865387af315538e3407">request to the GitHubAPI</a>. But the service is quite insecure (it wasn’t available the last view days) and there are some problems with answers (the Stackoverflow API doesn’t worked with this Tool).</p>
<p>But at least it is also useful if you want to have a quick play around with a REST Service.</p>
<img src="http://feeds.feedburner.com/~r/Code-InsideBlogInternational/~4/M4WDIJ4R_dA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://code-inside.de/blog-in/2012/02/08/webdev-playground-dabblet-com-for-htmlcss-jsfiddler-com-for-js-hurl-it-for-rest/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://code-inside.de/blog-in/2012/02/08/webdev-playground-dabblet-com-for-htmlcss-jsfiddler-com-for-js-hurl-it-for-rest/</feedburner:origLink></item>
	</channel>
</rss>

