On Monday, 07 July 2008, at 14:23:51 (+0200),
Dave Andreoli wrote:

> hmmm, this is a problem... we can use:
> item: "/theme/applications"   "e etk ewl";
> 
> but then we also need multiple "application_version" fiels, like:
> item: "/theme/e_version"    "xxx"
> item: "/theme/etk_version"  "xxx"
> item: "/theme/ewl_version"  "xxx"

1.  Use the hierarchy you already have.  Don't invent silly additional
separators (like '_') for no reason.

    item: "/theme/application/e/min_version"    "0.16.999.043";
    item: "/theme/application/ewl/min_version"  "0.5.1";

2.  Don't duplicate information.  Think like a database:  normalize.
The existence of "/theme/application/<foo>" implies that
"/theme/applications" would contain "<foo>".

3.  This whole mess is a very bad idea.  Handling versioned
dependencies is a much, much harder problem than you realize.  And
restricting what applications are allowed to peek at a theme's bits is
silly.  Just make the bits available to whatever application wants to
use them, and don't try to reinvent dependencies.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "This is how the world ends: swallowed in fire, but not in darkness.
  You will live on.  The voice of all our ancestors, the voice of our
  fathers and our mothers to the last generation.  We created the
  world we think you would have wished for us, and now we leave the
  cradle for the last time."                           -- Babylon Five

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to