All pages in tagged with #Needs Review


Anahita Social HTTP Authentication

Integrating HTTP Authentication into Anahita social core

Monday Jul 14, 2014 — 3 minute read — 560 words

Here’s how to solve another potentially tricky challenge when developing third-party integrations with the Anahita social networking platform. The current version of Anahita (3.0.x) uses Joomla and the Nooku framework to provide an out-of-the-box JSON api. It’s cool and it seems to work well. One neat (but hidden) feature is that it supports standard HTTP authentication. That’s super, as there’s no need to worry about using cookies for authentication, allowing for more or a classic stateless REST experience.

Read More


Testing Ionic, Cordova, and PhoneGap Apps with Ripple

Test apps with native plugins without leaving your desktop browser.

Monday Jul 14, 2014 — 4 minute read — 689 words

There don’t seem to be a lot of tutorials on how to set up and test Ionic, PhoneGap, or Cordova apps with native plugins in the comfort of your browser. So we’ll cover the steps necessary to get up and running here so, hopefully, you won’t lose many hours trying to figure it out as I did. We’ll assume that you’ve already met these prerequisites: Already have NPM and NodeJS installed.

Read More


Using Symfony Console with Silex

Integrating console tools into your Silex project.

Tuesday Jul 1, 2014 — 3 minute read — 632 words

The Symonfy console component is a powerful, effective way to define and organize you’re project’s command line PHP scripts. Thankfully it’s quite easy to get it up and running. Installing the Provider It’s easy to install and register the console provider using the knplabs/console-service-provider package. Just this to your composer.json file: "require": { "knplabs/console-service-provider": "dev-master" } You can register the provider with the following lines of code. Obviously, you’ll need to update the console.name, console.version, and console.project_director to match the appropriate values.

Read More


Installing APC and Xdebug on Ubuntu 14.04 LTS (Trusty Tahr)

Get up and running with APC and Xdebug in the latest stable version of Ubuntu

Monday Jun 30, 2014 — 2 minute read — 323 words

Installing APC and/or Xdebug for PHP on Ubuntu 14.04 isn’t hard, but requires knowing a few small bits of information, particularly if you’re planning on using Xdebug with command-line PHP scripts. Install Xdebug If You Don’t Need Xdebug on CLI If you need Xdebug only through Apache, installing it is as simple as: sudo apt-get install php5-xdebug If you need Xdebug on the command-line (CLI) then it’s a bit more work, since it’s Xdebug on the command-line via the php5-xdebug package is disabled.

Read More


Transferrring Files to Remote Servers with GulpJS

A secure method to automate file uploads.

Sunday Jun 29, 2014 — 3 minute read — 578 words

On occasion, or perhaps even more frequently, you may want to use GulpJS in combination with a remote server. Watching local changes and uploading them is thankfully very easy. We’re going to focus on the most secure option - using SSH over FTP. Setup Install gulp-sftp locally. It’s as simple as: npm install --save-dev gulp-sftp After that, you can load it with a simple: var sftp = require("gulp-sftp"); The Task Here’s a sample Gulp task to get us started.

Read More


Exclude Files from Ionic Framework Build

Reduce package file site by excluding un-needed files

Sunday Jan 1, 2012 — 2 minute read — 223 words

When building and running apps using the Ionic Framework, it’s often very helpful to exclude certain sets of files. For me, that issue was critical to fix because including a node_modules directory in the build resulted build errors. Of course, it’s also super useful to keep the app size the smallest possible, too. Exlcluding files allows you to control completely what gets in the resulting .apk file. Thankfully, the process is quite simple.

Read More