Advertise with Googlier.com Design https://chateau-logic.com/ en C++ Basic Framework Design for a Simulation System https://chateau-logic.com/content/c-basic-framework-design-simulation-system <span>C++ Basic Framework Design for a Simulation System</span> <span><span>admin</span></span> <span><time datetime="2011-02-15T11:34:30+01:00" title="Tuesday, February 15, 2011 - 11:34">15 February, 2011 - 11:34</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>This set of code is derived from the work performed building the Direct2Learning Java Avionics training platform (now defunct).</p> <p>It uses multiple inheritance, however base classes are pure virtual effectively to provide interfaces.</p> <p>The code sample is missing the complicated ExecScheduler which is where the scheduling of modules is performed. Writing the ExecScheduler is reasonably complex - it needs to work with threads and provide timing. I've got a Java version of this which is at the end for illustration.</p> </div> <ul class="links inline"> <li><a href="https://chateau-logic.com/content/c-basic-framework-design-simulation-system" rel="tag" title="C++ Basic Framework Design for a Simulation System" hreflang="und">Read more<span class="visually-hidden"> about C++ Basic Framework Design for a Simulation System</span></a></li> </ul> Tue, 15 Feb 2011 10:34:30 +0000 admin 63 at https://chateau-logic.com Web Application Architecture https://chateau-logic.com/content/web-application-architecture <span>Web Application Architecture</span> <span><span>admin</span></span> <span><time datetime="2010-11-30T12:37:36+01:00" title="Tuesday, November 30, 2010 - 12:37">30 November, 2010 - 12:37</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item">Frequently I see the same question in many forms; "How do I design a web application architecture". The simple answer is that all application architectures are different, depending on the actual needs. Instinctively most programmers know what's required, or at least we think that we do. bq. The true skill is to realise that we are often wrong and that any architecture design needs to be validated. h2. Pragmatic approach to application architecture Pragmatism is one of those often misapplied terms that is often used interchangeable with "in my experience".</div> <ul class="links inline"> <li><a href="https://chateau-logic.com/content/web-application-architecture" rel="tag" title="Web Application Architecture" hreflang="und">Read more<span class="visually-hidden"> about Web Application Architecture</span></a></li> </ul> Tue, 30 Nov 2010 11:37:36 +0000 admin 54 at https://chateau-logic.com Removal Of Control in object oriented systems https://chateau-logic.com/content/removal-control-object-oriented-systems <span>Removal Of Control in object oriented systems</span> <span><span>admin</span></span> <span><time datetime="2010-10-12T21:48:25+02:00" title="Tuesday, October 12, 2010 - 21:48">12 October, 2010 - 21:48</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Removal Of Control is a mechanism that will improve the usability, reliability and readability of code. I use commonly, it's similar in what I'm achieving but very different to IoC. The defining difference for me with ROC is:</p> <blockquote><p> Removal Of Control allows objects to be less tangled. </p></blockquote> </div> <ul class="links inline"> <li><a href="https://chateau-logic.com/content/removal-control-object-oriented-systems" rel="tag" title="Removal Of Control in object oriented systems" hreflang="und">Read more<span class="visually-hidden"> about Removal Of Control in object oriented systems</span></a></li> </ul> Tue, 12 Oct 2010 19:48:25 +0000 admin 53 at https://chateau-logic.com The ends squeezing the middle in object oriented design. https://chateau-logic.com/content/ends-squeezing-middle-object-oriented-design <span>The ends squeezing the middle in object oriented design.</span> <span><span>admin</span></span> <span><time datetime="2010-02-25T00:22:45+01:00" title="Thursday, February 25, 2010 - 00:22">25 February, 2010 - 00:22</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Often when designing anything it is all to easy to forget the simple fact that when you add 1 to a number you will eventually be doing <em>ADDQ.L #1, D2</em>.</p> <p>I follow, but not rigidly, the following rules of thumb</p> <blockquote><p> If you have a design with 2 classes you probably should be writing something procedural. </p></blockquote> <blockquote><p> If you have a design with more than 30 classes it's probably time to revisit the design. </p></blockquote> </div> <ul class="links inline"> <li><a href="https://chateau-logic.com/content/ends-squeezing-middle-object-oriented-design" rel="tag" title="The ends squeezing the middle in object oriented design." hreflang="und">Read more<span class="visually-hidden"> about The ends squeezing the middle in object oriented design.</span></a></li> </ul> Wed, 24 Feb 2010 23:22:45 +0000 admin 40 at https://chateau-logic.com Breaking rule of thumb no.4 https://chateau-logic.com/content/breaking-rule-thumb-no4 <span>Breaking rule of thumb no.4 </span> <span><span>admin</span></span> <span><time datetime="2009-11-22T13:42:46+01:00" title="Sunday, November 22, 2009 - 13:42">22 November, 2009 - 13:42</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I've just realised that effectively I'm breaking my own rule of thumb No.4 "You don't need to write an application framework", and here I am writing one.</p> </div> <ul class="links inline"> <li><a href="https://chateau-logic.com/content/breaking-rule-thumb-no4" rel="tag" title="Breaking rule of thumb no.4 " hreflang="und">Read more<span class="visually-hidden"> about Breaking rule of thumb no.4 </span></a></li> </ul> Sun, 22 Nov 2009 12:42:46 +0000 admin 37 at https://chateau-logic.com View update complexities https://chateau-logic.com/content/view-update-complexities <span>View update complexities</span> <span><span>admin</span></span> <span><time datetime="2009-09-23T22:01:19+02:00" title="Wednesday, September 23, 2009 - 22:01">23 September, 2009 - 22:01</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>On a page where there are lots of views but all from the same entity there is an interesting challenge when an individual item is updated within a view. Normally this is catered for during a full postback simply because the entire page is recreated dynamically, so it is enough that the post is processed during the construct phase.</p> <p>However this isn't true when we are using an ajax update to modify an item.</p> </div> <ul class="links inline"> <li><a href="https://chateau-logic.com/content/view-update-complexities" rel="tag" title="View update complexities" hreflang="und">Read more<span class="visually-hidden"> about View update complexities</span></a></li> </ul> Wed, 23 Sep 2009 20:01:19 +0000 admin 31 at https://chateau-logic.com ZXAF Development notes https://chateau-logic.com/content/zxaf-development-notes <span>ZXAF Development notes</span> <span><span>admin</span></span> <span><time datetime="2009-09-23T21:57:05+02:00" title="Wednesday, September 23, 2009 - 21:57">23 September, 2009 - 21:57</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><a href="http://sourceforge.net/projects/zxaf/">ZXAF</a> is really the culmination of a lot of individual techniques that I've used in many different developments.</p> <p>So, I decided to pull of these together into a project, release it as opensource, and continue developing it with a view to doing everything the right way. It is a development without a timescale or a budget, and its nice to be able to spend time on pure development.</p> </div> <ul class="links inline"> <li><a href="https://chateau-logic.com/content/zxaf-development-notes" rel="tag" title="ZXAF Development notes" hreflang="und">Read more<span class="visually-hidden"> about ZXAF Development notes</span></a></li> </ul> Wed, 23 Sep 2009 19:57:05 +0000 admin 30 at https://chateau-logic.com How to use alpha blending on websites to create cool looking effects https://chateau-logic.com/content/how-use-alpha-blending-websites-create-cool-looking-effects <span>How to use alpha blending on websites to create cool looking effects</span> <span><span>admin</span></span> <span><time datetime="2008-08-07T14:15:56+02:00" title="Thursday, August 7, 2008 - 14:15">7 August, 2008 - 14:15</time> </span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Alpha blending is now possible thanks to improved browser support for PNG images with an alpha channel.</p> <p>In essence the alpha channel controls the visibility and I use this together with layering images atop each other to provide texture and colour to style page elements.</p> </div> <ul class="links inline"> <li><a href="https://chateau-logic.com/content/how-use-alpha-blending-websites-create-cool-looking-effects" rel="tag" title="How to use alpha blending on websites to create cool looking effects" hreflang="und">Read more<span class="visually-hidden"> about How to use alpha blending on websites to create cool looking effects</span></a></li> </ul> Thu, 07 Aug 2008 12:15:56 +0000 admin 8 at https://chateau-logic.com