Tutorials - Scott Sherwood


iOS 5: Drag and Drop Between UITableViews

On an iPad esspecially, it is often the case that you may have multiple UITableViews on the screen at the one time, unlike on the iPhone. I wanted to have two UITableView that I could drag and drop cells between the two to swap items between a set of all possible choices and a set of selected choices.

Read more …


Symfony 2.0: Securing your media with Symfony’s authentication system and X-Sendfile

This method allows you to secure your data delivery behind some type of authentication without having any additional overhead usually associated with loading up media being delivered by php. This method uses apache directly to deliver the file requested after a user has been authenticated. You can use Symfony’s build in authentication or any method you choose I do not specify anyone in particular in this post.

Read more …


iOS 5 Gestures : How to use UIGestureRecognizers for Tap, Pinch, and Rotate

Gestures are a great new feature in iOS5 they really make complex gesture recognition code a thing of the past and support rich interaction with your interfaces. In this post I am going to explain how to implement three gestures, Pan, Tap, and Rotate. If you want to see my Gesture Demo being constructed check out my demo video on YouTube.

Read more …


Symfony 2.0: Server Setup

When ever I am deploying a Symfony 2.0 project onto a production site or even just a new machine I always find it a real pain to remember how to set it up. It is not so much Symfony its dependancies so I am putting the instructions down for a quick reference.

Read more …


Symfony 2.0: Embedded Forms for Collections

In my previous post on interactive generators I explained how simple it is to create doctrine entities and persist them through the Symfony generated CRUD controllers. These interactive generators create the controllers and forms required for creating, writing, updating and deleting the entities they are tied to. The Symofny 2 documentation is very good at explaining how forms are used in a variety of ways. In this post I am going to show you how to use embedded forms for collections.

Read more …


Symfony 2.0: Interactive Generators

Interactive generators make creating new bundles, CRUD controllers, entities and forms very easy indeed. You can list all of the out of the box functions at the terminal by calling,

Read more …


Symfony 2.0: Using the Assetic Bundle

What is the Assetic Bundle and why would I use it?

Read more …


How to enable the Twig Text Extension in Symfony2

The twig text extension has some very useful text filters. To enable it add the following to your config.yml

Read more …


1 2