I’ve knocked up a simple to use CSV to plist converter which is pretty useful for iOS / OSX development. You can grab the code here: csv2plist.py on GitHub Usage is a piece of cake, python csv2plist.py mycsv.csv outputs: mycsv.plist in the same directory as mycsv.csv python csv2plist.py mycsv.csv myplist.plist outputs: myplist.plist in the same directory as mycsv.csv Any questions or comments are greatly appreciated as always!





How to format NSDate using NSDateFormatter (iPhone Xcode Tutorial) So, you’re making an iPhone (or iPad) app, and want to know how to format an NSDate in Cocoa? Formatting NSDate in Objective-C is actually not too difficult. Open up Xcode and let’s get’s cracking with some Objective-C goodness! For those who just smash up Xcode, and get cracking with their iPhone applications – I’m putting the full source code of [...]





This is a rundown of my top 10 PHP functions and techniques that I use on a daily basis (pretty-much) and thought I’d share them with you. Hopefully there’s some gems in there that you have never heard of (or used), that will change the way you code.


Categories: PHP



This tutorial will show you how to create an AJAX form with PHP and jQuery. The AJAX form doesn’t look any different to an ordinary HTML form, with the exception of making sure that when we submit the form, it calls a javascript function rather than pushes the user to a page (causing a new page reload). I’ll also demonstrate how we can use ‘loading’ animation for the AJAX form, [...]


Categories: AJAX, JavaScript, jQuery, PHP



This PHP login script / tutorial will show you how you can have users register on your site, and log in to access secure areas. I have seen a few tutorials around the web which show how this can be done, but they all seem to lack in security. This user membership tutorial will show a better way of having users authenticated once logged in by using their session ID.


Categories: MySQL, PHP



Need to limit the number of characters that are allowed to be entered into a textarea? I’ve crafted a little snippet that you can drop into your projects to achieve just that! It also provides a counter to the user, showing how many characters are remaining as they type. Your browser doesn’t support IFRAMES. You can see the textarea character counter here. This could be extended pretty easily, so that [...]


Categories: JavaScript, jQuery



I was working on a project today, and I needed to convert a PHP based multidimensional array into a Javascript array, so that I could use it for a dynamic select dropdown (depending on the top level category chosen, the next level select dropdown would be populated with the child elements of the top level category options – if you follow me!). Anyway, I soon realised that converting the PHP [...]


Categories: JavaScript, jQuery, PHP



So just what are class constructors, and how can they be used within PHP classes / OOP programming? When a PHP class is first called, the class will automatically run the class constructor function, which can help automatically configure the class. This can be useful if you need to preset some instance variables, sessions or cookies – prior to using the class methods.


Categories: PHP



So – I’ve just started off this new site – All Beginner Tutorials. It’s aimed at becoming a repository for many beginner-focused tutorials. Please take the time to check it out, and even add a tutorial or two!


Categories: Tools