All posts by Angelo

Angelo Villegas is a software developer building native iOS apps using Objective-C and Swift. I enjoy thinking that the apps I built make the users' life easier.

Core Data: Simple Data Modeling

On my last post, you learned and became familiar with the template codes of Core Data. Now, you will learn how to model your own data using Core Data and you will modify the code to create to-dos instead of timeStamps. To build the to-do application, you will need to modify the data model by … Continue reading Core Data: Simple Data Modeling

iOS: Introduction To Core Data

In this tutorial, you will learn how to work with Core Data and how to model your data for an enterprise-level apps. We will not program or anything but you will need Xcode for the modeling part of the tutorial. Note: You can download Xcode 4 at http://developer.apple.com/ or via the Mac App Store In … Continue reading iOS: Introduction To Core Data

MySQL to SQLite migration cheat sheet

At work, we needed to migrate from MySQL to SQLite. All of this thanks to this cheatsheet we got the migration an easy task. But it didn’t explain many things, just the major part in a step by step process. Tools : SQLite Database Browser MySQL with phpMyAdmin Text Editor such as TextEdit (we used … Continue reading MySQL to SQLite migration cheat sheet

PHP: UPPEValidator

UPPEValidator is a simple PHP string validation class that will help validate email addresses, URLs, passwords, and phone numbers. You can download the script in the link listed below. UPPEValidator Download Link Gist Sample Usage : $validator = new UPPEValidator(); $string = ’09-088-909-8890′; // You can also use dots ( . ) instead of hyphens … Continue reading PHP: UPPEValidator

PHP: DBClass

DBClass is a simple PHP database class that will help ease database connection usage. You can download the script in the links listed below. DBClass Download links Gist Sample Usage : $dbClass = new DBClass(); $result = $dbClass->query( $dbQuery ); while ( $content = $dbClass->fetchAssoc( $result ) ) { echo $content[‘description’]; } Functions : query() … Continue reading PHP: DBClass