Copyright © Kirk Rader 2013-2014

Kirk Rader

Acknowlegements: This site uses PHP, jQuery and the QR code generator jQuery plugin by Jerome Etienne.

 



http://www.rader.us
GitHub Repositories


http://www.github.com/parasaurolophus
Android Apps

https://play.google.com/store/search?q=pub:Kirk+Rader
Music

http://www.cdbaby.com/artist/kirkrader
iaurath berúthiel (Berúthiel's Cats)

http://www.rader.us/beruthiel
OpenPGP Public Key


kirk_public.txt

Software architecture, design, implementation

  • Java / JEE
  • C# / .NET
  • C++
  • Android
  • Linux
  • Windows
  • Mobile / embedded / consumer electronics
  • XML / XSL
  • REST

Use the links to the left to see examples, tutorials etc.

In addition, this page itself provides an example of using PHP, CSS and XSLT to format HTML in a modular fashion. In particular, links.xml, links.xsl and qr.xsl are used in conjunction with the following in-line PHP code:

<?php
function transform_xml($xmlUri, $xslUri) {
    $xsl = new DOMDocument ();
    if (! $xsl->load ( realpath ( $xslUri ) )) {
        return "error loading XSL";
    }
    $xml = new DOMDocument ();
    if (! $xml->load ( realpath ( $xmlUri ) )) {
        return "error loading XML";
    }
    $xslt = new XSLTProcessor ();
    if (! $xslt->importStylesheet ( $xsl )) {
        return "error importing XSLT";
    }
    $html = $xslt->transformToDoc ( $xml );
    if (! $html) {
        return "error transforming XML to HTML";
    }
    $result = $html->saveHTML ();
    if (! result) {
        return "error saving HTML";
    }
    return $result;
}
?>

See souces at https://github.com/parasaurolophus/home for details.