CodeIgniter for Oracle: ADOdb Database Abstraction vs CodeIgniter Database Library

Early last year, I got the chance to learn and develop a huge web application using CodeIgniter PHP Framework. It was my first project using the framework so at that time we have decided to avoid using CodeIgniter default Database Library in fear of incompatibility with oci8 or Oracle10g.

Only afterward did I got a chance to test out CodeIgniter Database Library or ActiveRecord Library on project using MySQL. At this point, the simplicity of ActiveRecord really caught my attention but how would it be enough compared to ADOdb when using Oracle Database?
[Click here to read more...]

Option Library for Ext.CodeIgniter

logo

Some people might find WordPress’s get_option and update_option function helpful over filesystem based configuration where you don’t want user to frequently update the configuration files. Today let me show you how we can utilize the same functionality in CodeIgniter using Option Library.

Requirements & Basic Informations

Before we start, let lay out some fact about Option Library:

  • is based and developed on CodeIgniter 1.7.1, it might work with previous version but please do test it out first.
  • use CodeIgniter build-in Database Class with ActiveRecord.
  • we cache the result on every pageview, Option Library query the table and cached it in an Array which mean Option Library doesn’t overhaul your database.

[Click here to read more...]

Avoid From Being Mark As Spam E-mail

Let forget about mail() function in PHP, as most emailservers today will eventually mark e-mails sent using this function as spam. But fear not, there are better way to send e-mail and today and one of it is SwiftMailer, it support e-mail sending using both method (mail() or SMTP method) but our problem will not be solve if we still using mail(), the use SMTP is the way to go by minimizing the possibility of your e-mails to end up in spam/junk folder.

[Click here to read more...]

Swift Mailer 4.0.2

My favourite PHP mailing library have come out with yet another version today, download it today at SwiftMailer.org.

Swift Mailer integrates into any web app written in PHP 5, offering a flexible and elegant object-oriented approach to sending emails with a multitude of features.

  • Send emails using SMTP, sendmail, postfix or a custom Transport implementation of your own
  • Support servers that require username & password and/or encryption
  • Protect from header injection attacks without stripping request data content
  • Send MIME compliant HTML/multipart emails
  • Use event-driven plugins to customize the library
  • Handle large attachments and inline/embedded images with low memory use

Live Form Validation for jQuery and Savvy.UI

Live Form Validation for jQuery and Savvy.UI is actually an extend of the Js.ext.validate module explained earlier in our Form Validation with jQuery and Savvy.UI tutorial. All core module under Savvy.UI use a customize JavaScript Inheritance method using Js.create which allow us to extends any core module to suite our requirement, which we would like to share with you in a moment.

[Click here to read more...]