oscar dias

Personal Blog

Creating a CodeIgniter App (Part 4): Users

In part 4 of this series I’ll be showing you how to create the user maintenance for our Simple Task Board app. It will include editing, adding and removing users. Everything will be done using CodeIgniter and I’ll explain the model, controller and views necessary to execute this task. Furthermore, jQuery will be added as well as some CSS.

Continue reading

Creating a CodeIgniter App (Part 1): Introduction

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.

Continue reading

PHP Project: 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.

Continue reading

PHP Project: 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.

Continue reading

Integrating WordPress with 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.

Continue reading

How to Add a Rate Field to WordPress Comments

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.

Continue reading