# Subgraph development tips and tricks by Protofire

**URL:** <https://forum.thegraph.com/t/subgraph-development-tips-and-tricks-by-protofire/88>\
**Category:** Resources\
**Tags:** subgraph-devs\
**Created:** [January 19, 2021, 7:51pm UTC](https://forum.thegraph.com/t/subgraph-development-tips-and-tricks-by-protofire/88 "2021-01-19T19:51:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanmardefago](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.thegraph.com/juanmardefago/32/1219_2.png) [@juanmardefago](https://forum.thegraph.com/u/juanmardefago)\
**Post date:** [January 19, 2021, 7:51pm UTC](https://forum.thegraph.com/t/subgraph-development-tips-and-tricks-by-protofire/88/1 "2021-01-19T19:51:08Z")

</div>

Hey guys, we’ve already shared this on twitter and discord, but we wanted to upload it here too, so new devs could find these helpful resources more easily 😉

The tutorial as a whole provides some basic explanation of how subgraphs work, as well as some detailed explanation on very particular common situations that you will experience when developing your own subgraph.

It’s split in two medium blogposts (because it would be gigantic if it was in just one part).  
[Part 1](https://medium.com/protofire-blog/subgraph-development-part-1-understanding-and-aggregating-data-ef0c9a61063d) covers the following topics:

- Basics of subgraphs
- Understanding the data available while mapping
- Aggregating data for time intervals

While [part 2](https://medium.com/protofire-blog/subgraph-development-part-2-handling-arrays-and-identifying-entities-30d63d4b1dc6) covers these ones:

- Handling arrays efficiently
- Creating a naming convention for entity IDs

Hopefully you find the articles useful!

Protofire is a team of engineers who build subgraphs, dApps, and operate an indexer (protofire.eth).
