<?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>CodeStars Development</title>
	
	<link>http://blog.codestars.eu</link>
	<description>Web, JavaScript and bleeding edge technologies</description>
	<lastBuildDate>Wed, 11 Jan 2012 21:32:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://blog.codestars.eu</link>
<url>http://blog.codestars.eu/wp-content/mbp-favicon/favicon.ico</url>
<title>CodeStars Development</title>
</image>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Codestars" /><feedburner:info uri="codestars" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>My InnoGames GameJam Story</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/fhKzoeX4faE/</link>
		<comments>http://blog.codestars.eu/2012/my-innogames-gamejam-story/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 21:57:45 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[InnoGames]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Innogames]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[W T F ?! of the day]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=439</guid>
		<description><![CDATA[This weekend there was a big event at my employer InnoGames: The InnoGames GameJam Volume 2! It was the second Jam InnoGames organized, but the first time for me attending. So there were tons of new experience and fun for me. The countdown started Friday at 6 P.M. GMT + 1 and holds 48 hours [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This weekend there was a big event at my employer InnoGames: The InnoGames GameJam Volume 2!<br />
It was the second Jam InnoGames organized, but the first time for me attending. So there were tons of new experience and fun for me.</p>
<p>The countdown started Friday at 6 P.M. GMT + 1 and holds 48 hours of hardcore programming for us. At the beginning Michael, our organizer, hold a little (not well prepared) keynote and announced the topic of the jam: <strong>Space</strong><br />
<span id="more-439"></span><br />
I teamed up with two of my regular WestWars colleagues, Patrick another developer and David an awesome graphic (3D) artist. And we decided to make a 2D Action-RTS-Multiplayer-Shooting Game. Sounds awesome? Indeed it is! You&#8217;ll get the link at the end of the post.</p>
<p>We got inspired by this video i found a few month ago in my twitter stream:</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/WKfiSED7MVs?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>So we started working and working and working&#8230; We used Node.js, with express, jade and Socket.io in the frontend we choosed Crafty.<br />
Finally we came close to the end of the 48 hours countdown, and yeha, i&#8217;m proud that i can say that we got a result. AND its very impressiv and cool! Of cause there were a few bugs, and honestly the code quality is like shit. But it&#8217;s ok we (and you) have to keep in mind that the whole game including ideas, graphics, programming and testing has to be done in just 48 hours.<br />
I only got 6 hours sleep over the whole weekend, that wasn&#8217;t much but I&#8217;m ok with that. InnoGames sponsored RedBull and Pizza for all so we got awesome support!</p>
<p>So and this is what we got and we call it <strong>Space Kitchen</strong>:</p>
<div id="attachment_443" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.codestars.eu/wp-content/uploads/2012/01/spacekitchen.jpg" rel="lightbox[439]"><img class="size-medium wp-image-443" title="SpaceKitchen" src="http://blog.codestars.eu/wp-content/uploads/2012/01/spacekitchen-300x153.jpg" alt="SpaceKitchen" width="300" height="153" /></a><p class="wp-caption-text">Space Kitchen</p></div>
<p>And you can test and play it <a title="here" href="http://codestars.eu:3000" target="_blank">here</a>. Keep in mind that this is a multiplayer game and that it won&#8217;t be much fun to play alone, or let me say you can not really play alone. So pick up a colleague and go for a round full of Action and Fun! Oh and please don&#8217;t use Chrome, there was a little bug that we can not solve in time. But IE is working (loooool, but really it works) and of cause FF, Opera and Safari too. And don&#8217;t forget to turn up your volume <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>At the end of this article I&#8217;d like to say a huuuuge thanks to all attendees, organizers and of cuase my awesum employer <a title="InnoGames" href="http://www.innogames.com" target="_blank">InnoGames</a>!</p>
<p>Hope to see ya&#8217; all at the next InnoGames GameJam!</p>
<p>If you have any game related feedback for us, please leave a comment here in my blog.</p>
<p><span style="font-size: x-small;">P.S. Did you found the penis?</span> <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Update 11.01.2012 10:30 Uhr:</strong><br />
InnoGames shared this post at <a href="http://blog.innogames.de/" title="The InnoGames Blog" target="_blank">The InnoGames Blog</a></p>
<div class="shr-publisher-439"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/fhKzoeX4faE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2012/my-innogames-gamejam-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2012/my-innogames-gamejam-story/</feedburner:origLink></item>
		<item>
		<title>Game of Life with JavaScript and Canvas</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/jtaUA5MmWi8/</link>
		<comments>http://blog.codestars.eu/2011/game-of-life-with-javascript-and-canvas/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 23:04:31 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Conway]]></category>
		<category><![CDATA[Game of Life]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=426</guid>
		<description><![CDATA[Hey there! I&#8217;m back! After a long time of silence here in this Blog, I&#8217;ll post some new stuff. This time just a little test or example from my labs. I wrote Conways Game of Life in JavaScript and rendered it on a Canvas element. And yeha, i just like simple like this: You can find [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hey there! I&#8217;m back!</p>
<p>After a long time of silence here in this Blog, I&#8217;ll post some new stuff. This time just a little test or example from my labs. I wrote <a href="http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life" target="_blank">Conways Game of Life</a> in JavaScript and rendered it on a Canvas element.</p>
<p>And yeha, i just like simple like this:</p>
<p><iframe name="GameOfLife" src="http://dl.dropbox.com/u/18537549/game-of-life/gol.html" width="240" height="240"></iframe></p>
<p>You can find the pages <a href="http://dl.dropbox.com/u/18537549/game-of-life/gol.html" target="_blank">here</a>. It&#8217;s only client-side code and not obfuscated or some thing, so feel free to take a look on the uncommented source.</p>
<p>Next step maybe is replace the canvas rendering with divs and dom, cuz &#8230; yeha &#8230; canvas is just too slow and maybe i&#8217;ll post this here again.</p>
<div class="shr-publisher-426"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/jtaUA5MmWi8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2011/game-of-life-with-javascript-and-canvas/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/game-of-life-with-javascript-and-canvas/</feedburner:origLink></item>
		<item>
		<title>Profiling with WebKit</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/rnTcLmfJ9j4/</link>
		<comments>http://blog.codestars.eu/2011/profiling-with-webkit/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 11:18:05 +0000</pubDate>
		<dc:creator>Jan Scheurer</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Speed Up!]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Chromium]]></category>
		<category><![CDATA[Inspector]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Profiling]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=406</guid>
		<description><![CDATA[Hello again! If you follow me on twitter you&#8217;ve already noticed that I took a look into the Chromium source. I was searching for a way to profile specific code snippets. I asked google for the WebKit Inspector Profile API with no result. So i digged around in the WebKit Inspector code and found out [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello again!<br />
If you follow me on twitter you&#8217;ve already noticed that I took a look into the Chromium source.<br />
I was searching for a way to profile specific code snippets.<br />
I asked google for the WebKit Inspector Profile API with no result.<br />
So i digged around in the WebKit Inspector code and found out how it works.</p>
<pre>
console.profile("Hard Calculations");
// the script you want to profile
console.profileEnd();
</pre>
<p>Pretty easy, huh?<em> &#8220;Hard Calculations&#8221;</em> is the name of the profile that will be created.<br />
Btw. if you run this in the console itself you&#8217;ll only see injection functions so try it in your project.</p>
<p>Hope this was helpful for you.<br />
Have a nice day!</p>
<div class="shr-publisher-406"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/rnTcLmfJ9j4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2011/profiling-with-webkit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/profiling-with-webkit/</feedburner:origLink></item>
		<item>
		<title>Change URL without reload</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/kG8QBF5SoT4/</link>
		<comments>http://blog.codestars.eu/2011/change-url-without-reload/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 12:52:37 +0000</pubDate>
		<dc:creator>Jan Scheurer</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Pushstate]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=383</guid>
		<description><![CDATA[Hello and welcome to the show I&#8217;m the new guy in the hood, i&#8217;ll also mostly talk about javascript development, maybe some server-side stuff and, if somebody cares, also 3D related stuff. Alright lets hit it. We all know and use it, facebook. As a webdeveloper you may have noticed that the &#8220;main content area&#8221;(where the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello and welcome to the show <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I&#8217;m the new guy in the hood, i&#8217;ll also mostly talk about javascript development, maybe some server-side stuff and, if somebody cares, also 3D related stuff. Alright lets hit it.</p>
<p>We all know and use it, facebook. As a webdeveloper you may have noticed that the &#8220;main content area&#8221;(where the posts are) is the only part that reloads. <strong>It&#8217;s AJAX</strong>, damn you already knew that?! Ok, but you may asked your self how they&#8217;re changing the URL without a reload. I can tell you,this it not the all so mighty web 2.0 ajax magic thing. The stuff we are talking about is cooler, a lot cooler, it&#8217;s this experimental stuff, this &#8220;you can do everything, and more, in the browser without plugins&#8221; &#8211; <strong>HTML5</strong>.</p>
<p>So if you&#8217;re developing with browser compatibility in mind, take a second look at the url on facebook. It has a questionmark in the beginning, so PHP will parse these URL too. On the one hand it&#8217;s to be compatible with those other browsers on the other hand you need this for users who are browsing directly to one of those subpages.</p>
<p>&#8220;<em>Stop talking and show me how it works!</em>&#8221;</p>
<p>Alright!</p>
<p>You may think it has something to do with the window.location object. Sorry, it&#8217;s not! The object we&#8217;re looking at now is the window.history object.</p>
<pre>window.history.pushState(
{
'test':"oh i am a test text :O",
'stuff':"some stuff here"
},"History title","/?changed");</pre>
<p>So what do we have here?</p>
<p>The first parameter is an object which we&#8217;ll parse later, the second one is simply the name of the state and the third and last one is the new url. You can also change the whole url by starting with &#8220;http://&#8221; but same origin policy will prevent you from doing malicius stuff with it.</p>
<p>So lets go one step further and parse this object and also detecting and reacting on state changes.</p>
<pre>window.onpopstate = function(event){
alert(event.state.test);
alert(event.state.stuff);
}</pre>
<p>So i think this is pretty self explanatory, the onpopstate event get triggered if you move forward or backward in your browser history.<br />
The state object contains the stuff you pushed in there. You&#8217;ll also find the state name somewhere in the event object.</p>
<p>I hope you enjoyed the read and we&#8217;ll see us again.<br />
Follow me @<a title="twitter" href="http://twitter.com/#!/LJ_1102" target="_blank">twitter</a> if you want to get news about WebGL and gamedevelopment related topics<br />
and stay tuned to this blog for bleeding edge web technology informations.</p>
<p>see ya!</p>
<div class="shr-publisher-383"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/kG8QBF5SoT4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2011/change-url-without-reload/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/change-url-without-reload/</feedburner:origLink></item>
		<item>
		<title>Life’s changing … Blog’s changing</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/W7gh8Q24F_Q/</link>
		<comments>http://blog.codestars.eu/2011/lifes-changing-blogs-changing/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 09:08:21 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[One Step]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=398</guid>
		<description><![CDATA[After I did my last oral exam last weeks, this blog title shouldn&#8217;t be longer about trainee ship. So the blog title change, but the topics will stay the same! Ohh and I forgot to mention &#8230; The &#8220;Download&#8221; section will close in near future. Because that&#8217;s so 2000-style. I&#8217;ll host all interesting code on github]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>After I did my last oral exam last weeks, this blog title shouldn&#8217;t be longer about trainee ship.<br />
So the blog title change, but the topics will stay the same!</p>
<p>Ohh and I forgot to mention &#8230; The &#8220;Download&#8221; section will close in near future. Because that&#8217;s so 2000-style. I&#8217;ll host all interesting code on github <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-398"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/W7gh8Q24F_Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2011/lifes-changing-blogs-changing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/lifes-changing-blogs-changing/</feedburner:origLink></item>
		<item>
		<title>RauteMusik.FM goes live!</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/NG7P5LXmFfM/</link>
		<comments>http://blog.codestars.eu/2011/rautemusik-fm-goes-live/#comments</comments>
		<pubDate>Mon, 02 May 2011 14:49:06 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[RauteMusik]]></category>
		<category><![CDATA[#Musik]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=375</guid>
		<description><![CDATA[Hey there, After about only 3 Month of developemnt time, my newest project goes live: www.RauteMusik.FM That´s also the reason why it was so damn quiet the last month. And I hope, that I now have more time for this blog. Hope you all like this site. It tooks a lot of work for my [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hey there,</p>
<p>After about only 3 Month of developemnt time, my newest project goes live: <a href="http://www.rm.fm">www.RauteMusik.FM</a><br />
That´s also the reason why it was so damn quiet the last month. And I hope, that I now have more time for this blog.</p>
<div id="attachment_376" class="wp-caption aligncenter" style="width: 170px"><a href="http://blog.codestars.eu/wp-content/uploads/2011/05/RauteMusik.FM_.png" rel="lightbox[375]"><img class="size-medium wp-image-376" title="RauteMusik.FM" src="http://blog.codestars.eu/wp-content/uploads/2011/05/RauteMusik.FM_-160x300.png" alt="RauteMusik.FM Homepage" width="160" height="300" /></a><p class="wp-caption-text">RauteMusik.FM Homepage</p></div>
<p>Hope you all like this site. It tooks a lot of work for my and my friends (Tom, Martin and Mike).</p>
<p>Now I can also write about the daily work from time to time. Because its not top secret anymore =)</p>
<p>There is also a YouTube video where you can watch us during the release.</p>
<p><iframe width="560" height="349" src="http://www.youtube.com/embed/Dp9VpYjIUXc" frameborder="0" allowfullscreen></iframe></p>
<p>RauteMusik Developers during the release! Yep! I&#8217;m in there too ^^</p>
<p>Hope you all like it, and please leave a comment if you do so <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If not just stfu!</p>
<p>Bye!</p>
<div class="shr-publisher-375"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/NG7P5LXmFfM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2011/rautemusik-fm-goes-live/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/rautemusik-fm-goes-live/</feedburner:origLink></item>
		<item>
		<title>Calculate age with PHP DateTime</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/o_Q3RzcZzyc/</link>
		<comments>http://blog.codestars.eu/2011/calculate-age-with-php-datetime/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 12:22:51 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[One Step]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[calculate age]]></category>
		<category><![CDATA[get age]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=369</guid>
		<description><![CDATA[Hey there, First of all I want to say sorry, that I don&#8217;t write anything for such a long time, but I&#8217;ve a really big project running and this is why I have no time for blogging at the moment. BUT I want share a little codesnippet with you. The project I mentioned is a [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hey there,</p>
<p>First of all I want to say sorry, that I don&#8217;t write anything for such a long time, but I&#8217;ve a really big project running and this is why I have no time for blogging at the moment. BUT I want share a little codesnippet with you. The project I mentioned is a big community site and therefor I needed a cool way to get the age from a user, but we only have his birthday. And nearly all solutions google shows me don&#8217;t respect the leap-years. So I have to look for a solution on myself. And yeah it&#8217;s pretty easy with the &#8220;new&#8221; PHP DateTime. Take a look:</p>
<pre>
$oDateNow = new DateTime();
$oDateBirth = new DateTime($sDateBirth);
$oDateIntervall = $oDateNow->diff($oDateBirth);
/* @var $oDateIntervall DateInterval */
echo $oDateIntervall->y;
</pre>
<p>That&#8217;s it. Easy, huh?</p>
<p>The next post in abount two weeks hopefully will announce the &#8220;big&#8221; project I&#8217;m working on. So stay tuned&#8230;</p>
<div class="shr-publisher-369"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/o_Q3RzcZzyc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2011/calculate-age-with-php-datetime/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/calculate-age-with-php-datetime/</feedburner:origLink></item>
		<item>
		<title>Themes for Netbeans</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/6-W0gqtFWl0/</link>
		<comments>http://blog.codestars.eu/2011/themes-for-netbeans/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 12:45:09 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[look and feel]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=355</guid>
		<description><![CDATA[Hey folks, It&#8217;s weekend, so there&#8217;s time for own projects and if you do like me, you already programmed the first five days before weekend. So its time for a variety! While I clicked through the NetBeans wiki (Do you know that NetBeans 7 will come with git support?), I discovered that netbeans can also handle some [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hey folks,</p>
<p>It&#8217;s weekend, so there&#8217;s time for own projects and if you do like me, you already programmed the first five days before weekend. So its time for a variety!</p>
<p>While I clicked through the NetBeans wiki <em>(Do you know that NetBeans 7 will come with git support?)</em>, I discovered that netbeans can also handle some kind like themes, called Look and Feel in Java. And you can easily switch between a few themes without any download anything, all the look and feel&#8217;s came with the JDK. I tried a few, but most of the things I downloaded are broken in any kind. So I will show you the inbuild ones. take a look!</p>
<div id="attachment_356" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.codestars.eu/wp-content/uploads/2011/01/playground-NetBeans-IDE-6.9.1_003.png" rel="lightbox[355]"><img class="size-medium wp-image-356" title="GTK - NetBeans IDE 6.9.1" src="http://blog.codestars.eu/wp-content/uploads/2011/01/playground-NetBeans-IDE-6.9.1_003-300x178.png" alt="GTK - NetBeans IDE 6.9.1" width="300" height="178" /></a><p class="wp-caption-text">GTK - NetBeans IDE 6.9.1</p></div>
<div id="attachment_357" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.codestars.eu/wp-content/uploads/2011/01/playground-NetBeans-IDE-6.9.1_004.png" rel="lightbox[355]"><img class="size-medium wp-image-357" title="Metal - NetBeans IDE 6.9.1" src="http://blog.codestars.eu/wp-content/uploads/2011/01/playground-NetBeans-IDE-6.9.1_004-300x178.png" alt="Metal - NetBeans IDE 6.9.1" width="300" height="178" /></a><p class="wp-caption-text">Metal - NetBeans IDE 6.9.1</p></div>
<div id="attachment_358" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.codestars.eu/wp-content/uploads/2011/01/playground-NetBeans-IDE-6.9.1_006.png" rel="lightbox[355]"><img class="size-medium wp-image-358" title="Nimbus - NetBeans IDE 6.9.1" src="http://blog.codestars.eu/wp-content/uploads/2011/01/playground-NetBeans-IDE-6.9.1_006-300x178.png" alt="Nimbus - NetBeans IDE 6.9.1" width="300" height="178" /></a><p class="wp-caption-text">Nimbus - NetBeans IDE 6.9.1</p></div>
<p>And you can also download a﻿﻿ variety of others.</p>
<p>You can try these themes with a single parameter on you netbeans call, like:</p>
<pre>
$ /bin/sh "path/to/netbeans/bin/netbeans" --laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
</pre>
<p>You want to keep these theme? Just set it in your <em>netbeans.conf</em>, its located in your NetBeans etc folder. Just add the &#8211;laf parameter to ﻿<em>netbeans_default_options</em></p>
<p>If you want to see more screens or need more help with the config. Take a look at <a href="http://blogs.sun.com/netbeansphp/entry/how_to_change_look_and" target="_blank">The NetBeansPHP Blog</a>, they put a lot more screens on their page. I think I will go on with Nimbus, or Metal, don&#8217;t really know:)</p>
<p>Happy coding!</p>
<div class="shr-publisher-355"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/6-W0gqtFWl0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2011/themes-for-netbeans/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/themes-for-netbeans/</feedburner:origLink></item>
		<item>
		<title>Inner ‘Classes’ in JavaScript</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/UH6VNpI5bbE/</link>
		<comments>http://blog.codestars.eu/2011/inner-classes-in-javascript/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 12:57:03 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[One Step]]></category>
		<category><![CDATA[InnerClasses]]></category>
		<category><![CDATA[PHP2JS]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=349</guid>
		<description><![CDATA[Hey there, The first post in 2011. So happy new year to all of you! The last days I played around with JavaScript, it&#8217;s a very cool language, and this post should be the first a few JavaScript OOP tutorial posts. And I want to start with a little example for inner classes in JavaScript. [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hey there,</p>
<p><strong>The first post in 2011. So happy new year to all of you!</strong></p>
<p>The last days I played around with JavaScript, it&#8217;s a very cool language, and this post should be the first a few JavaScript OOP tutorial posts. And I want to start with a little example for inner classes in JavaScript. Okok, you all know there are no classes in JavaScript, so there couldn&#8217;t be inner classes. But the known behavior of inner classes like in Java could be ported to JavaScript. Lets see&#8230;</p>
<p>In this example we have a little Object/Class/Function, whatever <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  which loads HTML templates from a Server with AJAX, and to prevent multiple ajax calls to the same template, I want to have a little cache (Note: I you have configured your web server right, it&#8217;ll answer <em>304 NOT MODIFIED</em>, but we also want to save the request. <a title="It's in German, but if any1 is really interested in it. I'll translate it!" href="http://blog.codestars.eu/category/speed_up/">If you want to learn more about configuring your webserver the right way, read my articles about performance optimization for a Apache web server</a>)﻿﻿.</p>
<p>But lets take a look at the code:</p>
<pre>
var TemplatingStuff = function(){
	/** some code **/
	var cache = new function(){
		var cacheData = {};
		this.set = function(name, data){
			cacheData[name] = data;
		};
		this.get = function(name){
			return cacheData[name] || false;
		};
		this.deleteEntry = function(name){
			cacheData[name] = undefined;
		};
		this.flush = function(){
			cacheData = {};
		};
	};
	/** some code **/
}
}
</pre>
<p>Yeah thats it, define a function as usual and add a new in front of it, and assign it to a var, so you can use your cache in the rest of the &#8216;object&#8217;/class/function, whatever <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  And of cause you can also use it with prototyping, but here its public, not private like in the first example.</p>
<pre>
TemplatingStuff.prototype.cache = new function(){
	var cacheData = {};
	this.set = function(name, data){
		cacheData[name] = data;
	};
	this.get = function(name){
		return cacheData[name] || false;
	};
	this.deleteEntry = function(name){
		cacheData[name] = undefined;
	};
	this.flush = function(){
		cacheData = {};
	};
};
</pre>
<p>Ohh and if you&#8217;re curious what I&#8217;m doing there with templating stuff in JavaScript, be prepared. Maybe I&#8217;ll publish it later, just let me say; I&#8217;ll call it UrgeEngine.</p>
<p>See Ya!</p>
<div class="shr-publisher-349"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/UH6VNpI5bbE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2011/inner-classes-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/inner-classes-in-javascript/</feedburner:origLink></item>
		<item>
		<title>On-Screen debugger for JavaScript</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/pniTzKLLsV4/</link>
		<comments>http://blog.codestars.eu/2010/onscreen-debugger/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 00:39:32 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[One Step]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[html debugger]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[javascript debugger]]></category>
		<category><![CDATA[Onscreen]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=321</guid>
		<description><![CDATA[Hey folks, Today I want to show you a little nice tool which I coded today, it&#8217;s not eyeflashing-hardcore-awesomeness BUT its nice! Do you ever saw a desktop gamedeveloper during his work? They mostly have debug output on their screen. Like FPS or s.th. depinding on their needs. They just push string to the upper [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hey folks,</p>
<p>Today I want to show you a little nice tool which I coded today, it&#8217;s not <em>eyeflashing-hardcore-awesomeness</em> BUT its nice! <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Do you ever saw a desktop gamedeveloper during his work? They mostly have debug output on their screen. Like FPS or s.th. depinding on their needs. They just push string to the upper (mostly left) corner.</p>
<p>I&#8217;m not a <strong>desktop</strong> game developer, but I wanna have such a tool, too. So I take a few hours and made one, and its cool. Want to see a demo? Here it is:</p>
<p><script src="http://blog.codestars.eu/wp-content/uploads/downloads/2010/12/visualconsole.js"></script></p>
<div id="debug" style="height: 200px; width: 400px"></div>
<p> <script type="text/javascript">
// <![CDATA[
var vConsole = new visualconsole('#debug');
// ]]&gt;
</script></p>
<p><script type="text/javascript">
// <![CDATA[
jQuery(document).ready(function(){
	vConsole.log("foo");
	vConsole.log("bar", 'bazID');
	vConsole.update('bazID', 'foobar');
	jQuery(window).mousemove(function(event){
		vConsole.update('mousemove', 'Mouse<br/>X: ' + event.clientX + ' Y: ' + event.clientY);
	})
})
// ]]&gt;
</script></p>
<p>Nice, isn&#8217;t it?</p>
<p>And it&#8217;s really easy to use, look</p>
<pre>
// made it accessible in global scope
// and give a target (in jQuery notation)
var vConsole = new visualconsole('#debug');

// now you can use it like this
vConsole.log("foo");
vConsole.log("bar", 'bazID');
vConsole.update('bazID', 'foobar');
</pre>
<p>For me the most important feature is that not like the browser console. Which creates a new line for every entry, you can update existing entries. As you can see in the example the mouse position on the site.<div id="attachment_328" class="wp-caption alignright" style="width: 288px"><a href="http://blog.codestars.eu/wp-content/uploads/2010/12/visualconsole.png" rel="lightbox[321]"><img src="http://blog.codestars.eu/wp-content/uploads/2010/12/visualconsole.png" alt="VisualConsole UML" title="VisualConsole UML" width="278" height="156" class="size-full wp-image-328" /></a><p class="wp-caption-text">VisualConsole UML</p></div></p>
<p>And yeha we&#8217;re so used to UML so I&#8217;ll offer a UML for this too. Greets to my Classmates <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>But there are a few things to note, first this tool requires jQuery, only strings can be displayed correctly and note there&#8217;s no scrolling in it. But feel free to add it, I will add it as soon as I needed it <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Ohh and I nearly missed it to give you the download: [download id="3"]</p>
<p>Hope you enjoy it. If you do, don&#8217;t forget to share this with all your friends via twitter or share it on Facebook</p>
<div class="shr-publisher-321"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/pniTzKLLsV4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2010/onscreen-debugger/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2010/onscreen-debugger/</feedburner:origLink></item>
	</channel>
</rss>

