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