Hello,

On Wed, Jan 11, 2012 at 12:23 PM, mohit gupta <motgu...@gmail.com> wrote:

> Thanks a lot  Raluca.Looks like everything goes to xwiki database by
> default. Two more questions on same .
>
>  As you told   there are 2 ways of storing attachments. Which one is
> default? Where in xwiki UI , as admin user he need to change to other
> value, if he wants
>

The default way of storing attachments is the database (document based) one.


>
> Another thing are you aware of table name where these docs gets
> stored.Looks like in *xwikidoc* table . Right?
>

The xwiki database is structured, so there are tables for documents, for
objects, properties, attachments and so on.
Check this schema:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema .

Raluca.


>
>
>
> On Wed, Jan 11, 2012 at 3:21 PM, Raluca Stavro <rsta...@xwiki.com> wrote:
>
> > Hello,
> >
> > On Wed, Jan 11, 2012 at 11:23 AM, mohit gupta <motgu...@gmail.com>
> wrote:
> >
> > > I have a question regarding the location of storage of different
> content
> > in
> > > xwiki.(I mean does it get stored in xwiki databse which we mention in
> > > hibernate.cfg.xml or somewhere else on disc?)Where does below contents
> > gets
> > > stored in xwiki :-
> > > 1)Space and page contents
> > >
> >
> > In the database.
> >
> >
> > > 2)Atachment under spaces/pages
> > >
> >
> > There are 2 ways of storing attachments:
> > a) As part of documents (each attachment is stored as binary data in the
> > document xml) -> they go along with the documents in the database.
> > b) As filesystem attachments -> they go on the filesystem
> >
> >
> > > 3)Users ,groups, spaces
> > >
> >
> > Almost everything in XWiki is a document :) So, users, groups, spaces are
> > all documents -> they all go in the database.
> >
> >
> > > 4)Rights given to Users ,groups, spaces
> > >
> >
> > Rights given to users, groups are objects attached to documents (each
> > object is part of the document xml) -> they go with documents in the
> > database.
> >
> >
> > > 5)Any modification done from admin user like changes in main Page
> > > configuration/Look and Fell , changing the default colour theme or
> > > addition of new colour theme.
> > >
> >
> > Color themes are also documents -> they go in the database.
> > Unless the Look & Feel changes are made in the filesystem skin (this is
> not
> > recommended), all the UI changes go in the database.
> >
> > Raluca.
> >
> >
> > >
> > >
> > > Thanks.
> > > _______________________________________________
> > > 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
> >
> _______________________________________________
> 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

Reply via email to