Technology and Development
Archive for October, 2009
PHP Certification.
Oct 28th
Have you ever wondering whether your PHP skill is up for the test, is it good enough for the world to look at and make use of? and How to make the world acknowledge you as a PHP developer? To be a certified PHP developer. You have to take tests, obviously, but where and why? There are various places you could take tests online to save your time and money and of course, being a certified PHP developer doesn’t make you a better ones, it just improves your chances to get a professional job in PHP.
You will need to have More >
OpenID for CodeIgniter made easy – All about it
Oct 21st
A few months back, I have been struggling to have openID authentication loaded to my application. It’s a hazard… the simple idea of having it integrated to my application and have users logged in using their existing facebook, google account is pretty fancy, but the code behind it is a mess, a complete tragedy. Luckily RPXNow stepped in and provided me a hand in authenticate people and handling the magic works. No one likes to reinvent the wheel after all, and this is a PRETTY HARD wheel to deal with…
Also, I’ve been exposed to the wonderful world of More >
Useful websites web developer should make use of
Oct 18th
There are quite a few tools lying around on the internet that helps the web development or web design process drastically. It will certainly strike inspirations and surely make your life easier while creating a website. In this post, I have compiled several websites that I have make use of in my progress.
Lorem Lipsum / Sample ContentYes, the awesome, the all known popular test text lorem ipsum dolor sit amen… something something… To simulate real text rendering on a webpage. If you don’t have this on a notepad lies on your desktop, this website is a blast. It More >
To be a web developer
Oct 17th
Is to know all of these <insert evil and sinister laugh here> languages. This post serves as a starting place for all who wants to be a web developer. You might not need to understand in depth on any of these, but the least is the basic. My choices of framework serves as a suggestion only, the real choice is yours.
1. HTMLBack to when internet was born and introduced to the naked world… Back to when the internet was young and needing a serious developer….Tim Berners-Lee said “let there be HTML”… and there was HTML, and it was good. The More >
Have FPDF integrate with CodeIgniter
Oct 16th
This is a simple, plug it in, it runs, guide. It is still highly recommended that you try and run FPDF successfully without Codeigniter first. So that you know how to actively runs it or your web server supports it.
Step 1: Download the Classes from the FPDF pages.The fpdf.php in the Codeigniter directory.
The font directory in the fonts directory
Step 2: Config File 1$config['fonts_path']= "path-to-your-fontsdir/fonts/"; Step 3: Create the init_fpdf.php 123456789<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); if ( ! class_exists('fpdf')){ require_once(BASEPATH.'libraries/fpdf'.EXT); } $obj =& get_instance(); $obj->fpdf = new fpdf(); $obj->ci_is_loaded[] = 'fpdf'; ?> Step 4: Call it, use a controller to test 12345678$this->load->library('fpdf'); define('FPDF_FONTPATH',$this->config->item('fonts_path')); $this->fpdf->Open(); $this->fpdf->AddPage(); $this->fpdf->SetFont('Arial','B',14); $this->fpdf->SetY(30); $this->fpdf->Cell(40,10,'Hello World!'); $this->fpdf->Output('output.pdf','D'); More >Handpicked Handy PHP Libraries
Oct 15th
Do you ever wondering how to do certain things in PHP like generating graphs, generating pdf or parse RSS efficiently and easily. I found myself rewriting these codes every once in a while and was lucky enough to find these wonderful libraries/framework that are completely free and easy to use.
There are more, but I will only listed my handpicked best one out of these categories
RSS ParserNormally I would use Jquery to do this stuff, but meh. When it comes to PHP, it’s all the way PHP
SimplePie: Very fast, easy to use, PHP driven RSS Parser
Handy PHP Code Snippets
Oct 14th
Jquery Pagination System
Oct 13th
When you think of a pagination system, you would think about some messy PHP codes to generate each and every page. So subsequently, for an user who wants to browse through your pages, they will do a lot of calls to your PHP file and by that do a lot of calls to your database (a bad thing!). So, we want to load all the data from PHP/MySQL ONCE and have the pagination taken care of by Jquery.
Copy & Paste all of this code into a html file. Make sure you are online so that the browser can retrieve the More >
SQL Injection Prevention
Oct 12th
SQL Injection is evil. Period. SQL Injection is where people gain access to your system using method unknown to you. Injection usually occur when you require the user to fill in a form, often in a form of a username or a password => They put something evil in the box and crashes your system. That evil something is of a form of a SQL statement and actively running their code onto your database.
Types of SQL InjectionThere are 2 types: ones that gains access to your system (as an admin) and ones that corrupt your More >
Huddle Review
Oct 11th
Huddle is my choice for web collaboration system as well as Project Management software.
I was in search of a free, powerful, easy to use, social collaboration software. And Huddle is my final stop, for now.
Huddle allows team members to share documents, and conduct various projects in a multi-agent, multi-user, central, online, collaborative environment. Huddle separates itself from basecamphq by offering a free for all time plan. Of course basecamphq was once offering a free package, but not anymore. Huddle was designed with internet collaboration totally in mind. The project manager can add and assign tasks to each of the team members More >