Re: [xwiki-users] Document concept

2010-09-22 Thread [Ricardo Rodriguez] eBioTIC.
Hi, Raluca, all, please, allow me to post some more questions related 
with this thread.

Raluca Stavro wrote:
 Hi,

 On Tue, Sep 21, 2010 at 1:37 AM, [Ricardo Rodriguez] eBioTIC.
 ricardo.rodrig...@ebiotic.net wrote:
   
 Hi,

 Please, as an new XWiki *user* is created as a new instance of
 XWiki.XWikiUser class, what class is instantiated to create a new XWiki
 *document*?
 

 There is a difference between XWiki classes and Java classes.
   

OK. XWiki classes are simulated using the underlying relational 
database schema. Please, is that correct?

XWiki/XWikiClasses gives me a least of XWiki classes. Data type and 
XWiki class are used as synonymes?

XWiki Java classes (http://tinyurl.com/324qsfg) are in xwiki-core-*.jar 
libraries in the servlet container webapps directory /xwiki/WEB-INF/lib.
 'XWiki.XWikiUsers' class is an XWiki class and when a new user is
   
The read the properties of an XWiki class, all I have to do is to use 
?editor=object to edit any document with an object of that class attached.

When I attach a XWiki class to a given document, can I say that I 
instantiate this class?

 created, a new XWiki document is created and an object of type
 'XWiki.XWikiUsers' is attached to that XWiki document.
 A default XWiki document has no object of an XWiki class type attached.
   
 But, any XWiki instance is built on the top of the XWiki platform -
 written in Java (see the API reference:
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/API/) .
 So, an XWiki document is an instance of type Document (see Document
 class inside the platform API).
   

Is a XWiki document an instance of XWiki Java class Document? Can each 
document instantiate any number of XWiki classes?

I know I can not want to learn Java and objected-oriented programming by 
getting answer here! Please, accept my apologies if I am giving this 
impression. I'm getting the idea that, at least, some times, words are 
used with different meanings depending on the context and/or the site. 
It could be obvious for experienced developers when these words are 
correctly used and when they aren't. But my feeling is that this kind of 
problems is avoiding that more people get access to programming skills 
within the XWiki framework. I'll keep trying to understand the 
architecture (I don't forget this 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Architecture/WebHome) 
and, I hope, some day, I can explain it to others! :-)

Thank you so much!

Ricardo

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Document concept

2010-09-21 Thread Raluca Stavro
Hi,

On Tue, Sep 21, 2010 at 1:37 AM, [Ricardo Rodriguez] eBioTIC.
ricardo.rodrig...@ebiotic.net wrote:
 Hi,

 Please, as an new XWiki *user* is created as a new instance of
 XWiki.XWikiUser class, what class is instantiated to create a new XWiki
 *document*?

There is a difference between XWiki classes and Java classes.
'XWiki.XWikiUsers' class is an XWiki class and when a new user is
created, a new XWiki document is created and an object of type
'XWiki.XWikiUsers' is attached to that XWiki document.
A default XWiki document has no object of an XWiki class type attached.
But, any XWiki instance is built on the top of the XWiki platform -
written in Java (see the API reference:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/API/) .
So, an XWiki document is an instance of type Document (see Document
class inside the platform API).

Raluca.


 Thanks!

 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Document concept

2010-09-20 Thread [Ricardo Rodriguez] eBioTIC.
Hi,

Please, as an new XWiki *user* is created as a new instance of 
XWiki.XWikiUser class, what class is instantiated to create a new XWiki 
*document*?

Thanks!

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users