<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.webappkit.net/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>webAppKit blog - discuss</title>
  <link>http://blog.webappkit.net/</link>
  <atom:link href="http://blog.webappkit.net/feed/category/discuss/rss2" rel="self" type="application/rss+xml"/>
  <description>news about webAppKit, the generic PHP kernel for web apps</description>
  <language>en</language>
  <pubDate>Wed, 10 Sep 2008 12:39:03 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Changes for kits interface - requests for comments</title>
    <link>http://blog.webappkit.net/post/2007/06/29/Changes-for-kits-interface-requests-for-comments</link>
    <guid isPermaLink="false">urn:md5:d5343520bd8f4f3a3275925bde359323</guid>
    <pubDate>Fri, 29 Jun 2007 17:20:00 +0200</pubDate>
    <dc:creator>J.Ducastel</dc:creator>
        <category>discuss</category>
        <category>roadmap</category>    
    <description>&lt;p&gt;I'm about to change the current kit interface (the webappkit class). The
goal is to make it more agile and extensible. Please let me know how bad are
this ideas.&lt;/p&gt;    &lt;p&gt;First, i plan to allow inheritance / overriding of this class. Each kit may
define its own kti class, and/or inherit from a specific kit class. To allow
this, it will be required to read the metadata file &lt;em&gt;before&lt;/em&gt; creating
the kit instance (to resolve classe heritage). But heritage may go further than
just class heritage, it may also concern kits components such as services and
storages.&lt;/p&gt;
&lt;p&gt;Second, i thought again about generic components, like services and
storages. Rather than having specific kit methods to retrieve them, they would
be public members of their kit instances. For example :&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;$foo=&amp;amp;$kit-&amp;gt;getService('foo');
$foo-&amp;gt;bar();&lt;/code&gt;
would become
&lt;code&gt;$kit-&amp;gt;services-&amp;gt;foo-&amp;gt;bar();&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;where $kit-&amp;gt;services would be an instance of a ServiceFactory class. Each
component type would have its factory / iterable class. Components would be
loaded on kit-&amp;gt;load(), not when creating kit instance.&lt;/p&gt;
&lt;p&gt;In the same way, subkits instances would be available within their parent
kit with &lt;code&gt;$kit-&amp;gt;subkits-&amp;gt;subkit_name;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;On a side note, webappkit/appengine framework kit have been renamed to
webappkit/evtengine. This is more meaningful, and it may not be the favorite
framework for web admin. Rather, i plan to develop a framework based on the new
webappkit paradigm rather than implement the old paradigm again. More about
this later : one commit at a time ;)&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>