<?xml version="1.0" encoding="iso-8859-1"?>
<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns="http://purl.org/rss/1.0/"
>
  <channel rdf:about="http://news.xp-framework.net/8/News">  
    <title>News</title>
    <link>http://news.xp-framework.net/8/News</link>
    <description>XP Framework</description>
    <dc:language>en-US</dc:language>
    <dc:date>2008-11-20T09:37:14+01:00</dc:date>
    <dc:creator>xp-admin@xp-framework.net</dc:creator>
    <dc:publisher/>
    <dc:rights/>
    <items>    
      <rdf:Seq>      
        <rdf:li rdf:resource="http://news.xp-framework.net/article/282/2008/11/19/RFC__0167__RDBMS_and_Timezones"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/281/2008/11/14/RFC__0176__Scriptlet_URL_handler_classes"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/280/2008/11/02/XP_Runners_in_C_"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/279/2008/10/21/Imaging___Streams_integration"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/278/2008/09/22/RFC__0173__xp-tools.xar"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/277/2008/09/21/RFC__0170__Make_Specifying_nonexistant_classpaths_fatal"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/276/2008/09/05/5.6.9-RELEASE__PHP_5.3_Forward_compatibility_and_bugfixes"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/275/2008/08/23/PHP_5.3_Experiments"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/274/2008/08/23/Singleton_base_class"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/273/2008/08/14/RFC__0169__New_package_unittest.web"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/272/2008/08/12/PHP_5.3_and_typesafe_enumerations"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/271/2008/08/08/PHP_5.3"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/270/2008/08/08/RFC__0171__Rename_util.DateInterval_class"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/269/2008/08/05/5.6.8-RELEASE__HTTP__FTP__features_and_bugfixes"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/268/2008/07/19/Casting_an_object_array_to_a_string_array"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/267/2008/07/14/RFC__0164__Exceptions_for_XPClass__get___"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/266/2008/06/28/Search_function_online"/>
        <rdf:li rdf:resource="http://news.xp-framework.net/article/265/2008/06/25/Exceptions_in_Java"/>
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="http://news.xp-framework.net/article/282/2008/11/19/RFC__0167__RDBMS_and_Timezones">  
    <title>RFC #0167: RDBMS and Timezones</title>
    <link>http://news.xp-framework.net/article/282/2008/11/19/RFC__0167__RDBMS_and_Timezones</link>
    <description>&lt;b&gt;Scope of Change&lt;/b&gt;&lt;br/&gt;Extend DBConnections to manage and handle timezones&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Rationale&lt;/b&gt;&lt;br/&gt;Provide a valid timezone for date objects created from database values instead&lt;br/&gt;of using the default timezone.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://xp-framework.net/rfc/0167&quot;&gt;Read the full RFC here&lt;/a&gt;</description>
    <dc:date>2008-11-19T17:05:08+01:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/281/2008/11/14/RFC__0176__Scriptlet_URL_handler_classes">  
    <title>RFC #0176: Scriptlet URL handler classes</title>
    <link>http://news.xp-framework.net/article/281/2008/11/14/RFC__0176__Scriptlet_URL_handler_classes</link>
    <description>&lt;b&gt;Scope of Change&lt;/b&gt;&lt;br/&gt;A new class will be created which is used to handle the scriptlet URL in an&lt;br/&gt;easy and flexible way.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Rationale&lt;/b&gt;&lt;br/&gt;To make it easy for the scriptlet engine to deal with scriptlet URLs without&lt;br/&gt;having some preg_match() magic on different places, a new scriptlet URL class&lt;br/&gt;will be created.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://xp-framework.net/rfc/0176&quot;&gt;Read the full RFC here&lt;/a&gt;</description>
    <dc:date>2008-11-14T17:03:58+01:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/280/2008/11/02/XP_Runners_in_C_">  
    <title>XP Runners in C#</title>
    <link>http://news.xp-framework.net/article/280/2008/11/02/XP_Runners_in_C_</link>
    <description>&lt;img width='95' height='107' align='right' src=&quot;/uploads/csharp.png&quot; alt=&quot;C# icon&quot; hspace='5'/&gt;The XP runner infrastructure (as described in &lt;a href=&quot;http://xp-framework.net/rfc/0166&quot;&gt;RFC #0166&lt;/a&gt;) provides a flexible way to run the XP framework without having to configure PHP's system-wide &lt;tt&gt;include_path&lt;/tt&gt;. Besides the already existing implementation in &lt;tt&gt;/bin/sh&lt;/tt&gt;, there's now an implementation in C# (using the .NET framework 3.5). Apart from being a training project for my C# skills, it's also five times faster than using shell scripts on Windows via Cygwin:&lt;br/&gt;&lt;br/&gt;&lt;link href=&quot;http://experiments.xp-forge.net/xml/browse?arena,xprt,csharp&quot;/&gt;</description>
    <dc:date>2008-11-02T16:50:56+01:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/279/2008/10/21/Imaging___Streams_integration">  
    <title>Imaging / Streams integration</title>
    <link>http://news.xp-framework.net/article/279/2008/10/21/Imaging___Streams_integration</link>
    <description>The imaging API has been integrated with &lt;tt&gt;io.streams&lt;/tt&gt;. This means there is now no limitation anymore where images can be read from and stored to. &lt;i&gt;Compare for yourself!&lt;/i&gt;&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Old&lt;/b&gt; (and still possible) way - limited to files (via &lt;tt&gt;io.File&lt;/tt&gt;) and memory (&lt;tt&gt;io.Stream&lt;/tt&gt;):&lt;br/&gt;&lt;code&gt;&lt;span&gt; &lt;br/&gt;  &lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$image&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;-&amp;gt;saveTo&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;default&quot;&gt; JpegStreamWriter&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;default&quot;&gt; File&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;'out.jpg'&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;)))&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;;&lt;br/&gt;&lt;/span&gt;&lt;/code&gt;&lt;br/&gt;&lt;b&gt;New&lt;/b&gt; - exchange right-hand side of the following assignment with any of &lt;tt&gt;io.streams.MemoryOutputStream&lt;/tt&gt;, &lt;tt&gt;io.streams.FileOutputStream&lt;/tt&gt;, &lt;tt&gt;peer.SocketOutputStream&lt;/tt&gt;, &lt;tt&gt;peer.ftp.FtpFileOutputStream&lt;/tt&gt; or various others:&lt;br/&gt;&lt;code&gt;&lt;span&gt; &lt;br/&gt;  &lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$output&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;= ...&lt;br/&gt;  &lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$image&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;-&amp;gt;saveTo&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;default&quot;&gt; JpegStreamWriter&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$output&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;;&lt;br/&gt;&lt;/span&gt;&lt;/code&gt;</description>
    <dc:date>2008-10-21T16:06:07+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/278/2008/09/22/RFC__0173__xp-tools.xar">  
    <title>RFC #0173: xp-tools.xar</title>
    <link>http://news.xp-framework.net/article/278/2008/09/22/RFC__0173__xp-tools.xar</link>
    <description>&lt;b&gt;Scope of Change&lt;/b&gt;&lt;br/&gt;Classes used by command line utilities but not in xp-rt will be added to a new XAR file called &lt;tt&gt;xp-tools.xar&lt;/tt&gt;&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Rationale&lt;/b&gt;&lt;br/&gt;Separate classes currently in &lt;tt&gt;xp-net.xp_framework.xar&lt;/tt&gt; and used for core utilities from unittests.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://xp-framework.net/rfc/0173&quot;&gt;Read the full RFC here&lt;/a&gt;</description>
    <dc:date>2008-09-22T12:05:25+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/277/2008/09/21/RFC__0170__Make_Specifying_nonexistant_classpaths_fatal">  
    <title>RFC #0170: Make Specifying nonexistant classpaths fatal</title>
    <link>http://news.xp-framework.net/article/277/2008/09/21/RFC__0170__Make_Specifying_nonexistant_classpaths_fatal</link>
    <description>&lt;b&gt;Scope of Change&lt;/b&gt;&lt;br/&gt;Make having a classpath part to a XAR file or directory that actually does not exist or is not readable a fatal error.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Rationale&lt;/b&gt;&lt;br/&gt;Classpaths (or &quot;include_path&quot;s) are specified to change the order of and enhance the class loading process. A path within the classpaths that does not exist does not serve any useful purpose, but is usually a indicator of a simple mistake, which should be detected early.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://xp-framework.net/rfc/0170&quot;&gt;Read the full RFC here&lt;/a&gt;</description>
    <dc:date>2008-09-21T22:46:25+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/276/2008/09/05/5.6.9-RELEASE__PHP_5.3_Forward_compatibility_and_bugfixes">  
    <title>5.6.9-RELEASE: PHP 5.3 Forward compatibility and bugfixes</title>
    <link>http://news.xp-framework.net/article/276/2008/09/05/5.6.9-RELEASE__PHP_5.3_Forward_compatibility_and_bugfixes</link>
    <description>With the upcoming PHP 5.3, some changes in forward compatibility have been made to ensure 5.x-releases will also run with the new PHP versions. This release is the first release to work with PHP 5.3 (public alphas and development versions) but that will still work with PHP 5.2.x (XP 6 releases will require PHP 5.3 upwards, though the 5-series will stay around for a while).&lt;br/&gt;&lt;br/&gt;To use 5.6.9:&lt;br/&gt;&lt;ul&gt;&lt;li&gt;Open a shell window&lt;/li&gt;&lt;li&gt;Type wget &lt;link href=&quot;http://xp-framework.net/downloads/releases/5.6.9/setup&quot;/&gt; -O - | php&lt;/li&gt;&lt;li&gt;Add the path shown at the end to your PATH environment setting&lt;/li&gt;&lt;/ul&gt;&lt;br/&gt;</description>
    <dc:date>2008-09-05T20:25:35+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/275/2008/08/23/PHP_5.3_Experiments">  
    <title>PHP 5.3 Experiments</title>
    <link>http://news.xp-framework.net/article/275/2008/08/23/PHP_5.3_Experiments</link>
    <description>&lt;img width='100' height='64' align=&quot;right&quot; hspace=&quot;4&quot; src=&quot;/uploads/php-version5.gif&quot; alt=&quot;PHP Version 5&quot; /&gt;All the experiments with the newest PHP version can be found at &lt;a href=&quot;http://experiments.xp-forge.net/xml/browse?arena,five3&quot;&gt;the XP Forge's 5.3 experiments&lt;/a&gt;.</description>
    <dc:date>2008-08-23T12:58:47+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/274/2008/08/23/Singleton_base_class">  
    <title>Singleton base class</title>
    <link>http://news.xp-framework.net/article/274/2008/08/23/Singleton_base_class</link>
    <description>With the so-called &quot;late static binding&quot; feature in PHP 5.3 and the function &lt;tt&gt;get_called_class()&lt;/tt&gt; at hand we can realize a singleton base class. This will alleviate creating singleton classes -the only thing needed is to extend the base class:&lt;br/&gt;&lt;code&gt;&lt;span&gt; &lt;br/&gt;  &lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;default&quot;&gt; Logger extends Singleton &lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;&lt;br/&gt;  &lt;br/&gt;    public &lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;default&quot;&gt; log&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$arg&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;default&quot;&gt; &lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;&lt;br/&gt;      &lt;/span&gt;&lt;span class=&quot;comment&quot;&gt;// ...&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;&lt;br/&gt;    &lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;&lt;br/&gt;  &lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;&lt;br/&gt;  &lt;br/&gt;  Logger::getInstance&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;-&amp;gt;log&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;string&quot;&gt;'Hello'&lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;;&lt;br/&gt;&lt;/span&gt;&lt;/code&gt;</description>
    <dc:date>2008-08-23T12:10:05+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/273/2008/08/14/RFC__0169__New_package_unittest.web">  
    <title>RFC #0169: New package unittest.web</title>
    <link>http://news.xp-framework.net/article/273/2008/08/14/RFC__0169__New_package_unittest.web</link>
    <description>&lt;b&gt;Scope of Change&lt;/b&gt;&lt;br/&gt;A new package &lt;tt&gt;unittest.web&lt;/tt&gt; will be created. It will contain the base class &lt;tt&gt;WebTestCase&lt;/tt&gt; with which web tests can be written.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Rationale&lt;/b&gt;&lt;br/&gt;Integration testing.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://xp-framework.net/rfc/0169&quot;&gt;Read the full RFC here&lt;/a&gt;&lt;br/&gt;</description>
    <dc:date>2008-08-14T20:23:21+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/272/2008/08/12/PHP_5.3_and_typesafe_enumerations">  
    <title>PHP 5.3 and typesafe enumerations</title>
    <link>http://news.xp-framework.net/article/272/2008/08/12/PHP_5.3_and_typesafe_enumerations</link>
    <description>Within &lt;a href=&quot;http://xp-framework.net/rfc/0132&quot;&gt;RFC #0132&lt;/a&gt;, typesafe enumerations were added to the XP framework. Because PHP does not support them language-wise, we need a bit of workaround syntax to make them work.&lt;br/&gt;&lt;br/&gt;With PHP 5.3 and its so-called &quot;late static binding features&quot;, enum declarations can now be written much more compact for the simplest use-case. Example:&lt;br/&gt;&lt;br/&gt;&lt;code&gt;&lt;span&gt; &lt;br/&gt;  &lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;default&quot;&gt; TransactionType extends Enum &lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;&lt;br/&gt;    public &lt;/span&gt;&lt;span class=&quot;keyword&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;default&quot;&gt; &lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$NOT_SUPPORTED&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$REQUIRED&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$SUPPORTS&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;variable&quot;&gt;$NEVER&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;;&lt;br/&gt;  &lt;/span&gt;&lt;span class=&quot;bracket&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;default&quot;&gt;&lt;br/&gt;&lt;/span&gt;&lt;/code&gt;</description>
    <dc:date>2008-08-12T09:58:24+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/271/2008/08/08/PHP_5.3">  
    <title>PHP 5.3</title>
    <link>http://news.xp-framework.net/article/271/2008/08/08/PHP_5.3</link>
    <description>I've started playing around with the first alpha release of PHP 5.3 (should be released around September or October this year), see also &lt;a href=&quot;http://www.php.net/archive/2008.php#id2008-08-01-1&quot;&gt;the PHP 5.3 alpha1 announcement&lt;/a&gt; from August 1st.&lt;br/&gt;&lt;br/&gt;Some first observations:</description>
    <dc:date>2008-08-08T20:58:00+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/270/2008/08/08/RFC__0171__Rename_util.DateInterval_class">  
    <title>RFC #0171: Rename util.DateInterval class</title>
    <link>http://news.xp-framework.net/article/270/2008/08/08/RFC__0171__Rename_util.DateInterval_class</link>
    <description>&lt;b&gt;Scope of Change&lt;/b&gt;&lt;br/&gt;The &lt;tt&gt;util.DateInterval&lt;/tt&gt; class will be renamed.&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Rationale&lt;/b&gt;&lt;br/&gt;PHP 5.3 has a class called DateInterval built-in. Thus, non-namespaced versions of the XP framework won't run on PHP 5.3.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://xp-framework.net/rfc/0171&quot;&gt;Read the full RFC here&lt;/a&gt;&lt;br/&gt;</description>
    <dc:date>2008-08-08T20:50:01+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/269/2008/08/05/5.6.8-RELEASE__HTTP__FTP__features_and_bugfixes">  
    <title>5.6.8-RELEASE: HTTP, FTP, features and bugfixes</title>
    <link>http://news.xp-framework.net/article/269/2008/08/05/5.6.8-RELEASE__HTTP__FTP__features_and_bugfixes</link>
    <description>This release features quite a bit of revamp in the &lt;tt&gt;peer.http&lt;/tt&gt; API's backings - though nothing should change from the outside except for the new proxy feature, numerous fixes to the FTP support, and a couple of nice-to-have features.&lt;br/&gt;&lt;br/&gt;To use 5.6.8:&lt;ol&gt;&lt;li&gt;Open a shell window&lt;/li&gt;&lt;li&gt;Type wget &lt;link href=&quot;http://xp-framework.net/downloads/releases/5.6.8/setup&quot;/&gt; -O - | php&lt;/li&gt;&lt;li&gt;Add the path shown at the end to your PATH environment setting&lt;/li&gt;&lt;/ol&gt;</description>
    <dc:date>2008-08-05T20:47:39+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/268/2008/07/19/Casting_an_object_array_to_a_string_array">  
    <title>Casting an object array to a string array</title>
    <link>http://news.xp-framework.net/article/268/2008/07/19/Casting_an_object_array_to_a_string_array</link>
    <description>While testing the new EASC server and client implementations we're currently working on, we asked ourselves how to cast an object array to, for example, a string array.&lt;br/&gt;&lt;br/&gt;The following is an array of objects consisting solely of strings: &lt;pre&gt;  Object[] strings= new Object[] { &quot;Hello&quot;, &quot;World&quot; };&lt;/pre&gt;&lt;br/&gt;The first thing we tried was to cast it via &lt;tt&gt;(String[])strings&lt;/tt&gt;. This is legal sourcecode but will raise a &lt;tt&gt;java.lang.ClassCastException&lt;/tt&gt; in Java, and a &lt;tt&gt;System.InvalidCastException&lt;/tt&gt; in C#, both at runtime.</description>
    <dc:date>2008-07-19T21:15:28+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/267/2008/07/14/RFC__0164__Exceptions_for_XPClass__get___">  
    <title>RFC #0164: Exceptions for XPClass::get*()</title>
    <link>http://news.xp-framework.net/article/267/2008/07/14/RFC__0164__Exceptions_for_XPClass__get___</link>
    <description>&lt;b&gt;Scope of Change&lt;/b&gt;&lt;br/&gt;The following methods in &lt;tt&gt;lang.XPClass&lt;/tt&gt; will throw exceptions instead of returning &lt;tt&gt;NULL&lt;/tt&gt; for the case the respective element is not found:&lt;br/&gt;&lt;ul&gt;&lt;li&gt;&lt;tt&gt;getConstructor()&lt;/tt&gt;&lt;/li&gt;&lt;li&gt;&lt;tt&gt;getMethod(string name)&lt;/tt&gt;&lt;/li&gt;&lt;li&gt;&lt;tt&gt;getField(string name)&lt;/tt&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br/&gt;&lt;b&gt;Rationale&lt;/b&gt;&lt;br/&gt;Allow for chaining, be consistent with other APIs (if a hasX method exists, the getX method will throw an exception) and the &lt;tt&gt;getAnnotation()&lt;/tt&gt; method.&lt;br/&gt;&lt;br/&gt;&lt;a href=&quot;http://xp-framework.net/rfc/0164&quot;&gt;Read the full RFC here&lt;/a&gt;&lt;br/&gt;</description>
    <dc:date>2008-07-14T23:30:18+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/266/2008/06/28/Search_function_online">  
    <title>Search function online</title>
    <link>http://news.xp-framework.net/article/266/2008/06/28/Search_function_online</link>
    <description>On a short note: Finally had time to set up this site's search functionality on its production server. In the top right corner, you can find the search box which will search the site for words you enter (currently, only the news section is indexed). &lt;b&gt;Happy searching&lt;emoticon id=&quot;regular_smile&quot; text=&quot;:-)&quot;/&gt;&lt;/b&gt;</description>
    <dc:date>2008-06-28T18:01:16+02:00</dc:date>
  </item>
  <item rdf:about="http://news.xp-framework.net/article/265/2008/06/25/Exceptions_in_Java">  
    <title>Exceptions in Java</title>
    <link>http://news.xp-framework.net/article/265/2008/06/25/Exceptions_in_Java</link>
    <description>Found this nice article on exceptions in Java - from a historic overview of Oak, on checked and unchecked exceptions, and asynchronous exceptions it explains nicely (and with code examples) what the Java exception mechanism is about. What I like most are the best practices section, which applies not only to Java:&lt;br/&gt;&lt;br/&gt;&lt;blockquote&gt;&lt;ul&gt;&lt;li&gt;Don't Write Own Exceptions&lt;/li&gt;&lt;li&gt;Write Useful Exceptions&lt;/li&gt;&lt;li&gt;Throw exceptions early&lt;/li&gt;&lt;li&gt;Catch exceptions late&lt;/li&gt;&lt;li&gt;Document exceptions&lt;/li&gt;&lt;li&gt;Unit Test Exceptions&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;link href=&quot;http://www.javaspecialists.eu/archive/Issue162.html&quot;/&gt;</description>
    <dc:date>2008-06-25T10:57:27+02:00</dc:date>
  </item>
</rdf:RDF>
