<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 12:03 PM, daniela florescu <span dir="ltr"><<a href="mailto:dflorescu@me.com" target="_blank">dflorescu@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Ihe,<br>
<br>
based on my own personal experience, I could give you the long version of the answer and the short version<br>
of the answer.<br>
<br>
I’ll start with the short one.<br>
<br>
And I will start with the NON-reason for the non-sucess of Xquery.<br>
<br>
1. No, it’s not because it’s functional.<br>
<br>
Even though, because it’s functional, it will be restricted to be used only by people with CS degrees, and not by<br>
random Joes and Janes who write web sites. The way it is designed it is intended to make a population of educated programmers<br>
ETREMELY efficient, and NOT to increase the  total number of developers to hundreds of millions.<br>
<br>
When being reproached this fact in the past, my answer was always the same: building a database application should not be for the uneducated.<br>
It’s like building a 30 story building, you don’t do that without a architect ad a structural engineer.<br>
E.g. if you want to eradicate a grave neurological disease, you don’t lower the bar to allow anyone from the street to perform a neurosurgery,<br>
you just make the existing neurosurgents more productive.<br>
<br>
And BTW, XQuery (like any programming language in 2015) should not be written by hand, by mostly automatically generated by tools, so at the end,<br>
who cares if it is functional or not.<br>
<br>
2. It’s not because academia doesn’t pay attention.<br>
<br>
That’s not true. Almost every database class I know finishes with teaching the students XQuery. I taught full XML/XQuery classes myself in both Stanford and Berkeley<br>
and the students loved it. It is true that most database professors themselves don’t understand XML and XQuery, but that’s another story……<br>
<br></blockquote><div><br></div><div>I'm not sure about that. I know Harvard does but that is part of a web programming course.</div><div><br></div><div><a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-830-database-systems-fall-2010/readings/">http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-830-database-systems-fall-2010/readings/</a><br></div><div><a href="http://ocw.mit.edu/courses/civil-and-environmental-engineering/1-264j-database-internet-and-systems-integration-technologies-fall-2013/lecture-notes-exercises/">http://ocw.mit.edu/courses/civil-and-environmental-engineering/1-264j-database-internet-and-systems-integration-technologies-fall-2013/lecture-notes-exercises/</a><br></div><div><br></div><div>MIT doesn't, neither does either of the universities I went to.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
==============<br>
<br>
Here would be my FIRST real reason:<br>
<br>
1. XQuery CANNOT be more successful then the problem that it tries to solve, which is XML processing.<br>
<br>
XML itself is not successful.Period.<br>
There is no money in XML. Period.<br>
<br>
There is a USE CASE in XML as documents, but not enough money in this market.<br>
<br>
And XML as data is a total flop. XML is hated and avoided by the developers like hell. And that, for good reasons.<br>
<br></blockquote><div><br></div><div>What are they. Alot of the ones I have read aren't true and seem to be based on a lack of knowledge about XML</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
So, why wouldn’t they use XQuery, when they don’t want to see the face of XML in the first place !?<br>
<br>
So, you see,  it would be unreasonable to expect that XQuery is successful in places where XML is hated.<br>
<br>
E.G. MarkLogic after 14 years of existence barely managed to pass 100M revenue. DatasTax after 3 years<br>
of existence is at more then 300M revenue (and less investment from VCs).<br>
<br>
It’s … XML vs. JSON. Documents vs. data.<br>
<br></blockquote><div><br></div><div>Y'see I reckon that if JSON was deployed in many of the domains where XML is, it too would be hated.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
So…. I think it is simply a question of …. there is no market for XML ……(aka no enough MONEY in the market).<br>
<br>
<br>
(there are plenty of other reasons, of course, but I think this is the main one..)<br>
<br>
=============<br>
<br>
The only way for the ideas behind XQuery to become successful is trough JSON and a language like JSONiq.<br>
<br>
Because there IS enough money in the market behind JSON…<br>
<br>
That’s my short answer.<br>
<br>
I can send you the longer answer, maybe later.<br>
<br></blockquote><div><br></div><div>Eagerly awaited. </div></div></div></div>