[that's a new way to mangle email -- haven't seen that one before -- thanks
for the resend.]

Yes, the web site is linked in my footer. Strange how hard it is to see. ;-)

Re issues: yes I found the tracker and I know Jira. What I don't know is
anything about the culture or philosophy of raising issues, the kind of
language or repro required, why things are done the way they are when I
would do it quite differently, stuff like that. I'm a long way off
understanding the product well enough to propose an actual patch. But I'll
see if I can raise something and at least you'll know what it's about.

Evernote: I'll check it out.
Cassandra: yes, I found that. Looks like they've already moved to CQL. Not
much detail, but looks vaguely like ODBC with a different query language.
Any others?

Re Java: again, I don't know enough to tell you what you should be doing. I
figured out all that stuff, but I just know I found it harder than I
expected, and I'm familiar with Java. It seems you expect people to be
writing both the client and server and to invest the time to figure
everything out, including building from source, which is a higher barrier
than I was hoping for, for my client-only users.

Yes, I am using the NuGet and that certainly helps. Did you know that the
community 0.9.1 includes the compiler, but the official 0.9.2 does not? It's
pretty hard to use without the compiler, but I'll put that in the issue.

Regards
David M Bennett FACS

Andl - A New Database Language - andl.org


-----Original Message-----
From: Jens Geyer [mailto:[email protected]] 
Sent: Tuesday, 8 September 2015 10:22 PM
To: [email protected]
Subject: RE: Thrift as an API for Andl

Somehow the text got garvbled. here's a more readable version (hoppefully)
again:


-----------------------------------------------------------

 
Hi David,


> I'm new to Thrift. I want to use it to implement a remoting API for a
relational database 

> language called Andl. See web site for details.



Great! Is that http://www.andl.org ?


> First: my platform is Windows C#. I found a few problems with setting up
Thrift due 

> to errors in the CSharp parts of the tutorial and related project files.
I'm happy to raise 

> issues for them if anyone is interested, but I don't really know Thrift
well yet or how best to do that.

 
There is a JIRA issue tracker, see web site. We also do accept PRs. 

https://thrift.apache.org/docs/HowToContribute 


> Second: I don't expect to have too much difficulty in writing a Thrift
server to suit my purposes, 

> but it's an asymmetric situation. Any user of Andl who wanted to use the
Thrift interface would 

> have to install and use Thrift (as well as my Andl/Thrift server), and I
want to make sure that 

> barrier to entry is as low as possible. IOW I write the server but they
write the client; 

> I get to work hard so they don't have to. I wondered if you could point me
to any other 

> projects doing something like this so I could get some tips on how best to
approach it.

 
Evernote has a public Thrift API since 2011


https://blog.evernote.com/tech/2011/05/26/evernote-and-thrift/


Apache Cassandra also offers a public Thrift-based API, albeit they are
about to deprecate it in favour of their own query language.


http://cassandra.apache.org/



And we do it at our company :-)


> Third: As a kind of test of the above I wrote a Java client. I found that
I 

> was unable to load a jar file from the Thrift site (but I found it on the 

> Central Repository). 

 That's the typical case for most (all) languages. For example, there's an
officially maintained nuget package for C# available.
 
> Then I found that the generated code had a dependency on a logging
package. 

 That has been solved IIRC. At least someone worked at it in the last weeks.
Try searching JIRA or the mailing list archives.


> Then I had problems working out where to put the generated code, relative
to the other source. 

 That's a pretty generic question. The default location are folders that
start with gen-*, these are usually excluded from the CVS via that pattern.
You may set a different output folder using the -out NAME argument. Type
thrift --help for all options. If you want something else, please explain.

> This is the kind of friction I'm worried about. Comments?


Looking forward to your cool API :-)



Have fun,

JensG                                     

Reply via email to