…working properly. You may either use the curl command or write some Ruby code. Since this article is about Ruby, I'll go with the coding option.Testing User's RegistrationTo perform an HTTP request, we will employ the Faraday gem, which provides a common interface over many adapters (the default is Net::HTTP).…
…Working With ObservablesSo what is an observable? Unfortunately there's no way I could give you a complete introduction to observables here, but Angular 2 does depend quite a bit on observables, and I will try and make them as simple as possible as we go through this.Basically, an observable is…
…working with other developers and need to share your work regularly. In that case, you just need to share your composer.json file with them and the rest will be handled by Composer itself! They just need to run the composer update command, and that should take care of installing the…
…working with REST, GraphQL comes alongside RelayJS, a React library for querying a server that implements the GraphQL specification. This book takes you quickly and simply through the skills you need to be able to build production-ready applications with both GraphQL and RelayJS.5. JavaScript: Functional Programming for JavaScript DevelopersJavaScript :…
…working knowledge of the WordPress Plugin API You're also going to need a copy of the source code of the plugin with which we're working. You can grab a copy of it right here. Assuming it's installed, activated, and you've got your IDE running, let's get started.Namespacing the CodeRecall from…
…working with WordPress, the notion of custom fields usually carries with it a different definition:WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data. For non-developers, this type of information can be a bit more complex and…
…working with geolocation IPs which can be misled by corporate networks, ISPs, and VPNs. It was fast and promoted its accuracy.Designing the User ExperienceMy goal was to detect the user's time zone and allow them to update their setting quickly and without distraction. The first place I was concerned with…
…working by then. If you still like Parse.js (as do I), and want to continue using it, there's good news. The lovely folks there made it open source so we can run our own copy on all popular web hosting services. This tutorial aims to help you to make that…
…working on our controllers and models. In project_folder/app/models/question.php, we add this:<?php namespace Models; use \Illuminate\Database\Eloquent\Model; class Question extends Model { protected $table = ‘questions’; } ?>Then in project_folder/app/controllers/questions.php:<?php namespace Controllers; class Questions{ } ?>In project_folder/app/controllers/answers.php, we do the same:<?php namespace Controllers; class Answers{ } ?>Task 1: Add a UserIn the…
…Working With Article SearchFor today's episode, I'm going to focus on using the NY Times Article Search. Basically, we'll extend the Create Link form from the last tutorial:When the user clicks Lookup, we'll make an ajax request through to Link::grab($url). Here's the jQuery:$(document).on("click", '[id=lookup]', function(event) { $.ajax({ url: $('#url_prefix').val()+'/link/grab', data:…