Author Archives: Steve

About Steve

Web Developer, IT enthusiast & PC Gamer.

PHP – Useful TinyMVC View Helpers

Back again with more TinyMVC code. As I get more into this framework the more code I’ll be posting up, the functions in the code below are to be used directly from TinyMVC views and not controllers or models. One … Continue reading

Posted in PHP, PHP frameworks | Tagged , , , | Leave a comment

PHP – TinyMVC Template Wrapper Plugin

TinyMVC provides a great structure for developing new projects, it’s small base allows the developer to write new plug-ins and extend on the existing framework. Below you’ll find a template wrapper I have made to manage the views and assigning … Continue reading

Posted in PHP, PHP frameworks | Tagged , , | 1 Comment

Java – Creating and Switching to a new Activity in Android

Below is a small tutorial showing you how to create a new Android Activity and Switch to it whenever needed as well as passing information between them, basically, this will allow you to switch to a new interface such as … Continue reading

Posted in Android | Tagged , , , | Leave a comment

Java – SQLite Database Helper Class for Android

One of the most used features on the Android platform is being able to save and fetch your data from some sort of database, Android comes packaged with libraries to manage SQLite Databases. I have written a helper class to … Continue reading

Posted in Android | Tagged , , , | Leave a comment

Java – Using Android’s System Notifications

After playing around with Android (and I’ve spent only around 2 hours so far) I found out that it’s quite easy to access the System Notifications and send messages from your own Activity along with the custom titles, content and … Continue reading

Posted in Android | Tagged , , | Leave a comment

PHP Page basic page caching

One of the most useful things you can do in terms of performance is to cache the page you’re currently serving so that no code gets executed again and again when it isn’t needed. I’ve provided a sample below of … Continue reading

Posted in PHP | Tagged , , | Leave a comment

PHP Object to Multidimensional Array

Below is a piece of code showing how to transform an Object into a Multidimensional Array, there are quite a few functions in PHP that return stdClass objects such as some MySQL, JSON or XML functions. If it is a … Continue reading

Posted in PHP | Tagged , , , | Leave a comment

PHP Simple permission framework with Bitwise operations

Below is an example class of a basic permission framework with permissions worked out by using bitwise operations. This provides basic functions such as hasAccess() can() and permNeeded() I won’t be going into detail regarding binary math and why it … Continue reading

Posted in PHP | Tagged , , , | Leave a comment