Numerous times during working with AngularJS there have been these moments of, oh, wow... OH, now that's cool... wow... Usually followed up by a warm happy feeling because what I wanted to do was possible and the solution was so simple. This started to happen pretty frequently. As a result I have started to make notes of when these situations occurred. So that I can do a quick posting about them to share with others having similar problems. Here is one of those handy tricks.
Peter Bliss's Blog
Recently I was working with the Drupal services module, and ran into a few hang ups. For my project I needed a rest service that could export xml that matched a specific format, and consume xml and store it in the database for later processing. To do this I created a custom services resource, this was pretty straight forward. I found a few really great sites that explain how this is done. This one in particular is quite helpful. It was when I attempted to customize the output and input that I ran into some hang ups. When attempting to research more about how it is done, I found very little information posted anywhere. In this brief tutorial I will outline how I was able to achieve my goals, and hopefully save you some time.
What is Homebrew?
The term "Homebrew" is defined by Webster dictionary as "beer or other alcoholic beverage made at home." This definition which is the most commonly used would refer to the making of beer and wine at home. But beer is not the only thing that is "brewed" at home and referred to by this term. Homebrew also refers to the creation of software, typically video games that are produced for proprietary platforms or via official development kits.