Creating a CodeIgniter App (Part 1): Introduction

By Oscar Dias on May 14th, 2012 with no Comments »
CodeIgniter

Last week I wrote about a small CodeIgniter app called Simple Task Board. It is capable of managing multiple projects and tasks, but it is very simple, specially now that it is in the first version. So I thought it would be a good idea to explain how it was done. This explanation will occur in a series of posts, starting today with an introduction about CodeIgniter and about this specific application.

Read more »


PHP Project: Simple Task Board

By Oscar Dias on May 3rd, 2012 with no Comments »
Simple Task Board

Simple Task Board is a very simple tasks management app. It is intended for people like me, that don’t need the power of one of these complex tools and/or don’t want to pay for them. Besides that, it is just another task management tool, built from scratch, open source, that anyone can help giving ideas and playing with it. Maybe with the support of the community we can keep it simple, while addressing the most common issues. This post will act as a information repository about the app, working as a entry point for the GitHub repository.

Read more »


PHP Project: My Trip Emission

By Oscar Dias on April 26th, 2012 with no Comments »
My Trip Emission

After my one year trip to Australia I’m back to Brazil. It’s time to get this blog back to life. So, I’m going to start writing about a PHP application I did a few years ago called My Trip Emission. It is an application that give you the emission of CO2 of your trip, all you need is to define the model of your car and your trip (from and to). It is developed in pure PHP with jQuery and the Google Maps API.

Read more »


Integrating WordPress with CodeIgniter

By Oscar Dias on July 2nd, 2011 with 5 Comments »
WordPress and CodeIgniter

After a long time since my last post, I’m going to start writing again. My focus on the next articles will be CodeIgniter. The first thing I want to show is how to integrate CodeIgniter with WordPress. More precisely, I’m going to show how to use WordPress users inside CodeIginter. The motivation for this is that you won’t need to handle user authentication inside your application.

Read more »



How to Add a Rate Field to WordPress Comments

By Oscar Dias on September 28th, 2010 with 19 Comments »
WordPress

In this article I’ll show you how to add a rating field to your WordPress comments. We’ll work with PHP to enable the new field and show it in the comments template. Also, we’re going to do some styling in order to give a nice look to the rate system. Finally we’ll also create a small JavaScript using jQuery to enable it.

Read more »


Adding Custom Information to WordPress Posts

By Oscar Dias on September 12th, 2010 with 5 Comments »
WordPress

In this article I’m going to show how to add custom information to your WordPress posts. We’ll start with the standard custom fields, very useful if you’re the theme developer and the only blogger. Next I’ll show you how to create your additional fields. They’re work pretty much like the custom fields, but you can add a name and description to them, so your theme users know what to write there. The last thing I’m going to show is the custom taxonomies added in WordPress 3.0.

Read more »


PHP Class: First Person View

By Oscar Dias on August 21st, 2010 with 6 Comments »
PHP

This article is about a small PHP Class that I wrote this week. The idea was to create a first person website for a virtual tour or a street view functionality. So I created the First Person View Class which allows you to move in four directions with four different angles through a map matrix loaded with images.
Read more »


Tip: How to Use the Official Twitter Tweet Button

By Oscar Dias on August 14th, 2010 with no Comments »
Twitter

Recently I showed here how to create sharing buttons for different social media. At the time there was no official Twitter code for this purpose. But this week Twitter released it’s own Tweet Button. So I’ll quickly show how to use it.
Read more »


Creating a WordPress Theme (Part 6): Footer

By Oscar Dias on July 23rd, 2010 with 3 Comments »
WordPress

This is the last part of the series. We’ve already seen the design creation, an introduction about the WordPress platform and the coding and styling of the entire theme except the footer.  So, in this last post, we’re going to do the footer and, to finish our blog, let’s also see some plugins. The footer is pretty simple and we’re going to add some additional styles that we’ve been using during the series.

If you want to catch up with the current status of our theme, please download it here.

Read more »


Adding Share Buttons for Twitter, Facebook, Buzz and Others

By Oscar Dias on July 7th, 2010 with 2 Comments »
Social Media

Today I was working on a project and I had to search for some share functionalities. I wanted to get the original code from the original social media websites and not a third party hack or something like that. So I found codes for Twitter, Facebook, Google Buzz, StumbleUpon, Reddit and Digg. The only one that’s not from the original website is Twitter, so I used Tweetmeme instead.
Read more »