I've been working on a PHP client for ElasticSearch and would like to get
some comments/opinions on the library interface. The client is not in a
workable state yet, but the developer API is starting to come together. I
figure this is a good time to get some feedback before it becomes too
entrenched. If you are a PHP developer, I'd love your thoughts! Please
check the "Usage" section of the readme:
https://github.com/polyfractal/elasticsearch-sherlock/tree/release/v0.1.0
My main goal is to provide a library interface that focuses on simplicity
and brevity. I dislike needing to know the internal classes of a library
(e.g. to instantiate a QueryString class or whatever). Instead, Sherlock
relies on the main library class to build requests through method calls. I
also use method chaining liberally so that the developer can flow through
various ES settings quickly.
That's the goal at least. But I've been staring at the code for a while,
so outside opinion is greatly appreciated.
Cheers,
-Zach
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.