<div dir="ltr"><div>Hello Olly,</div><div><br></div><div>I read about Xapian and SWIG and the bindings that Xapian has with other languages. </div><div>According to what I've read, I understand that</div><div><br></div>
<div>Xapian is a search engine library written in C/C++. It can be integrated with web applications which handle large amount of data.</div><div>But since the web applications may be written in a variety of languages a binding is required for the web app to be able to connect to the xapian software. And SWIG plays a role in generating intermediate code for the web app to link with the bindings.</div>
<div><br></div><div>I'd like to know if what I've understood is correct.</div>
<div><br></div><div><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Thanks and Regards,</div><div>Anish Kanchan</div><div><div>Student, University of Mumbai</div><div><br></div></div></div></div>
<br><br><div class="gmail_quote">On Sun, Feb 23, 2014 at 11:50 AM, Olly Betts <span dir="ltr"><<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
Hi Anish,<br>
<div><br>
On Sat, Feb 22, 2014 at 05:47:44PM +0530, Anish Kanchan wrote:<br>
> I wish to participate in the Google Summer of Code program. I good at Java,<br>
> PHP and C++. I went through all the projects and I feel that the skills<br>
> required for Bindings Improvement project closely match mine.<br>
><br>
> I would like to solve any existing bugs in this project if they exist.<br>
<br>
</div>This is an issue with the java bindings (on trunk) which shouldn't be<br>
complex to solve:<br>
<br>
<a href="http://trac.xapian.org/ticket/616" target="_blank">http://trac.xapian.org/ticket/616</a><br>
<br>
If you've not used SWIG before, that would be a relatively gentle<br>
introduction to it.<br>
<div><br>
> Also, could you please tell me which other areas I'll have to do research<br>
> on in order to be fit to implement this project. This would then enable me<br>
> to write an effective proposal as well.<br>
<br>
</div>Do you have an idea which language(s) you'd want to work on?<br>
<br>
There's not a huge number of things to do for Java, so that alone is<br>
probably too lightweight a project, and you'd probably want to combine<br>
it with something else (which doesn't have to be related).<br>
<br>
The PHP project idea is a lot more substantial, since it involves<br>
updating how SWIG wraps PHP code. A good way to learn more about<br>
that would probably be to try wrapping a Xapian class or two by hand<br>
using the PHP API we want to change SWIG to use:<br>
<br>
<a href="http://devzone.zend.com/1435/wrapping-c-classes-in-a-php-extension/" target="_blank">http://devzone.zend.com/1435/wrapping-c-classes-in-a-php-extension/</a><br>
<br>
Once you have a hand-written wrapper, you can work towards making SWIG<br>
generate the same code.<br>
<br>
Cheers,<br>
Olly<br>
</blockquote></div><br></div></div>