<?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>Sun, 22 Apr 2012 21:58:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</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>Testing a restful JSON API</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/51vxJh0-Gs8/</link>
		<comments>http://blog.codestars.eu/2012/testing-a-restful-json-api/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 21:52:52 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[Digital Pioneers]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Symfony2]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=483</guid>
		<description><![CDATA[Back in blog business, first I want to start with a very few personal words. I left the gaming industries, now I&#8217;m working for Digital Pioneers N.V. there we do rapidly prototyping of new ideas with cool, new shiny techniques! At the moment I work on the backend for Stuffle, the client-server communication is done via a [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Back in blog business, first I want to start with a very few personal words. I left the gaming industries, now I&#8217;m working for <a href="http://www.digitalpioneers.de">Digital Pioneers N.V.</a> there we do rapidly prototyping of new ideas with cool, new shiny techniques!</p>
<p>At the moment I work on the backend for <a href="http://signup.stuffle.it/">Stuffle</a>, the client-server communication is done via a restful json api. And here the challende begun. Symfony2 luckily offers very cool techniques to build a restful HTTP api. But as the client is written in a strongly typed language we have to make sure to meet the specified api. And when I say meet I&#8217;m fucking serious, a &#8220;date&#8221; must be and timestamp, nothing easier then that right? But when we as PHP developers take almost everything as a valid timestamp:</p>
<p><script type="text/javascript" src="https://gist.github.com/2467118.js?file=example-json.js"></script></p>
<p>Nor in a strongly typed language, there we&#8217;ll already come into trouble with the second example. So we have to find a way to make the API very stable even during the development process, because the two parts were developed at the same time. So we decided to develop the API test driven. But have you ever written tests with for stuff like this, I did not before! Luckily we use symfony2 so the first step was to implement a service that transfroms our MongoDB documents (with some other extra dataproviders) into a json string which met the specifications. So almost all of our actions ends like<script type="text/javascript" src="https://gist.github.com/2467118.js?file=example-response.php"></script></p>
<p>Now we&#8217;ll come to the tricky part. Because if we want to test the whole response including the types and it&#8217;s correct we would end in test methods containing around 200 assertions. NO WAY!</p>
<p>So we splinted up the whole thing into it&#8217;s parts. First of all we wrote normal UnitTests for the &#8220;api.response.json&#8221; service, and honestly mocking MongoDB documents sucks hard! And I swear next time I need some thing like that I&#8217;ll write an plugin for that. Anyway, that UnitTests make sure that the response is always valid when we&#8217;re using this service for the response content.</p>
<p>The other and even bigger part are the integration tests (Symfony WebTestCase). We use fixtures, lots of &#8216;em. And due to that fact the the UnitTests for this &#8220;api.response.json&#8221; service make certain that the response is valid regarding the api specs. We just have to check the HTTP response code and maybe some smaller fractional checks for the data in the response.</p>
<p>And yeha, that&#8217;s basically it. So the magic is to bundle all the responses to the service. And a little side note when you&#8217;re interested in how we&#8217;re developing and deploying my college <a href="https://twitter.com/#!/fholzhauer">florian</a> wrote a few articles on <a href="http://fh.vc/">his blog[GER]</a>.</p>
<div class="shr-publisher-483"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/51vxJh0-Gs8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2012/testing-a-restful-json-api/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2012/testing-a-restful-json-api/</feedburner:origLink></item>
		<item>
		<title>Search Monster</title>
		<link>http://feedproxy.google.com/~r/Codestars/~3/OEHguO2yeqg/</link>
		<comments>http://blog.codestars.eu/2012/search-monster/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 13:08:14 +0000</pubDate>
		<dc:creator>Ole Michaelis</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.codestars.eu/?p=474</guid>
		<description><![CDATA[Just the results of an sick idea, implemented quickly and dirty. There&#8217;s also a cli version in PHP Next step should be and npm package]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Just the results of an sick idea, implemented quickly and dirty.<br />
<iframe name="SearchMonster" src="http://dl.dropbox.com/u/18537549/monster/index.html" width="520" height="440"></iframe></p>
<p>There&#8217;s also a <a href="http://www.youtube.com/watch?v=UAIaJPkSuUw&amp;feature=youtu.be">cli version in PHP</a><br />
Next step should be and npm package <img src='http://blog.codestars.eu/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<div class="shr-publisher-474"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><img src="http://feeds.feedburner.com/~r/Codestars/~4/OEHguO2yeqg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.codestars.eu/2012/search-monster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2012/search-monster/</feedburner:origLink></item>
		<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>1</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>3</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>1</slash:comments>
		<feedburner:origLink>http://blog.codestars.eu/2011/themes-for-netbeans/</feedburner:origLink></item>
	</channel>
</rss>

