Access Denied!

Recently my team was tasked to revamp our current access controls. My team mate researched for RBAC - short for role based access control, which is one of the newer alternatives to the existing access controls.

Our implementation was we came up with a way to define arbitrary modules - meaning its up to the user of our system to come up with what she thinks are modules.

Bonjour! Parlez vous français?

I was tasked recently to make an effort to internationalize our system.

To start with I created the directory structure first, proposing something like this:

<approot>/lang
<approot>/lang/en
<approot>/lang/en/SiteManager.en
<approot>/lang/fr/SiteManager.fr

For each template/screen we have, there's an equivalent language text file for that.

For each language we support, there's a new directory created under the lang folder and named the folder with the language's equivalent code.

ErrorDocument 404

Wonder why so many sites don't implement this, in fact this is one thing all sites should do. It makes sites more friendlier to users and will at least cover the impression of having bad pages.

ErrorDocument 404 when placed on the main apache configuration or if you want it site specific - in .htaccess like so:

ErrorDocument 404 /notfound.htm

Will catch all file not found error. I also read these 3 good principles when creating a 404 page:

Useful SVN commands

svn diff - since sometimes I don't commit until later that time, I use this command to see what changes I made before committing them so I would remember and know what commit message to put.

svn status -q - this helps me remember those files I have edited and have not committed yet, not listing those files that aren't in the repository.

svn commit --editor-cmd /usr/bin/vim - sometimes I'd like to have my commit messages span multiple lines, this is how i do it.

Philnits FE exam PASSED

Woot! I just found out I passed the Philippine National IT Standards Foundation Exam formerly called the Japanese IT Standards Examination.

I think of this as a board exam for IT professionals since there are actually none that exists not unlike other professions like courses in Engineering, Interior Design, Medicine and etc.

Hmm..., something tells me that we are not being taken very seriously eh? click here for results. I'm listed on the 5th row.