Archive

Archive for the ‘Uncategorized’ Category

Implementing Code Igniter “Roll Back” System

June 18th, 2011 No comments

If you need to ensure that your system or database does not have half complete executions which might have halted due to failures, you have two obvious solutions. One is to try and pre-verify everything before you start your execution but even that is not bulletproof. A more elegant approach is to push each equal and opposite actions to a stack and cause the stack to pop and execute on any failure. Read on to see an implementation.

Read more…

Categories: Uncategorized Tags: