You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by Stephen Mallette <sp...@gmail.com> on 2016/05/23 12:02:06 UTC
Gremlin Recipes
Hello all,
If you've been on the gremlin-users list for a while, you'll know that
there are some really good, high-quality answers to questions.
Unfortunately, the knowledge that they impart is often lost in long threads
and the endless archives of google groups. If you read enough of the kinds
of questions that are answered, patterns definitely emerge and the same
questions are just answered over and over in different ways.
We noticed that in TinkerPop 2.x and with GremlinDocs.com we had a
"recipes" section that had common Gremlin traversal patterns discussed in
it. We now have something similar in TinkerPop 3.x - Gremlin Recipes:
http://tinkerpop.apache.org/docs/3.2.1-SNAPSHOT/recipes/
I personally still have a fairly long list of links to "good answers" from
the mailing list, that I intend to translate into "recipes" over time, but
we have a good start for now. If someone (Kuppitz) feeds you a good answer
on the mailing list, a nice "thank you" would be to write up a recipe based
on your question and submit it as a PR. Notes for how to do that are at the
bottom of the recipes page.
I think recipes are going to be a great resource for developers who are
trying to learn more about complex traversal patterns.
Bon appétit
Chef Stephen
[image: Inline image 1]
Re: [TinkerPop] Gremlin Recipes
Posted by Marko Rodriguez <ok...@gmail.com>.
Hello,
Note that I just update our homepage header Tutorials section with the "Recipes" link as well as the index.html Tutorials section.
*** I also removed the Apache Incubator disclaimer from the footer! :D Cool.
Thanks,
Marko.
http://markorodriguez.com
On May 23, 2016, at 6:02 AM, Stephen Mallette <sp...@gmail.com> wrote:
> Hello all,
>
> If you've been on the gremlin-users list for a while, you'll know that there are some really good, high-quality answers to questions. Unfortunately, the knowledge that they impart is often lost in long threads and the endless archives of google groups. If you read enough of the kinds of questions that are answered, patterns definitely emerge and the same questions are just answered over and over in different ways.
>
> We noticed that in TinkerPop 2.x and with GremlinDocs.com we had a "recipes" section that had common Gremlin traversal patterns discussed in it. We now have something similar in TinkerPop 3.x - Gremlin Recipes:
>
> http://tinkerpop.apache.org/docs/3.2.1-SNAPSHOT/recipes/
>
> I personally still have a fairly long list of links to "good answers" from the mailing list, that I intend to translate into "recipes" over time, but we have a good start for now. If someone (Kuppitz) feeds you a good answer on the mailing list, a nice "thank you" would be to write up a recipe based on your question and submit it as a PR. Notes for how to do that are at the bottom of the recipes page.
>
> I think recipes are going to be a great resource for developers who are trying to learn more about complex traversal patterns.
>
> Bon appétit
>
> Chef Stephen
>
> <gremlin-chef.png>
>
> --
> You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H438UuuT-Tk9FNee%3DuF2Gwas6PcGVSboqETvLbG8pffkGqQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
Re: [TinkerPop] Re: Gremlin Recipes
Posted by Stephen Mallette <sp...@gmail.com>.
I think we should try to "group" as best we can or else it will be hard for
people to find things. I guess the groups will evolve to a certain degree
as we go. I think my preference would be to seem groups as big themes or
wide patterns as opposed to smaller groups with more specific and
individual intent. Such things can be discussed when a recipe is submitted.
On Tue, May 24, 2016 at 10:53 AM, Mark Henderson <em...@gmail.com> wrote:
> Awesome stuff! Thanks for putting this together so fast. I can see this
> being a place to discover little Gremlin secrets like 'orElseGet{...}'
> (things that aren't in the official documentation).
>
> Is there a particular type of recipe that should be submitted? I ask
> because people could cover very simple concepts (check if edge exists), to
> moderate ones(close the triad), to complex ones (aggregates based on logic
> and groupings, etc).
>
>
> On Monday, May 23, 2016 at 8:02:09 AM UTC-4, Stephen Mallette wrote:
>>
>> Hello all,
>>
>> If you've been on the gremlin-users list for a while, you'll know that
>> there are some really good, high-quality answers to questions.
>> Unfortunately, the knowledge that they impart is often lost in long threads
>> and the endless archives of google groups. If you read enough of the kinds
>> of questions that are answered, patterns definitely emerge and the same
>> questions are just answered over and over in different ways.
>>
>> We noticed that in TinkerPop 2.x and with GremlinDocs.com we had a
>> "recipes" section that had common Gremlin traversal patterns discussed in
>> it. We now have something similar in TinkerPop 3.x - Gremlin Recipes:
>>
>> http://tinkerpop.apache.org/docs/3.2.1-SNAPSHOT/recipes/
>>
>> I personally still have a fairly long list of links to "good answers"
>> from the mailing list, that I intend to translate into "recipes" over time,
>> but we have a good start for now. If someone (Kuppitz) feeds you a good
>> answer on the mailing list, a nice "thank you" would be to write up a
>> recipe based on your question and submit it as a PR. Notes for how to do
>> that are at the bottom of the recipes page.
>>
>> I think recipes are going to be a great resource for developers who are
>> trying to learn more about complex traversal patterns.
>>
>> Bon appétit
>>
>> Chef Stephen
>>
>> [image: Inline image 1]
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Gremlin-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gremlin-users+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gremlin-users/1583437c-a200-4779-ab2a-2b3c07cc10dd%40googlegroups.com
> <https://groups.google.com/d/msgid/gremlin-users/1583437c-a200-4779-ab2a-2b3c07cc10dd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
Re: Gremlin Recipes
Posted by Mark Henderson <em...@gmail.com>.
Awesome stuff! Thanks for putting this together so fast. I can see this
being a place to discover little Gremlin secrets like 'orElseGet{...}'
(things that aren't in the official documentation).
Is there a particular type of recipe that should be submitted? I ask
because people could cover very simple concepts (check if edge exists), to
moderate ones(close the triad), to complex ones (aggregates based on logic
and groupings, etc).
On Monday, May 23, 2016 at 8:02:09 AM UTC-4, Stephen Mallette wrote:
>
> Hello all,
>
> If you've been on the gremlin-users list for a while, you'll know that
> there are some really good, high-quality answers to questions.
> Unfortunately, the knowledge that they impart is often lost in long threads
> and the endless archives of google groups. If you read enough of the kinds
> of questions that are answered, patterns definitely emerge and the same
> questions are just answered over and over in different ways.
>
> We noticed that in TinkerPop 2.x and with GremlinDocs.com we had a
> "recipes" section that had common Gremlin traversal patterns discussed in
> it. We now have something similar in TinkerPop 3.x - Gremlin Recipes:
>
> http://tinkerpop.apache.org/docs/3.2.1-SNAPSHOT/recipes/
>
> I personally still have a fairly long list of links to "good answers" from
> the mailing list, that I intend to translate into "recipes" over time, but
> we have a good start for now. If someone (Kuppitz) feeds you a good answer
> on the mailing list, a nice "thank you" would be to write up a recipe based
> on your question and submit it as a PR. Notes for how to do that are at the
> bottom of the recipes page.
>
> I think recipes are going to be a great resource for developers who are
> trying to learn more about complex traversal patterns.
>
> Bon appétit
>
> Chef Stephen
>
> [image: Inline image 1]
>
Re: Gremlin Recipes
Posted by Mathias Bogaert <ma...@gmail.com>.
Awesome, thanks Stephen!