Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] Snipmatch GSOC was: How to start with Recommender's source code

It seems that we have reached agreement in these respects:

1. Cheng be in charge of SnipMatch's client merge and improvement job
2. Doug be in charge of SnipMatch's server side job
3. Marcel supplies a Lucene and Git file system based snippets search engine both for server side and client side.

Then, we have to decide Snippet file's format:
1. Its file name does not make sense, just keep it unique
2. Use JSON or XML format, but we have almost agree with JSON. Marcel suggest we should use JSON, and i have read GsonUtil source code, and thought Recommenders have already some baisc JSON uitl tools, so use JSON can keep Recommenders' design consistency. So, i agree with JSON, what about you, Doug, can you finally confirm this point?
3.Snippets file's content details will corresponds to XML format elements in Doug's snippets attach file, if necessary, we can discuss add or remove some field.

Doug & Marcel, your advides ?


2012/2/21 Marcel Bruch <marcel.bruch@xxxxxxxxx>
Hi Doug,

On 20.02.2012, at 18:33, Doug Wightman wrote:

> GIT repositories is an awesome idea: sounds good to me!
>
> Yes, I'd be happy to be the primary mentor. I've contactes GSoC and
> will follow up.

Great!

> In terms of format, XML works for me - that's what we've used until
> now, but JSON is also fine. I'm not particular.

So, if both is fine for you I'd clearly vote for JSON for one primary reason:

All other server-side services are based on JAX-RS and JSON. IMHO, the server-side should use as few as possible different but similar technologies for storage, communication etc. as long as the existing tools make sense. In the case of XML vs. JSON there is IMHO no significant difference for our use case. Users that want to deploy recommenders' tool suite on their own servers should be able toto do so w/o the need to install a dozen different databases, and tools :)

For template storage I think GIT is the better choice (better than CouchDB) since update and synchronization is quite easy and with JGIT we have a simple library at hand to do it. In addition, there is no need complex setup required on server and client side to use these technologies. Thus, I'd vote for JAX/RS+JSON and GIT here.

Marcel
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev



--
Best Regards From Cheng Chen [chengchendoc@xxxxxxxxx]

Back to the top