<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DEcFRHk4eyp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467</id><updated>2011-11-27T15:20:15.733-08:00</updated><title>Kriegsland - Development Blog</title><subtitle type="html">Creating a web-game.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://kriegsland.blogspot.com/" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Kriegsland-DevelopmentBlog" /><feedburner:info uri="kriegsland-developmentblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DEECRX89cCp7ImA9WhdWEUg.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-2790302387569137491</id><published>2011-09-04T10:17:00.000-07:00</published><updated>2011-09-04T10:17:44.168-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-04T10:17:44.168-07:00</app:edited><title>Vaadin, re-building the Dream</title><content type="html">Kriegsland hasn't got much love in a long time. &amp;nbsp;The game I mentioned earlier has likewise been left as is, people laughed at the legion of crabs concept. &amp;nbsp;That, and my design was a little inflexible. &amp;nbsp;I disregarded all OOD for the sake of performance but I ended up with one massive file which made adding new features a headache. &amp;nbsp;I may come back to it later but for now look at this: &amp;nbsp;&lt;a href="http://vaadin.com/home"&gt;http://vaadin.com/home&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Vaadin is a brilliant new tech which provides a complete infrastructure for a Servlet based GWT Rich Internet Application. &amp;nbsp;Now what that means is you can make a really awesome looking web based game for little to no real effort on the infrastructure side. &amp;nbsp;That's the theory anyway. &amp;nbsp;I've been working on some sample apps and it seems great so far, it shares all of the easy UI generation of GWT alongside a lot of built in visual themes and it manages things like the Session for you. &lt;br /&gt;
&lt;br /&gt;
I'll report back with some specific examples but it really seems like technology is starting to catch up with my ideas.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-2790302387569137491?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mQ3l2bd01JXrbUsTM5a_s7bSHY4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mQ3l2bd01JXrbUsTM5a_s7bSHY4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mQ3l2bd01JXrbUsTM5a_s7bSHY4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mQ3l2bd01JXrbUsTM5a_s7bSHY4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/Xq2pEwuk72Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/2790302387569137491/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2011/09/vaadin-re-building-dream.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2790302387569137491?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2790302387569137491?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/Xq2pEwuk72Y/vaadin-re-building-dream.html" title="Vaadin, re-building the Dream" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2011/09/vaadin-re-building-dream.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIFR3w9eCp7ImA9WhZTFEg.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-7574270782564699803</id><published>2011-03-18T06:36:00.000-07:00</published><updated>2011-03-18T06:55:16.260-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-18T06:55:16.260-07:00</app:edited><title>Finally, Something Vaguely Interesting</title><content type="html">&lt;div style="text-align: center;"&gt;Okay, so here's something to report finally.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Out of all my projects one has got to at least a vaguely interesting stage.  Ironically it is almost entirely contained in a single file.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It's a cool little Android game I'm working on.  It's been really interesting so far, I haven't really gone beyond drawing guys to the screen and some basic enemy behavior but hell it's kinda fun.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So, I'll follow that for a while.  At the moment I've just got basic touch based movement and some guys who spawn and run across the screen but after I've added a few new enemies it should get more interesting.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here's a screenshot from the emulator.  More to follow!&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src="http://1.bp.blogspot.com/-iLOX5-AiFFE/TYNhaM-rcVI/AAAAAAAAAQU/gQDWacR68P8/s320/my-new-gammme.jpg" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 226px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5585415065658159442" /&gt;&lt;img src="http://4.bp.blogspot.com/-zdkjuFv7qZs/TYNkGK2yQkI/AAAAAAAAAQk/3iyUx7udGq8/s320/my-new-gammme2.jpg" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 225px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5585418020025680450" /&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-7574270782564699803?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wwaqVQX5ZTl52GgPssTAtf_DkfE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wwaqVQX5ZTl52GgPssTAtf_DkfE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wwaqVQX5ZTl52GgPssTAtf_DkfE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wwaqVQX5ZTl52GgPssTAtf_DkfE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/BGAsSQeLJK0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/7574270782564699803/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2011/03/finally-something-vaguely-interesting.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/7574270782564699803?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/7574270782564699803?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/BGAsSQeLJK0/finally-something-vaguely-interesting.html" title="Finally, Something Vaguely Interesting" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-iLOX5-AiFFE/TYNhaM-rcVI/AAAAAAAAAQU/gQDWacR68P8/s72-c/my-new-gammme.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2011/03/finally-something-vaguely-interesting.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8DRX49eSp7ImA9Wx9UF0w.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-1096741706418187228</id><published>2011-02-14T12:46:00.000-08:00</published><updated>2011-02-14T12:54:34.061-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-14T12:54:34.061-08:00</app:edited><title>The Winding Technical Road</title><content type="html">I've been incredibly unfocused in this blog.  It was supposed to be originally about a single project but since then has wandered in a large number of directions.  Of course that's fine, that's how technology should be.&lt;br /&gt;&lt;br /&gt;So, I think it might be more suitable to start again with that as the focus of my blog.  I'd like to write meaningful things about technology, useful things that people can use.  Stuff that you might google and end up saving you a day of figuring something undocumented out.&lt;br /&gt;&lt;br /&gt;I'll be an architect soon, my job is promoting me.  And I realize that a lot of things I have covered here is not up to scratch as it's mostly borderline propaganda and uneducated vague outlines of things.  It's not much use to anybody.  My new position should help me build up some useful knowledge however and I fully intend to share them with the world in an effective way.&lt;br /&gt;&lt;br /&gt;As for this blog, well, Kriegsland was reborn in my mind recently as yet another entirely different game.  And I will make it.  Eventually.  Right now I feel my time is best spent learning, not creating and I'm going to have to accept that.  I have too many unfinished projects.  I think in time I will finish them all but it isn't helping that I keep adding things to the list.&lt;br /&gt;&lt;br /&gt;So!  Hopefully you'll see a new and useful technology Blog starting up soon and watch this space, my projects can never die; THEY'RE UNDEAD.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-1096741706418187228?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/T7s0bnaqC8OVLfk-RuRjkt8_Hkc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T7s0bnaqC8OVLfk-RuRjkt8_Hkc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/T7s0bnaqC8OVLfk-RuRjkt8_Hkc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T7s0bnaqC8OVLfk-RuRjkt8_Hkc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/uDq0YfXto4k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/1096741706418187228/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2011/02/winding-technical-road.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/1096741706418187228?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/1096741706418187228?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/uDq0YfXto4k/winding-technical-road.html" title="The Winding Technical Road" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2011/02/winding-technical-road.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UNQHY7cCp7ImA9Wx5QFk0.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-2947962585913082873</id><published>2010-09-04T04:32:00.000-07:00</published><updated>2010-09-04T04:54:51.808-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-04T04:54:51.808-07:00</app:edited><title>The Quest for the holy GRAILS</title><content type="html">It's been five months since I was burned by JavaFX.  Five months since sun taught me to hate new technology and the time have finally come to balance out this blog with something much more positive.  &lt;br /&gt;&lt;br /&gt;It started in the interview for the job I've just started.  (Hello from Luxembourg by the way.)  One of their technical head honchos mentioned GRAILS.  It wasn't the first time I'd heard of it from a senior person in an impressive financial institution either.  One of the greatest Irish technical success stories, Realex payments, use it too.&lt;br /&gt;&lt;br /&gt;Well, I thought, two out of two places can't be wrong.  I decided to check it out for myself.  I promptly ordered a book on Groovy and a book on Grails and got stuck in.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Groovy!  Not just an Evil Dead 2 quote any more:&lt;/span&gt;  Oh man, Groovy, what a name.  I love it, but the greatness of course goes much deeper than that.  Groovy is for the most part a superset of Java even compiling to code that is essentially Java byte code.  So what's the difference?&lt;br /&gt;&lt;br /&gt;Ever think to yourself in Java, "Why do I have to type this stuff out every time?", Groovy has done that for you.  Null protection is achieved by adding a question mark the your reference, Strings are now GStrings (Great name) which can contain externally defined properties.  Want to define a populated list object?&lt;br /&gt;&lt;br /&gt;def list = ["Hello", "I'm", "a", "list"]&lt;br /&gt;&lt;br /&gt;I'm still learning but every time I read something in my Groovy book I laugh out loud like a super-nerd and say to myself "did these guys read my mind when they were writing this?"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;GRAILS, it's about time:&lt;/span&gt;  I've tried my share of web frameworks, definitely not all of them but one or two.  There always is something that turns me off, mainly I suppose because I'm a newbie to the web world and everything I've tried so far assumed a lot of starting knowledge and it could be a week before you got anything to look at, if you were lucky.  Not so with GRAILS.&lt;br /&gt;&lt;br /&gt;No kidding, I had a simple database, a controller, a service layer and an automatically generated CRUD screen together in maybe thirty minutes?  I could kick this off and play with it in my browser.  (Oh, and there's a jetty webserver integrated with GRAILS, didn't even have to set one up.)&lt;br /&gt;&lt;br /&gt;It took a long time to get to the stage where this was possible in any language but even better this is all built on Groovy so every feature it contains is available on every level of your application.  Configure your program on the fly, open your grails console and write code that calls subsystems you want to try out.  &lt;br /&gt;&lt;br /&gt;Too good to be true?  Well, I can see why people are using it.  Not just your startup up the road with more ambition than sense.  GRAILS takes everything Spring (the EJB killer) has and makes it even better.  Enabling you to use Groovy out of the box puts it significantly beyond EJB3.0 for me.&lt;br /&gt;&lt;br /&gt;My current project will be GRAILS.  (The prototype was in EJB3.0).  I'm looking forward to getting to know it better.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-2947962585913082873?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sx8tmvBqh6pyFo1q8FdjkOVSFPs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sx8tmvBqh6pyFo1q8FdjkOVSFPs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sx8tmvBqh6pyFo1q8FdjkOVSFPs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sx8tmvBqh6pyFo1q8FdjkOVSFPs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/XoK-xemuoVY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/2947962585913082873/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2010/09/quest-for-holy-grails.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2947962585913082873?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2947962585913082873?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/XoK-xemuoVY/quest-for-holy-grails.html" title="The Quest for the holy GRAILS" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2010/09/quest-for-holy-grails.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYDQHgyeyp7ImA9WxFTE0o.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-2603607301639228057</id><published>2010-04-03T12:31:00.000-07:00</published><updated>2010-04-04T03:16:11.693-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-04T03:16:11.693-07:00</app:edited><title>Java FX is a steaming pile of unusable crap</title><content type="html">Yes, harsh words but after having a quick go at it I am left with an incredibly bad taste in my mouth.  I was trying to build a nice simple web app, just a few text boxes, nothing fancy, well, this is how my Java FX journey went.&lt;br /&gt;&lt;br /&gt;First stop was the website looking for examples.  http://javafx.com/&lt;br /&gt;&lt;br /&gt;This is the only website I could find that was any sort of resource for the language so I went through any examples I could find, any tutorials etc.  Well, the resources are truly pathetic.  The examples are poorly laid out and poorly written and the website itself is thoroughly amateurish.  Forget about comparing it to something Adobe has created, it doesn't stack up to student projects that I've seen put together in an evening using FRAMES.&lt;br /&gt;&lt;br /&gt;But I could look past the sub-amateurish look if the resources were any good, but I couldn't make any progress.  Now, Sun are bad for this in general but the thing about Java is that there are hundreds of resources available for learners, JavaFX has sweet FA which made this website so important.&lt;br /&gt;&lt;br /&gt;Well, I did what it said anyway, I installed the eclipse plugin and did what it told me to do.  Now, the language itself despite being called "JAVA" FX looks absolutely nothing like it.  It reminded me of VB actually.  Yes, VB...  VB 6.0 in fact...&lt;br /&gt;&lt;br /&gt;So, despite having an eclipse plugin there is no visual component so you have to run it every time to see what the hell you are making.  This involves eclipse jarring everything up or whatever well, by this stage I was incredibly annoyed.  I also wasn't sure if debugging would even work and all "tutorials" I could find about blending JavaFX with vanilla Java were freaking awful.  One in particular was titled "How to use Java objects in a JavaFX application" but actually only showed how to do the opposite.&lt;br /&gt;&lt;br /&gt;The majority of the tutorials were actually about how to make a ball bounce around the screen and things like that.  How many people want JavaFX for that purpose?  Maybe students?  Is that the only group of people JavaFX has been created for?  Students looking to make incredibly bad looking graphical projects?&lt;br /&gt;&lt;br /&gt;Well, that was the end of the line.  Sun, you suck at this stuff give up.  &lt;br /&gt;&lt;br /&gt;Oh, and, changing the subject slightly.  Oracle, the big fat stupid tech support guy has bought Sun the incredibly Nerdy guy who can code like hell but expresses himself as well as a cabbage.  This is not a good team up guys.&lt;br /&gt;&lt;br /&gt;Sun's certification website for example has been consumed by Oracles one which is a massive mess of rubbish that takes forever to navigate.  Look.&lt;br /&gt;&lt;br /&gt;Tech support people would be the first to admit it, they deserve all the crap because they spend all day looking at status bars while sitting on comfy chairs.  Developers don't deserve this, we have enough to worry about for god's sake.&lt;br /&gt;&lt;br /&gt;Oracle, go to hell and take Java FX with you.  Good night.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-2603607301639228057?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PDwNlnYD6QRO9GRufZvL6he2tZg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PDwNlnYD6QRO9GRufZvL6he2tZg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PDwNlnYD6QRO9GRufZvL6he2tZg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PDwNlnYD6QRO9GRufZvL6he2tZg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/PsuOKm0UdLQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/2603607301639228057/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2010/04/java-fx-is-teaming-pile-of-unusable.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2603607301639228057?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2603607301639228057?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/PsuOKm0UdLQ/java-fx-is-teaming-pile-of-unusable.html" title="Java FX is a steaming pile of unusable crap" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2010/04/java-fx-is-teaming-pile-of-unusable.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYESHs6fip7ImA9WxBaFkQ.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-2863810591957357367</id><published>2010-03-27T05:27:00.000-07:00</published><updated>2010-03-27T05:31:49.516-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-27T05:31:49.516-07:00</app:edited><title>Building everything back up</title><content type="html">I did learn a lot with PHP and reading my new JEE web services book I happily realized that I'm already comfortable with many of the concepts.  POST, GET, etc.  &lt;br /&gt;&lt;br /&gt;In terms of work on the game at the moment I'm doing the painful part first and getting the HTML together.  I'll be honest, I hate that stuff.  HTML + CSS is often completely backwards and things get thrown around the browser window often with little rhyme or reason.  Of course, that's even before you take into consideration all the different browser "quirks".&lt;br /&gt;&lt;br /&gt;So I just want to get a template done and dusted and never have to look at it again, at least not in this iteration.  It's not nearly as cool as playing with EJB3.0 or JBOSS but sometimes this stuff is just necessary.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-2863810591957357367?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/voOprPHfaEzZqf1-7WCPS5WyPdI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/voOprPHfaEzZqf1-7WCPS5WyPdI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/voOprPHfaEzZqf1-7WCPS5WyPdI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/voOprPHfaEzZqf1-7WCPS5WyPdI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/NR7Fxid3GNw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/2863810591957357367/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2010/03/building-everything-back-up.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2863810591957357367?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2863810591957357367?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/NR7Fxid3GNw/building-everything-back-up.html" title="Building everything back up" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2010/03/building-everything-back-up.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4ARnYycSp7ImA9WxBUF0k.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-3145607093149969634</id><published>2010-03-04T13:48:00.001-08:00</published><updated>2010-03-04T14:15:47.899-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-03-04T14:15:47.899-08:00</app:edited><title>Finding a Base for the Boss</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_e0chBOwe9po/S5Av5z07GFI/AAAAAAAAANI/HChsTAqBn88/s1600-h/jboss_logo.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 198px;" src="http://1.bp.blogspot.com/_e0chBOwe9po/S5Av5z07GFI/AAAAAAAAANI/HChsTAqBn88/s320/jboss_logo.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5444904619702163538" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I've been planning for some time now to set up a proper server to host JBOSS, it was going to be guts of current machine tied up to the internet using no-ip.com to make up for the fact that I don't have a static-ip.  The question I'm asking myself now however, is that still the way to go?&lt;br /&gt;&lt;br /&gt;Hosting has become pretty cheap.  I'm already with Hostmonster which basically provide everything except Java support, for hardly anything a month I could host a PHP site with unlimited databases and what have you.  The thing about Java you see is that need a lot of memory, making hosting more expensive.  Also in a shared environment you can forget about being able to configure everything, and if somebody is hogging all the memory, well, you're screwed.&lt;br /&gt;&lt;br /&gt;But things have changed a bit now, which brings me onto my little guide.  Finding a base for your JBOSS.  I'll talk you through some of the features to look out for in a JBOSS hosting provider.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;VPN or Dedicated:&lt;/span&gt;  A VPN is essentially a virtual server and also the reason having your own hosted JBOSS server is actually something me and you, the plebs, can even consider.  Dedicated solutions (i.e. having your own machine in somebody else's server farm) has always been prohibitively expensive for the likes of us.  With the wonders of virtualisation we can have the benefits of having our own machine at only a fraction of the cost.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Do I get JBOSS:&lt;/span&gt;  A bit of a no-brainer maybe but every provider seems to have different deals.  For example you could be signing up for Tomcat hosting and only get a shared instance of Tomcat and no ability to use JBOSS at all.  Make sure your deal explicitly states that you are getting your own instance of JBOSS.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Do I get a Shell:&lt;/span&gt;  Moving files around, reading logs, checking on your database, the list goes on.  Don't underestimate the power of having shell access to your JBOSS machine, it is definitely something you will regret not having later.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Memory:&lt;/span&gt;  I'm writing this because I've noticed some hosts offering "JBOSS" hosting with only 128mb of memory.  If you try to run JBOSS with this much memory it will laugh in your face before either spontaneously combusting or spending the next four hours crawling on the floor.  You need at least 750 megs if you want to be safe, though you could probably get by with 500.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;OS:&lt;/span&gt;  Everything I looked at so far offered a selection of linuxes to choose from.  If you have a preference you might be out of luck, Fedora 12, CentOS and Ubuntu seem to be the most popular.  Since all you probably care about is JBOSS I might recommend going with CentOS as it's based off the same source Enterprise grade Red Hat linux.  (Red Hat own JBOSS since a few years ago, if it'll work with anything it will be their OS.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So hopefully that helped you out a bit.  As for who I will be going with my self, the best I've found so far is this outfit.  &lt;a href="http://www.jspzone.net/"&gt;JSP Zone&lt;/a&gt;.  They seem to have by far the best package for the money they are asking for.  If you find somewhere better please do leave a comment, preferably before I take out my credit card.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-3145607093149969634?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tXP1ACqKaN2jJeNzAaR1Qu0nybY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tXP1ACqKaN2jJeNzAaR1Qu0nybY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tXP1ACqKaN2jJeNzAaR1Qu0nybY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tXP1ACqKaN2jJeNzAaR1Qu0nybY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/iExRZN-j7k0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/3145607093149969634/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2010/03/finding-base-for-boss.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/3145607093149969634?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/3145607093149969634?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/iExRZN-j7k0/finding-base-for-boss.html" title="Finding a Base for the Boss" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_e0chBOwe9po/S5Av5z07GFI/AAAAAAAAANI/HChsTAqBn88/s72-c/jboss_logo.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2010/03/finding-base-for-boss.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QMQnc4eCp7ImA9WxBVEkk.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-224219451829423286</id><published>2010-02-15T05:41:00.000-08:00</published><updated>2010-02-15T05:43:03.930-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-15T05:43:03.930-08:00</app:edited><title>The Plan as it Stands</title><content type="html">The plan as it stands is this.  I'll create a generic "Krieg Engine", this will essentially take the form of a java based sub system which will eventually be thrown into a nice reusable jar.  The idea occurred to me that I could use the same combat engine in my Zombie game, this would provide lots of great testing and also speed up the development of that game a lot.  So more thought will definitely be going into that.  If I can create a nice game engine based on slick and a nice combat engine from Kriegsland it would be two major modules that would make future game development a lot faster and a lot more fun.&lt;br /&gt;&lt;br /&gt;The krieg engine itself will be a highly detailed combat engine.  The idea is essentially something like Heroes of Might and Magic 3 but instead of just applying an aggregated damage amount individual units will be matched off and will each have unique weapons.  Detailed output will be generated from every encounter allowing it to be formatted into a nice message for a web based user or even to be visualised in a game like Creeping dead.  Well, that's the long term plan anyway.&lt;br /&gt;&lt;br /&gt;I've been through so many failed projects now, I really feel like I am learning a thing or two.  It really is not straight forward to achieve even the smallest things in a project.  I'm certainly not a bedroom coder, at least not yet, though I now grasp the immense dedication and self control that such people have.  What really drives me is the constant stream of ideas I have, it would seem such a shame to let them all go without doing something about it.&lt;br /&gt;&lt;br /&gt;Well, once more if you feel like you could contribute to the project please contact me.  Otherwise thanks for reading and click my links!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-224219451829423286?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/XrOthNOb1d-Fb-2NjMgVe1RPgww/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XrOthNOb1d-Fb-2NjMgVe1RPgww/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/XrOthNOb1d-Fb-2NjMgVe1RPgww/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/XrOthNOb1d-Fb-2NjMgVe1RPgww/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/gaHzxtqXCtw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/224219451829423286/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2010/02/plan-as-it-stands.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/224219451829423286?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/224219451829423286?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/gaHzxtqXCtw/plan-as-it-stands.html" title="The Plan as it Stands" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2010/02/plan-as-it-stands.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcCRHs6eCp7ImA9WxBWGE4.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-1040341636059000891</id><published>2010-02-10T11:52:00.001-08:00</published><updated>2010-02-10T12:01:05.510-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-10T12:01:05.510-08:00</app:edited><title>A Technical Roundabout</title><content type="html">Massive inaction from me for the past while.  I started dedicating my time to a project with a friend, it was to be a JBOSS based application that would handle a massive government archive.  It kind of hit the rocks however when my friend caved.  But never mind I learned a lot.&lt;br /&gt;&lt;br /&gt;Now I'm back onto Kriegsland, I think.  Ideally I'd like to move everything onto JBOSS/JSP or, even better, JBOSS/FLEX but JBOSS hosting seems prohibitively expensive.  EJB3.0 could be worth it however, everything is just so much easier in a managed container scenario.  While the initial learning curve is high I think there is definite payoff to be had.&lt;br /&gt;&lt;br /&gt;Anyway, I'm going to re-evaluate the whole thing now.  JBOSS would handle the heavy logic required for a game like Kriegsland beautifully and the development tools would be far superior than PHP.  So, I believe I will look for a decent JBOSS host and move away from PHP.  It was a fun diversion but I'm SUN CERTIFIED now and I have a head full of enterprise knowledge.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-1040341636059000891?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/mMtMz197oPlCQUguFrUMLZzev6k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mMtMz197oPlCQUguFrUMLZzev6k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/mMtMz197oPlCQUguFrUMLZzev6k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/mMtMz197oPlCQUguFrUMLZzev6k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/HaabjGfQtrM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/1040341636059000891/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2010/02/technical-roundabout.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/1040341636059000891?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/1040341636059000891?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/HaabjGfQtrM/technical-roundabout.html" title="A Technical Roundabout" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2010/02/technical-roundabout.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQGQ306fSp7ImA9WxBWGE4.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-5745979185291053376</id><published>2009-12-07T15:56:00.000-08:00</published><updated>2010-02-10T12:05:22.315-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-10T12:05:22.315-08:00</app:edited><title>Java Mad</title><content type="html">I've really been in gear lately, productivity on the coding side of things has been way up.  Unfortunately for Kriegsland however, not much of this productivity has come its way.  &lt;br /&gt;&lt;br /&gt;I've just got my SCJP qualification and as a result have been Java crazy for the past few weeks, building a Slick2D based game which my brother should be doing the art for and as I'm speaking I'm downloading the needed components for a go at an EJB3.0 driven JBOSS based application.  God knows how that will turn out but I'm bloody excited about it right now.  &lt;br /&gt;&lt;br /&gt;JBOSS is where I started in a way, my fourth year project was a SEAM implementation and my 6 Month internship had me working with it without me having a clue what was going on.  I really want to return there now and finally understand it all implicitly.  &lt;br /&gt;&lt;br /&gt;So, sadly Kriegsland is on the back burner, and my reflection based implementation will have to wait for the moment.  I did have an idea for a Slick2D based client tying back into my MySQL database with PHP providing an access anywhere front end, much like Pox Nora has but that'll have to wait until my Slick2D engine's completion which won't be for a while.  The game I am working on is zombie based and will have a strategic map much like Total War, I've got clicking and dragging working and everything.&lt;br /&gt;&lt;br /&gt;So I might post here about Slick2D in the near future, it really is a fantastic little library and it's been a joy to use so far.  &lt;a href="http://slick.cokeandcode.com/"&gt;Its website.&lt;/a&gt;  Until then, hold tight Kriegsland fans, this project can never die!  It's undead!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-5745979185291053376?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cyzcdlA9rw8FDxmgjrbNwhtOZWQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cyzcdlA9rw8FDxmgjrbNwhtOZWQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cyzcdlA9rw8FDxmgjrbNwhtOZWQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cyzcdlA9rw8FDxmgjrbNwhtOZWQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/YXo69_ldgvA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/5745979185291053376/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/12/java-mad.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/5745979185291053376?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/5745979185291053376?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/YXo69_ldgvA/java-mad.html" title="Java Mad" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/12/java-mad.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIMRn44eCp7ImA9WxNUGUU.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-2516495482363118172</id><published>2009-11-11T15:35:00.000-08:00</published><updated>2009-11-11T16:43:07.030-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-11T16:43:07.030-08:00</app:edited><title>Obstructive Abstraction (Layers)</title><content type="html">I'm nearing the next level of Kriegsland, the work on the underlying engine.  It's now I'm considering everything and anything that will simplify and stream-line the process.  Something that I've looked at before and I now find myself poring over again is the PDO based ORM and abstraction tool Doctrine.&lt;br /&gt;&lt;br /&gt;Doctrine is very similar to Hibernate in that it creates a load of objects that allows object orientated access to your database tables and also creates a layer of abstraction over your database.&lt;br /&gt;&lt;br /&gt;So, pros and cons.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Pros:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1)  More efficient use of resources (probably).  This is something that will probably really only have returns in much larger projects in that the actual overhead of running Doctrine will probably be higher than any saving that dynamic loading of objects etc. could provide.&lt;br /&gt;&lt;br /&gt;2)  It's the "proper" way of doing it.  Fully implemented it would be solid, robust, easy to expand and build on top of.  Additionally, if I wanted to switch to a different database in 5 years time it would be drastically simplified.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Cons:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1)  Time.  It's a new framework to learn and though it would streamline elements of my work I'm sure it would add a great deal of complexity to getting anything working at all.&lt;br /&gt;&lt;br /&gt;2)  Is it really necessary?  This is a basic enough project, my first of this type.  Is being tied to a single database such a bad thing?  I have very solid SQL and am a  wizard with outer joins and such so why throw that all away just to go with Doctrine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, after thinking about it I will postpone my inclusion of Doctrine in my project.  As long as I keep things properly layered and implement some kind of DAO library it shouldn't be overly problematic (famous last words) to slot it in at a later date if I so choose anyway.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-2516495482363118172?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nnnWuYEzU3Edeju1YSlO2YIKSYc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nnnWuYEzU3Edeju1YSlO2YIKSYc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nnnWuYEzU3Edeju1YSlO2YIKSYc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nnnWuYEzU3Edeju1YSlO2YIKSYc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/jUUxD07NTyM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/2516495482363118172/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/11/obstructive-abstraction-layers.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2516495482363118172?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2516495482363118172?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/jUUxD07NTyM/obstructive-abstraction-layers.html" title="Obstructive Abstraction (Layers)" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/11/obstructive-abstraction-layers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UDQXo-eip7ImA9WxNUF00.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-4043463796313223592</id><published>2009-11-07T06:19:00.001-08:00</published><updated>2009-11-08T09:27:50.452-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-11-08T09:27:50.452-08:00</app:edited><title>Sucker for Stats</title><content type="html">&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_e0chBOwe9po/SvWCCuP92SI/AAAAAAAAAK4/imyvj8aew1w/s1600-h/Note.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 146px;" src="http://3.bp.blogspot.com/_e0chBOwe9po/SvWCCuP92SI/AAAAAAAAAK4/imyvj8aew1w/s320/Note.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5401366311387126050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well, subversion has provided a cool little diagram of my continuing efforts.  I now have a screen where you can buy units that are tied to your army type and got around to figuring out outer joins in MySQL so you can view units which don't currently have items equipped.&lt;br /&gt;&lt;br /&gt;My current approach is just to get the functionality in there and focus on making it more robust/prettier at a later stage.  So far it's been going pretty well and I'm knocking items off my list at a pretty consistent rate.&lt;br /&gt;&lt;br /&gt;Now I have it so a player can register themselves, buy a unit (though of course there's no limit on this yet but it's fine for testing purposes), then move their army around a strategic map.  All these need expanding and prettifying but the underlying data is all there and it's time to look into the real meat of the game.  The combat, the war, the krieg engine.&lt;br /&gt;&lt;br /&gt;This is going to take the form of an entirely object orientated php program that can be executed both on the command line (For later cron-script integration) and from the kriegsland website front end.&lt;br /&gt;&lt;br /&gt;Awwwwwww yeah.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-4043463796313223592?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/m56T5AQ-D52qeRsifqRxQ-7Iiwg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m56T5AQ-D52qeRsifqRxQ-7Iiwg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/m56T5AQ-D52qeRsifqRxQ-7Iiwg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/m56T5AQ-D52qeRsifqRxQ-7Iiwg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/d8pRHSWSaiQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/4043463796313223592/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/11/sucker-for-stats.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/4043463796313223592?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/4043463796313223592?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/d8pRHSWSaiQ/sucker-for-stats.html" title="Sucker for Stats" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_e0chBOwe9po/SvWCCuP92SI/AAAAAAAAAK4/imyvj8aew1w/s72-c/Note.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/11/sucker-for-stats.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8BQHkyfCp7ImA9WxNVFUw.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-994452216085090315</id><published>2009-10-25T16:35:00.001-07:00</published><updated>2009-10-25T16:54:11.794-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-25T16:54:11.794-07:00</app:edited><title>Design Process - Poor Bloody Infantry</title><content type="html">Taking a break from the technical side I'd like to write a bit into some of the underlying concepts of Kriegsland.  First I'll work through the four army types available, the first of which is infantry.  &lt;br /&gt;&lt;br /&gt;These are the aspects I hope to capture in the game engine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Numbers&lt;/span&gt; - This will be the biggest advantage Infantry units have.  They will all number ten to a squad so compared to a similarly equipped special operations unit they will have twice the firepower and take twice as much in return to take down.&lt;br /&gt;&lt;br /&gt;The downside to this will be their vulnerability to area effect weapons but sometimes you just can't beat having more guns on your side.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Field Adaptability&lt;/span&gt; - I'd like to see the infantry type armies being adaptable to make up for their lack of tactical mobility.  They will be hunted by vehicles and special ops armed specifically for their destruction so they had better be equipped to deal with them to some degree.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Firepower&lt;/span&gt; - Infantry can be equipped with heavier weapons, killing their mobility but allowing them to take on enemies at severe odds and win.  I'd like to see mobile anti-tank guns and heavy machine guns make an appearance, though I am sure ammo will be scarce.&lt;br /&gt;&lt;br /&gt;Infantry will be the superior defenders of Kriegsland, perfect for holding an area with heavier weapons.  Their natural enemy will be artillery armies, able to take them out from range with high yield explosives.  Special operations and Armor armies will have to be careful, assaulting infantry is always dangerous and even when on the offensive suitably equipped infantry can end ones journey in the Kriegsland all too prematurely.  &lt;br /&gt;&lt;br /&gt;Two unit concepts I have come up with for this unit type are as follows.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Scavengers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Scavengers are freshly hired soldiers with little to no battle experience. As such they are extremely poorly equipped, often entering battle with improvised weapons.   However, their desperation to acquire new weapons and armour proves a huge asset as they will risk life and limb to get their hands on a decent piece of technology. If the technology is too good it may not be possible to part them from it however.&lt;br /&gt; &lt;br /&gt;Scavengers have very low stats but whenever they are used in battle there is a chance that they will return with a piece of low grade technology. There is also a slight chance they will acquire a high grade technology but this will be tied to them permanently and they will no longer acquire any more technology.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Equites&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Not all weapons were successfully destroyed by human society. Some family heirlooms were hidden away by rich families. Additionally, the new rich of human society have the means to acquire some equipment and training before entering the kriegsland, often by dubious means.&lt;br /&gt; &lt;br /&gt;Equites have decent starting stats and come equipped with a basic grade technology. There is a chance that they will receive a “package from mummy.” Which will contain a random low grade technology.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;This is the kind of thing I'd love an art team for.  If you'd be interested of having a go at drawing these guys I'd love to see it!  Otherwise it's time for me to brush up on my Photoshop.&lt;br /&gt;&lt;br /&gt;Next time, Special Ops.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-994452216085090315?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/H26knPWKJIH6wVqGPPBT-8rOYvA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H26knPWKJIH6wVqGPPBT-8rOYvA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/H26knPWKJIH6wVqGPPBT-8rOYvA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H26knPWKJIH6wVqGPPBT-8rOYvA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/_2wjU_Ai3eg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/994452216085090315/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/10/design-process-poor-bloody-infantry.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/994452216085090315?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/994452216085090315?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/_2wjU_Ai3eg/design-process-poor-bloody-infantry.html" title="Design Process - Poor Bloody Infantry" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/10/design-process-poor-bloody-infantry.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QFSX4_cCp7ImA9WxNVE08.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-6711141205410816785</id><published>2009-10-23T12:07:00.000-07:00</published><updated>2009-10-23T12:15:18.048-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-23T12:15:18.048-07:00</app:edited><title>The work so Far</title><content type="html">Alright, so if you are at all interested the latest version of kriegsland is now online.  &lt;a href="http://www.kriegsland.net"&gt;Check it out!&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's messy, but you can do the following things so far.&lt;br /&gt;&lt;br /&gt;1)  Create a new user account&lt;br /&gt;2)  Log into that account&lt;br /&gt;3)  Move your newly created army around the strategic map&lt;br /&gt;&lt;br /&gt;Everything is set up in a nice expandable way in the database and it feels nice and robust so far.  Next will be setting up a way for armies to face off when they're in the same area against the indigenous population, or more likely a method of building your army.  &lt;br /&gt;&lt;br /&gt;Oh, by the way, the strategic map is a jpeg generated on the fly based on a locations co-ordinates that are fetched from the database.  Neat eh?&lt;br /&gt;&lt;br /&gt;One point, if there are any PHP heads reading this who have any advice or fancy tricks please leave a comment.  Particularily if you know a way where I can remove that aliasing from the combined jpeg.  (The cloudy effect looks pretty cool but if I'm to have it I'd prefer if it were by choice.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-6711141205410816785?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/W4kQ7cIWTn1U1R1vGnz9BTCR55k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W4kQ7cIWTn1U1R1vGnz9BTCR55k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/W4kQ7cIWTn1U1R1vGnz9BTCR55k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W4kQ7cIWTn1U1R1vGnz9BTCR55k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/DCfE072-Y6o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/6711141205410816785/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/10/work-so-far.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/6711141205410816785?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/6711141205410816785?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/DCfE072-Y6o/work-so-far.html" title="The work so Far" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/10/work-so-far.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkINR3c8eip7ImA9WxNWGUo.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-749470941877312785</id><published>2009-10-19T09:32:00.001-07:00</published><updated>2009-10-19T09:43:16.972-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-19T09:43:16.972-07:00</app:edited><title>PHP - From a Java Perspective</title><content type="html">Now, I'm just starting PHP.  I acknowledge that but it might be interesting for those who have never touched on the language before to hear my early impressions of it.&lt;br /&gt;&lt;br /&gt;First of all, coming from Java it was very easy to adapt to the PHP syntax.  It's extremely similar for the most part and I've gotten on well with the compiler so far, it's been intuitive all the way through.  One thing that I'm not sure about at this stage is the IDE however.  I'm currently using Dreamweaver to write my code, which feels a bit strange.  I was using PHPEclipse before, which offered much more features but I'm finding Dreamweaver friendlier for now.  It's also superior for when you are laying out tables and such in tandem with your code.  (In fairness, these are probably two pass times that should be kept separate but this is what is working for me right now.)&lt;br /&gt;&lt;br /&gt;Database stuff has also been very straight forward, dealing with the resultant arrays and collections, fine.  I can't say anything within the language was cumbersome.  I have also worked with the graphics manipulation library (GD) and it's powerful and easy to use.  No complaints here either.  &lt;br /&gt;&lt;br /&gt;One part that I'm yet to fully throw myself into however is OO in PHP.  So far I have an object handling my session logic but other than that I haven't gone into it.  It's something that I'll definitely be using in the back end calculations.  (Going into that stuff procedurally would take years off my life.)  Anywho, while the manner in which you must access object variables seems a bit funky looking nothing seems too far out there.&lt;br /&gt;&lt;br /&gt;It might be time to get my PHP book back off my friend...  But all in all PHP is a damn pleasant language to work with, so far.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-749470941877312785?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5Y91CriQDilMMwzEaZJywJ8qPfk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5Y91CriQDilMMwzEaZJywJ8qPfk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5Y91CriQDilMMwzEaZJywJ8qPfk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5Y91CriQDilMMwzEaZJywJ8qPfk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/H2M-IcHJgFM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/749470941877312785/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/10/php-from-java-perspective.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/749470941877312785?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/749470941877312785?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/H2M-IcHJgFM/php-from-java-perspective.html" title="PHP - From a Java Perspective" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/10/php-from-java-perspective.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIFQHwzeCp7ImA9WxNQFkk.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-5292310217589587431</id><published>2009-09-22T06:32:00.000-07:00</published><updated>2009-09-22T11:35:11.280-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-22T11:35:11.280-07:00</app:edited><title>Subversion, the peoples choice of source control</title><content type="html">I've finally gotten around to sticking my work onto an svn repository, something I'd encourage anybody working on any project to do.&lt;br /&gt;&lt;br /&gt;A big part of any project of any size is source control and anybody in the know will tell you that subversion is the only way to go.  Coupled with the tortoise shell it's a comprehensive source control utility suitable for amateurs and professionals alike.  &lt;br /&gt;&lt;br /&gt;In the last few years the amount of online SVN hosts has exploded.  With these people you can usually get cheap hosting with plenty of space for your project and without the bother of setting up everything yourself.  By now there is a long list of providers to choose from.  At the moment I'm giving &lt;a href="http://www.codespaces.com"&gt;Code Spaces&lt;/a&gt; a try and am liking it so far.  But it looks like most of the providers have similar deals so you might as well shop around and see what suits you best.&lt;br /&gt;&lt;br /&gt;Once you've got a host sorted it is then just a case of downloading a program called tortoisesvn.  This actually integrates itself with your windows shell so committing and updating your files from the repository is always only a right click away.&lt;br /&gt;&lt;br /&gt;I'll show you how to do it just in case you haven't used it before.  First of all, you should have a repository address.  In the case of Code Space it will be https://svn.codespace.com/[your company]/[Your project].&lt;br /&gt;&lt;br /&gt;Then, after installing &lt;a href="http://tortoisesvn.tigris.org/"&gt;tortoisesvn &lt;/a&gt;just right click wherever you want your new workspace to be and click SVN checkout.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_e0chBOwe9po/SrjUH4Cp0nI/AAAAAAAAAI4/i-Q0YMHgwiw/s1600-h/svn.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 200px;" src="http://3.bp.blogspot.com/_e0chBOwe9po/SrjUH4Cp0nI/AAAAAAAAAI4/i-Q0YMHgwiw/s320/svn.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5384286586289115762" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then it's just as simple as pasting in the repository address and clicking okay.  You'll be prompted for a user name and password but as long as you click "remember my details" this is the only time you'll ever need to enter them.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_e0chBOwe9po/SrjUy7mBwYI/AAAAAAAAAJA/PXt2B8wDq5w/s1600-h/repos.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 247px;" src="http://3.bp.blogspot.com/_e0chBOwe9po/SrjUy7mBwYI/AAAAAAAAAJA/PXt2B8wDq5w/s320/repos.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5384287325977166210" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then paste everything you want backed up into the new folder and right click again and click commit, select all and click okay.  You'll be prompted to enter a message explaining your commit and then that will be it.  Everything will be backed up somewhere remote.  Your kid brother can try as hard as he likes to delete every trace of your work but it'll be backed up nice and safe where he can't get at it.&lt;br /&gt;&lt;br /&gt;SVN is also great in that it saves every version of you work, so if you regret removing something later down the line or want to track down the code change that introduced a particular bug you can hunt it down efficiently.&lt;br /&gt;&lt;br /&gt;Kriegsland is safe now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-5292310217589587431?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/z5jt7lkKqEIOlXFBMpDCanIL_3A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z5jt7lkKqEIOlXFBMpDCanIL_3A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/z5jt7lkKqEIOlXFBMpDCanIL_3A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z5jt7lkKqEIOlXFBMpDCanIL_3A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/wzAJq3hbTzg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/5292310217589587431/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/09/svn-peoples-choice-of-source-control.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/5292310217589587431?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/5292310217589587431?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/wzAJq3hbTzg/svn-peoples-choice-of-source-control.html" title="Subversion, the peoples choice of source control" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_e0chBOwe9po/SrjUH4Cp0nI/AAAAAAAAAI4/i-Q0YMHgwiw/s72-c/svn.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/09/svn-peoples-choice-of-source-control.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQARnczeCp7ImA9WxNQFk8.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-2842365779254845131</id><published>2009-09-20T09:09:00.000-07:00</published><updated>2009-09-22T06:32:27.980-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-22T06:32:27.980-07:00</app:edited><title>PHP - SimpleXML forever</title><content type="html">Part of the Kriegsland game is to be a modular customizable rule system.  Now, I have a lot ideas for this game and the prospect of hard-coding the entire rule system seemed a bit short sighted.  I don't want to end up with pages and pages of spaghetti code down the road.  &lt;br /&gt;&lt;br /&gt;So instead I've thought about the extent of the rule systems power.  Based on stats it will generate a random variable which will determine the success or failure of a possible action based on its probability which will be predetermined by the specific weighting of the various variables.&lt;br /&gt;&lt;br /&gt;So...  Yeah, if you got through that well done.  It's a bit to get ones head around but I think I've almost cracked it.  I'm going to write the engine once and then have an easily editable xml file to fine tune until I'm happy with the rule system.  &lt;br /&gt;&lt;br /&gt;Which brings me to programmatic XML handling.  There are basically two types, event based (Eats XML piece by piece to avoid a large memory footprint) and DOM based (Eats the entire XML file and creates a nice file to play with).&lt;br /&gt;&lt;br /&gt;I've looked around for a nice DOM solution in Java and C-Sharp but was actually having trouble finding something that fit the bill.  Eventually on my return to PHP I've found SimpleXML.  Sample code here.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;?php&lt;br /&gt;&lt;br /&gt;// displays contents of &lt;name&gt; nodes&lt;br /&gt;if(!$xml=simplexml_load_file('rules.xml')){&lt;br /&gt;    trigger_error('Error reading XML file',E_USER_ERROR);&lt;br /&gt;}&lt;br /&gt;echo 'Displaying rule names of XML file...&lt;br /&gt;';&lt;br /&gt;foreach($xml as $rule){&lt;br /&gt;    echo 'Name: '.$rule-&gt;name.'&lt;br /&gt;';&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Simple as that!  The elements of the XML file are all exposed as arrays.  If the rule element given as an example above had multiple elements of type name you could create another loop like this.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;echo 'Displaying rule names of XML file...&lt;br /&gt;';&lt;br /&gt;foreach($xml as $rule){&lt;br /&gt;    &lt;br /&gt;foreach($rule-&gt;name as $name) {&lt;br /&gt;    echo 'Name: '.$name.'&lt;br /&gt;';&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Great, simple and short.  I'm going with this.  The rule system will have a single instance kicked off by a cron-job so the memory footprint isn't an issue.  My Plan is now to create a unified Rules object that can handle the parsing of the XML and then act as a DAO for the game engine.&lt;br /&gt;&lt;br /&gt;Good fun anyway.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-2842365779254845131?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Lb0qq_L0srCSsUgd8PrG5Z8Wzzc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lb0qq_L0srCSsUgd8PrG5Z8Wzzc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Lb0qq_L0srCSsUgd8PrG5Z8Wzzc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Lb0qq_L0srCSsUgd8PrG5Z8Wzzc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/raNLAvvFsIs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/2842365779254845131/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/09/php-simplexml-forever.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2842365779254845131?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/2842365779254845131?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/raNLAvvFsIs/php-simplexml-forever.html" title="PHP - SimpleXML forever" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/09/php-simplexml-forever.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UDRXg6eip7ImA9WxNQEUw.&quot;"><id>tag:blogger.com,1999:blog-5680234517582359467.post-7695453716413303589</id><published>2009-09-16T07:17:00.000-07:00</published><updated>2009-09-16T07:27:54.612-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-16T07:27:54.612-07:00</app:edited><title>Overkill?</title><content type="html">I decided to start a separate blog to chronicle whatever work I get done on my Kriegsland website, more as an incentive for myself to continue than anything else.  &lt;br /&gt;&lt;br /&gt;My work has since brought me into contact with an interesting cross section of available technologies and I think one's quest to set up a new game web-site is probably an interesting enough topic to read about.&lt;br /&gt;&lt;br /&gt;I'm still pretty much at the proof of concept stage and I have a very very basic php website together.  It's possible to log on and it stores your session, it also fetches all of the update news from a database.  Let's have a look at what it's built from.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;PHP:&lt;/span&gt;  This is the incredibly popular language for building modern dynamic websites with.  It's competitors would be ASP.NET (expensive) and perhaps Java Servlets (A bit unwieldy, also requires an application server).  PHP in my opinion wins out easily as it's free and simple to use.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;MySQL:&lt;/span&gt; I suppose this almost classes as a no-brainer, MySQL is a modern fully featured and free transactional database.  Very often used in commercial applications and well tried and tested.  One place where it falls down is support but if you mind what you are doing you should never need any for a project of this size.&lt;br /&gt;&lt;br /&gt;I also toyed with the concept of developing an off-line "simulator app" for the fine tuning of the combat engine.  I looked into C# for this and while it has streamlined many of the tasks required things got messy when I was looking into a way to transfer XML into objects.  There didn't seem to be anything that automated the process available and that, in addition to the pointless duplication of effort between C# and PHP meant that I decided not to go down that road.  &lt;br /&gt;&lt;br /&gt;And that's pretty much where I am now.  I'll post next time something interesting comes up, it could be a while but that's the nature of the beast.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5680234517582359467-7695453716413303589?l=kriegsland.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iWVh13LH5xhMbiH9m3pqos2g528/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iWVh13LH5xhMbiH9m3pqos2g528/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iWVh13LH5xhMbiH9m3pqos2g528/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iWVh13LH5xhMbiH9m3pqos2g528/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Kriegsland-DevelopmentBlog/~4/sRU6kKZMbTY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kriegsland.blogspot.com/feeds/7695453716413303589/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://kriegsland.blogspot.com/2009/09/overkill.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/7695453716413303589?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5680234517582359467/posts/default/7695453716413303589?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Kriegsland-DevelopmentBlog/~3/sRU6kKZMbTY/overkill.html" title="Overkill?" /><author><name>Eoghan Cregan</name><uri>http://www.blogger.com/profile/00195333826108234869</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="28" height="32" src="http://1.bp.blogspot.com/-TfvBqfICrbw/TWwoqdc1OHI/AAAAAAAAAPs/sa0Wk6UdfQE/s220/me.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://kriegsland.blogspot.com/2009/09/overkill.html</feedburner:origLink></entry></feed>

