Re: xindice usage

"Tak-po Li" <[email protected]> Mon, 22 Sep 2008 13:30:17 -0400
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
------=_Part_37176_2043011.1222104617782
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Natania,

It seems node level is similar to the record level in relational DB.
Thanks for your new info.

Tak





On Mon, Sep 22, 2008 at 9:02 AM, Natalia Shilenkova
<[email protected]>wrote:

> On Sat, Sep 20, 2008 at 4:11 PM, Tak-po Li <[email protected]> wrote:
> >
> > Hi Natania,
> >
> > Thanks, I will change the PATH from /db/addressbook to /db/cad.
> >
> > Change the subject again.  I am new with xml database.  How it can be
> used
> > in a typical web application?  What is a typical way to handle multiple
> > users and version control?
>
> I don't think that using Xindice as database would be so much
> different from relational DB. Access/version controls have to be
> implemented in an application - there is no such built-in
> functionality in Xindice.
>
> > I am working on an online CAD tool that would serve multiple users with
> > programmable group read/write access allowance (similar to file access in
> > Unix system) and version control. On the surface, the xml database can be
> > setup as following:
> >
> > /db/
> >    cad/
> >         group0/
> >                 user0/
> >                        proj0/
> >                               page0/
> >                               page1/
> >                               page2/
> >                               ...
> >                        proj1/
> >                        ...
> >                  user1/
> >                        proj0/
> >                               page0/
> >                               page1/
> >                               page2/
> >                               ...
> >                        proj1/
> >                        ...
> >                  user2
> >                  ...
> >         group1/
> >         ...
> >
> > How should I handle programmable access?  should I use attribute in the
> > project level to handle it?  What is minimum unit for an update?  Should
> we
> > handle update in the page level or could it be done in even lower
> > level?  How should I implement version control in that case?
>
> XUpdate service allows to modify documents on the node level. As for
> the rest of the questions... It's not like there is only one way of
> doing something like that. And the answer depends on lots of things
> that you probably know better than anyone else. Good luck :)
>
> Regards,
> Natalia
>
> >
> > Thanks,
> >
> > Tak
>

------=_Part_37176_2043011.1222104617782
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr"><div>&nbsp;</div>
<div>Natania, </div>
<div>&nbsp;</div>
<div>It seems node level is similar to the record level in relational DB.</div>
<div>Thanks for your new info.</div>
<div>&nbsp;</div>
<div>Tak</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Mon, Sep 22, 2008 at 9:02 AM, Natalia Shilenkova <span dir="ltr">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">On Sat, Sep 20, 2008 at 4:11 PM, Tak-po Li &lt;<a href="http://takpo.li/" target="_blank">takpo.li</a>@<a href="http://gmail.com/" target="_blank">gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; Hi Natania,<br>
&gt;<br>&gt; Thanks, I will change the PATH from /db/addressbook to /db/cad.<br>&gt;<br>&gt; Change the subject again. &nbsp;I am new with xml database. &nbsp;How it can be used<br>&gt; in a typical web application? &nbsp;What is a typical way to handle multiple<br>
&gt; users and version control?<br><br></div>I don&#39;t think that using Xindice as database would be so much<br>different from relational DB. Access/version controls have to be<br>implemented in an application - there is no such built-in<br>
functionality in Xindice.<br>
<div>
<div></div>
<div class="Wj3C7c"><br>&gt; I am working on an online CAD tool that would serve multiple users with<br>&gt; programmable group read/write access allowance (similar to file access in<br>&gt; Unix system) and version control. On the surface, the xml database can be<br>
&gt; setup as following:<br>&gt;<br>&gt; /db/<br>&gt; &nbsp; &nbsp;cad/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; group0/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; user0/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proj0/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; page0/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; page1/<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; page2/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proj1/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;user1/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proj0/<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; page0/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; page1/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; page2/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proj1/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;user2<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;...<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; group1/<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>&gt;<br>&gt; How should I handle programmable access? &nbsp;should I use attribute in the<br>&gt; project level to handle it? &nbsp;What is minimum unit for an update? &nbsp;Should we<br>
&gt; handle update in the page level or could it be done in even lower<br>&gt; level? &nbsp;How should I implement version control in that case?<br><br></div></div>XUpdate service allows to modify documents on the node level. As for<br>
the rest of the questions... It&#39;s not like there is only one way of<br>doing something like that. And the answer depends on lots of things<br>that you probably know better than anyone else. Good luck :)<br><br>Regards,<br>
Natalia<br><br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Tak<br></blockquote></div><br></div>

------=_Part_37176_2043011.1222104617782--