[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ecf-dev] Using Namespaces, IDs etc.
- From: "Erkki Lindpere" <villane@xxxxxxxxx>
- Date: Thu, 3 Aug 2006 15:15:40 +0300
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gLOKYxzAEfFktchhoidabJ8mc9ORrA5lBacEaxuCv+An8aCffnncilXBZgFJm+89yI49z/laYh7O8hc/lhshsrY6iBj6biQu7GZRC8bMuVCHEacqs37URHnHZyc0I1wa4W5/+/mV2kR0k+eCnEByTl3Pc8n59Y8Ya2PkhqRoFJE=
I'm going to start trying out a BBAPI rewrite using ECF and I have
some questions about how to best use ECF concepts like namespaces &
So far it seems to me that when I have for example a phpBB provider,
it should have a namespace like "ecf.phpBB".
I thought of making several object classes of bulletin boards
"IIdentifiable": forums, threads, single posts, users (and some more).
So for example a forum's ID within the "ecf.phpBB" namespace could
have it's URL as the name i.e.
Is this the right approach, or should IDs be used mainly for user accounts?
Another problem: if a user account's ID is represented by it's URL and
the URL is something like
if the login asks for only username and password, then the URL
representation (that contains the users numeric ID in phpBB) becomes
known after actually connecting and successfully logging in -- that
means it won't be known offline, but as I understand so far, ECF ID-s
should be fully defined offline as well? Or is it ok to make a network
connection while creating an ID?