Home » Development » API » Seite 10
Author: Andrew Angell
BitBucket Repo
IoT is the current buzz word and I will be doing some more tinkering with current solutions this year. I have done projects with Arduino , Raspberry Pi and looking into relayr / Wunderbar right now.
relayr provides a tech stack with Wunderbar, that easily connects included sensors with the cloud. They provide a wide range of API endpoints to collect data and even integrate hardware solutions like Arduino orRaspberry Pi.
„The WunderBar is built for software developers. It is a powerful rapid prototyping and product development tool that enables developers to immediately start creating products and solutions that utilise the Internet of Things, without any prior hardware knowledge. No soldering or electronic engineering experience is needed. Just choose what sensors you need for your project and start coding.“
relayr / Wunderbar
Starterkit should arrive next week …
Angular reaches BETA status. Time to start playing with it … Perfect for the holidays :)
With NativeScript und React Native you will be able to build native Android- und iOS-Apps as well.
Tutorial / GitHub
Some time ago I said: „My perfect framework, is a set of solid singular solutions that have proven themselves over the years. Working solo or together in harmony“.
Here is a list of some of my core components, that I use in combination or standalone.
NOW you can live happily ever after :)
This is basically the core stack that I use to build out ideas :) While Angular is always an option, the above satisfies most of all needs and is often far slimmer. The rest depends on how you organize your code yourself, but at least you are not forced into fixed structures ;)
„Hybridauth enables developers to easily build social applications and tools to engage websites visitors and customers on a social level by implementing social sign-in, social sharing, users profiles, friends list, activities stream, status updates and more.
The main goal of Hybridauth is to act as an abstract API between your application and various social apis and identities providers such as Facebook, Twitter and Google.“
Hybridauth 2.x was the best option for nicely aggregated social logins so far, but some of the social „Providers“ are outdated or no longer working. Version 3.0 is still in development, but providing a complete rewrite.
Hybridauth 3.0 Remake @ Github
For Facebook , Twitter and Google+ I still use my own little wrappers, but if you want more this is the way to go in the future :)
Currently refreshing my list of options to document projects and APIs.
I will use this page to keep a list of possible tools & solutions.
Really cool interface to test and debug Regex. The website also includes a nice regex library.
regex101.com
E-Learning platform for Thailand
AjarnOnline
„WP-CLI is a set of command-line tools for managing WordPress installations“
WP-CLI
Using WordPress as a headless system, is nothing new. You can easily build out your own REST API or use the long available HTTP REST API 1.0+ for WordPress.
But with the new HTTP REST API 2.0+ its getting really easy to build out your own REST API Namespace and assign routes for all your JSON needs.
The new REST API will make its appearance in WordPress 4.4, but you can start now by adding the plugin to your system. When the plugin detects 4.4+ it will only load functionality not already present in the core.
A route tells the API to respond to a given request with a specific function (endpoint). This adds the permalink structure to WordPress so that your functionality can be accessed via an url like this: http://yourdoman.com/wp-json/yourplugin/v1/myfunction/your_parameter
The Endpoint is the callback handled by the route. Each endpoint can have additional parameters attached:
The return values from the endpoint are converted into JSON. You can use the WP_REST_Response object , this wraps normal body data and allows you to return a custom status code.
Really powerful stuff, that makes it easy to detach WordPress and the actual client using the data provided by it.
You can read more about it here.