On Wednesday 10 December 2003 03:02, Ashley Winters wrote:
> Howdy folks,
>
> I've come scurrying out from behind the rocks to float an idea past
> you. If you have a long memory, you know I'm auto-generating some
> RDF/XML voodoo to completely specify the API of KDE. Since every method
> in KDE will have a URI, I'd like a permanent place to house the
> resulting data.
>
> For instance, here is an example (non-existant, as yet) URI that I am
> contemplating use of right now (it's a doozy):
>
> http://rdf.kde.org/kde/3.2/kdeui#KPushButton::addButton(const+QString&,+boo
>l)
>
> Some sample XML from /kde/3.2/kdeui would look like so:
>
>
>
>
>
>
'kdeui' is a scope here, even though it is just a library name rather than a
namespace. Currently the C++ KDE classes which aren't in a namespace are in
KDE:: for perl and ruby with any initial 'K' removed from the classname. So
should that change to KDEUI:: for the classes in scope kdeui?
>
>
>
>
>
>
>
> rdf:about="&kdeui;KPushButton::addButton(const+QString&,+bool)"
> cpp:name="addButton">
>
>
>
>
> rdf:resource="&kdeui;QPushButton*+(KPushButton::*)(const+QString&,+bool
>)"/>
>
>
So the argument names will be available in the Smoke v2 runtime (essential for
Objective-C and Smalltalk bindings), even though they're not part of the URI?
>
>
>
>
>
>
>
>
>
> That concludes today's RDF exposition. Is my idea of rdf.kde.org too
> much? Would it be worth proposing once I come up with some
> library-specific XML files and a version of smoke to use them? :)
I can't find any books on rdf in my local book shops, if I could read O'Rielly
'Practical RDF' it might give me some idea - I haven't quite 'got it' yet.
Maybe there could be a service that would be useful to programmers who use
the C++ api - it isn't only useful to just bindings. So some sort of
interesting application of the rdf for C++ programmers like online
documentation/wiki, that would make them interested?
Can a wild card search be made on the rdf defined api, such as 'return all the
set* method names for this list of classes'?
-- Richard
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings