Blog

A RESTful Client with Angular.js

In my last post, I showed you how how to create a RESTful API in PHP. In this post, I’ll show you how to implement that API using Angular.js. Angular.js is a JavaScript framework developed by Google, designed to make your front-end development as easy as possible. Angular follows the MVC (model-view-controller) pattern of software […]




REST API – A Simple PHP Tutorial

A REST API allows your users to interact with your website from anything that can send an HTTP request. The Twitter feed displayed on the right side of this blog is using a REST API from twitter. It allows me to pull my latest tweets and display them. REST-style architectures consist of clients and servers. […]



HTML5 – Canvas Element

The HTML <canvas> element is a new element added in HTML5. It is used to draw graphics, on the fly, usually with Javascript. The <canvas> element is only a container for graphics. You must use a script to actually draw the graphics. The markup is simple: <canvas id=”canvas” width=”800″ height=”400″></canvas> As you can see it’s […]




String vs StringBuilder

Recently I was asked the question if I knew the difference between a String and StringBuilder. The expected answer, which was not my answer, was String is immutable while StringBuilder is mutable. My ill-informed response was, “String is not immutable. I constantly change the values of Strings in my code.” The response I got was, […]




Using your AppStore.com Vanity URL.

For those of you watching Super Bowl XLVII yesterday, you may have had a chance to see the latest trailer for Star Trek Into Darkness. You may have also noticed the URL at the end of the trailer. I guess JJ Abrams had first dibs on Apple’s new vanity URLs. Luckily this wasn’t the case […]



A UIButton Subclass – Creating Glossy Buttons Without Images

In my latest iOS app, I created a simple subclass to add a glossy effect to UIButtons. In this tutorial, I’ll walk you through the steps of creating that subclass and implementing it in your code. Getting Started First create a new project using the Single View Application template and call it GlossyButtons. Make sure […]



iOS – Smart App Banners in browsers not named Safari

With the release of iOS 6, Apple introduced a new way to promote your apps with a feature called Smart App Banners.  It’s basically a banner that appears at the top of the webpage by pushing the whole page.  It makes for a much better browsing experience as opposed to pop-up ads or full page displays. […]