Re: More namespacing woe ...



"Sergio A. Kessler" <sak tribctas gba gov ar> writes:

> Maciej Stachowiak <mjs eazel com> el día 29 Nov 2000 19:50:57 -0800, 
> escribió:
> [...]
> >But the main point here is about all those hundreds of thousands of
> >people who will be writing their own applications if GNOME becomes a
> >successful platform. I don't think having all of them on this mailing
> >list scales.
> 
> this people can resolve this problem in the same way they resolve
> file-level namespaces, for example, they will try to avoid naming
> the executables 'nautilus' ...
> 
> but I think the main point of miguel is about _using_ the components,
> for example in php (once bonobo get support) it will suck to do:
> 
>  $instance = bonobo("GNOME/Gnumeric:bd1e1862-92d7-4391-963e-37583f0daef3");

Since you only want to activate by OAFIID under very rare circumstances,
this isn't really an argument.

What you want to do in your php is something like

   $instance = oaf_query('repo_ids.has ("GNOME/Gnumeric:1.0")');

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]