The implementation of the Services module in Drupal is one of the nicest things I’ve seen in Drupal in recent times. It’s very organized, clean, and easy to work with.
The downside is that every time I need to do something with this module, it’s hard to find good documentation. Documentation exists, but you have to search for it; it’s not all organized in one place. The authentication part is still very underdeveloped and poorly documented.
For this reason, to save time at 42mate, I took the time to write complete documentation that covers all aspects, step by step, with good examples to help understand things more quickly.
In this document you will find:
- How to make CRUDs
- How to make operations
- How to make actions
- How to map HTTP verbs
- How to organize your modules
- How to add security
- How to work with sessions
- How to work with OAuth and JWT (Experimental)
You will see code examples to illustrate what is being explained.
This is the first version, so if you have any feedback or want to help me improve it, I would really appreciate it. I hope you find it useful.
Download here: Drupal Services – The Guide