Laravel framework for Web Artisans.

Recently I was faced with a task of choosing a best PHP framework that would work as infrastructure for a few of my personal projects and also for the startup I’m working for. I’ve got some experience with Ruby on Rails and loved the simplicity of making web apps with it. Ruby on Rails takes […]

Read More

Create thumbnails in Python

I needed a script that would take a folder of pictures, resize the pictures, save them in a new folder and also make square thumbnails with the picture centered in the thumbnail. This Python script that I wrote does this very task quickly and produces lean images ( for example resulting thumbnails are 8 Kb […]

Read More

Build mobile apps faster with PhoneGap

Native mobile apps within hours, not weeks?  How so, you say? For example you need to built a company directory, a calculator, a webapp that uses GPS, camera or accelerator, just like a native app would do. Yes, it is possible with PhoneGap, a native app living on your smartphone and running HTML, CSS and […]

Read More

PHP Search records from file

The task: Write a PHP script to do the following: Read the class list in a text file, Store the records in some data structure that allows the user to search the records by ID, first name, or last name. The script provides the user with three options to input either the ID, first name, […]

Read More

iOS App Icon Photoshop template

As you might know, I’ve recently released a game for iOS, it is called “Bubble Scramble Lite”  and I’ve learned quite a bit while developing the game for iPhone / iPod. One of the things that I found incredibly useful and necessary was a way to create icons for my application quickly and efficiently. Otherwise it […]

Read More

PHP script to create thumbnails for images

The task: Write a PHP script to get images from database (database table “PHOTOS”), resize them and output them in the browser. Here’s my quick solution(not optimized): thumb.php [sourcecode language=”php”] <?php require_once(‘dbconfig.php’); // file that stores our database connection variables require_once(‘functions.php’); // resize script try { if (!isset($_GET[‘id’])) { throw new Exception(‘ID not specified’); } […]

Read More

iOS and XCode tutorials and resources

Navigation controller and Tab Bar usage and implementation Creating an iOS 4 iPhone Multiview Application using the Tab Bar (Xcode 4) http://www.techotopia.com/index.php Creating an iPhone Multiview Application using the Tab Bar http://www.techotopia.com/index.php/Creating_an_iPhone_Multiview_Application_using_the_Tab_Bar Creating a Navigation Controller Based Application in Xcode for iOS based devices http://www.gurusonthego.com/2011/06/creating-a-navigation-controller-based-application-in-xcode-for-ios-based-devices/ Add a navigation Controller http://www.ralfebert.de/tutorials/iosdev/navigationcontroller/ Using CoreLocation and GPS: iOS […]

Read More