Wednesday, July 1, 2015

How to Integrate Facebook Login into a Cordova based App

If your App needs Login or Registration functionality, then using 3rd party services such as Facebook Authentication are useful tools to utilize.

This tutorial is for developers using Cordova with jQuery Mobile for UI and ngCordovaOauth to add Facebook login functionality. The app will enable users to login via Facebook and then display their basic profile information. The primary motive of this tutorial is to show how to implement Facebook login in Cordova apps and how to use ngCordovaOauth in non-Ionic or non-AngularJS UI based app.

Continue reading %How to Integrate Facebook Login into a Cordova based App%


by Narayan Prusty via SitePoint

Paste

opl-small

Clean responsive One Pager for 'Paste' - a new clipboard history manager for your Mac.

by Rob Hope via One Page Love

Crawling and Searching Entire Domains with Diffbot

In this tutorial, I’ll show you how to build a custom SitePoint search engine that far outdoes anything WordPress could ever put out. We’ll be using Diffbot as a service to extract structured data from SitePoint automatically, and this matching API client to do both the searching and crawling.

Diffbot logo

I’ll also be using my trusty Homestead Improved environment for a clean project, so I can experiment in a VM that’s dedicated to this project and this project alone.

What’s what?

To make a SitePoint search engine, we need to do the following:

  1. Build a Crawljob which will index and process the entire SitePoint.com domain and keep itself up to date with newly published content.
  2. Build a GUI for submitting search queries to the saved set produced by this crawljob. Searching is done via the Search API. We’ll do this in a followup post.

A Diffbot Crawljob does the following:

  1. It spiders a URL pattern for URLs. This does not mean processing - it means looking for links to process on all the pages it can find, starting from the domain you originally passed in as seed. For the difference between crawling and processing, see here.
  2. It processes the pages found on the spidered URLs with the designated API engine - for example, using Product API, it processes all products it found on Amazon.com and saves them into a structured database of items on offer.

Continue reading %Crawling and Searching Entire Domains with Diffbot%


by Bruno Skvorc via SitePoint

Create a Custom Shipping Method in Magento

Kiba: ETL Done Right

Screenshot 2015-06-25 12.57.05

I am a “consultant” or a “contractor”, which are 2 of the various words that begin with “con” that I’ve been called. In essence, my clients have an itch they want to scratch with technology, and they hire my company to do the work.

I am not wild about the term “consultant”, but this is a great joke, if you haven't heard it.

As a digital gun-for-hire, I am often involved in moving applications and systems from one platform to another. From ASP to Ruby or from SQL Server to PostgreSQL. In many of these cases, there is data that lives in the “old” system that needs to be move/upgraded/transformed to the “new” system. The canonical term is “data migration”, and it strikes fear in the hearts of those that have had a project go months or years overdue due to its complications. This was me the last time a Scope of Work (SOW) called for a data migration:

kiba1

Even seemingly simple migrations can be awful. Those are the kind I am going to look at in today's post. Simple migrations, pulling data from one source, doing a bit of transformation, and then storing that data in a new destination. I have a need to migrate user information from one system to a new system that we are building. The very idea of the migration had my teeth chattering, until I found Kiba.

Continue reading %Kiba: ETL Done Right%


by Glenn Goodrich via SitePoint

6 Reasons Why Your Child (and mine!) should Learn To Code

Second in a pretty loose series based around why I think that coding is a necessary skill for kids to learn as they grow (ideally starting in Primary school). In an era of increasingly fast technological innovation and change, there is a growing necessity for people not only to know how to use the connected […]

Continue reading %6 Reasons Why Your Child (and mine!) should Learn To Code%


by Simon Julian via SitePoint

Introduction to Google DFP Small Business