Wednesday, July 30, 2008

Captcha To Protect From Automated Register Bots

Captcha To Protect From Automated Register Bots

A CAPTCHA is a type of challenge-response test used in computing to ensure that the response is not generated by a computer. The process involves one computer (a server) asking a user to complete a simple test which the computer is able to generate and grade. Because other computers are unable to solve the CAPTCHA, any user entering a correct solution is presumed to be human. A common type of CAPTCHA requires that the user type the letters or digits of a distorted image that appears on the screen.

More about Captha
http://en.wikipedia.org/wiki/Captcha

This websites can be used to genarate captcha.

reCAPTCHA

http://recaptcha.net/

reCAPTCHA is a free CAPTCHA service that helps to digitize books.

A CAPTCHA is a program that can tell whether its user is a human or a computer. You've probably seen them — colorful images with distorted text at the bottom of Web registration forms. CAPTCHAs are used by many websites to prevent abuse from "bots," or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs.

White Hat Web Design PHP Captcha Security Images

http://www.white-hat-web-design.co.uk/articles/php-captcha.php

This script generates images (known as "Captcha's") which contain security codes used for protecting a form from spam bots. By encoding a 'password' inside an image and asking the user to re-enter what they see you can verify the user is a human and not automated software submitting your form.


Monday, July 14, 2008

Platform for Privacy Preferences Project P3P

Platform for Privacy Preferences Project P3P

The Platform for Privacy Preferences Project (P3P) enables Websites to express their privacy practices in a standard format that can be retrieved automatically and interpreted easily by user agents. P3P user agents will allow users to be informed of site practices (in both machine- and human-readable formats) and to automate decision-making based on these practices when appropriate. Thus users need not read the privacy policies at every site they visit.

More information
http://www.w3.org/P3P/

Tuesday, June 17, 2008

Web Content Accessibility

Web Content Accessibility

Web Content Accessibility guidelines is must read guideline for webmasters and web developers. This guideline will help us, webmasters and web developers to create websites that not only can be access and reach by ordinary people, it is also for people with disabilities.

http://www.w3.org/TR/WAI-WEBCONTENT/

Web Content Accessibility is also for search engine optimization. By following Web Content Accessibility guideline, the contents not only can be access by ordinary people and people with disabilities, it is also create a contents that easily index by search engine robots and optimization tools.

Another guideline to be refer from US goverment.

http://www.section508.gov/

Section 508 requires that Federal agencies' electronic and information technology is accessible to people with disabilities. IT Accessibility & Workforce Division, in the U.S. General Services Administration's Office of Governmentwide Policy, has been charged with the task of educating Federal employees and building the infrastructure necessary to support Section 508 implementation.

Sunday, March 30, 2008

CmsForNerd To Used Full XHTML

We are moving the code base to support XHTML. We need to develop a way so that any non compliance will be convert to XHTML. For example tidy is used by CmsForNerd as the formating agent.

More information about XHTML
http://en.wikipedia.org/wiki/XHTML

To validate and to used online Tidy
http://validator.w3.org/

Saturday, January 19, 2008

Dojo Toolkits

The next version of CmsForNerd will be intergrated with Dojo Tookits. More about Dojo from Dojo Toolkit Website.


Dojo is an Open Source DHTML toolkit written in JavaScript. It builds on several contributed code bases (nWidgets, Burstlib, f(m)), which is why we refer to it sometimes as a "unified" toolkit. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development.

Dojo allows you to easily build dynamic capabilities into web pages and any other environment that supports JavaScript sanely. You can use the components that Dojo provides to make your web sites more usable, responsive, and functional. With Dojo you can build degradable user interfaces more easily, prototype interactive widgets quickly, and animate transitions. You can use the lower-level APIs and compatibility layers from Dojo to write portable JavaScript and simplify complex scripts. Dojo's event system, I/O APIs, and generic language enhancement form the basis of a powerful programming environment. You can use the Dojo build tools to write command-line unit-tests for your JavaScript code. The Dojo build process helps you optimize your JavaScript for deployment by grouping sets of files together and reuse those groups through "profiles".

Dojo does all of these things by layering capabilities onto a very small core which provides the package system and little else. When you write scripts with Dojo, you can include as little or as much of the available APIs as you need to suit your needs. Dojo provides multiple points of entry, interpreter independence, forward looking APIs, and focuses on reducing barriers to adoption.

http://dojotoolkit.org/

Saturday, December 15, 2007

Files in CmsForNerd

Files in CmsForNerd

(1) This files must be in the contents directory

common-headertag.inc - Contain information for HEAD TAG
header.inc - not used but need to have. Refer themes directory
footer.inc - The footer of the website
right-side.inc - Right hand side colum
left-side.inc - Left hand side colum

(2) This files must be in the includes directory

common.inc.php - php functions
global-control.inc.php - parameter global to all

(3) This directory and files must be in the themes directory

CmsForNerd - the directory (folder)

Inside this folder should have this files.

theme.php - This will call the style.css
style.css - The CSS file that control the appearance of the website
pager.php - The control page for the layout
header.tpl - called by pager.php
bodytop.tpl - called by pager.php
bodyfooter.tpl - called by pager.php

If you want to customize the layout. Copy the contents of this CmsForNerd folder into another name and it should be in themes directory.

To called you new theme, change the file global-control.inc.php in includes directory. The parameter $THEMENAME="CmsForNerd"; should change to your theme name.

http://cmsfornerd.harisfazillah.info/

18 November 2007

http://linuxmalaysia.harisfazillah.info/


Monday, November 26, 2007

CmsForNerd For Learning HTML CSS and PHP

CmsForNerd For Learning HTML CSS and PHP

CmsForNerd Main Site http://cmsfornerd.harisfazillah.info/
CmsForNerd at Sourceforge http://cmsfornerd.sourceforge.net/
CmsForNerd at Freshmeat http://freshmeat.net/~harisfazillah/
CmsForNerd Blog http://cmsfornerd.perempuanmelayu.info/
CmsForNerd at Geocities http://www.geocities.com/cmsfornerd

CmsForNerd is a simple Contents Management Software or CMS that can easily understand by any PHP programmers. It's using the common logics and structures that are used by numbers of PHP programs and CMS.

Our goal is to produce an output that confirm to XHTML W3C standard. By using PHP any web pages a website using CmsForNerd can have a standard theme and XHTML output.

CmsForNerd is target for advanced end users that like to coding in HTML, PHP and CSS but want the web site to be easy to maintain and manage.

CmsForNerd is design not to used any database. CMS with database will added extra administration jobs to backup and checking the database.

CmsForNerd is for small web site with static contents that not usually change.

A web page from CmsForNerd is called from a PHP script. Each web pages will have it own PHP scripts. This PHP scripts will get it's content from contents folder. This PHP script also called pager.php from theme folder for the layout of the web page.
The list of Files and folders used by CmsForNerd

(1) This files must be in the contents directory

* common-headertag.inc - Contain information for HEAD TAG. Some information need to be customize for your website.
* header.inc - not used but need to have for reference. Refer header.tpl in themes folder.
* footer.inc - The common footer of the web site.
* right-side.inc - Right hand side colum.
* left-side.inc - Left hand side colum.

(2) This files must be in the includes directory

* common.inc.php - PHP functions for CmsForNerd to work.
* global-control.inc.php - parameter global to all.

(3) This directory and files must be in the themes directory

* CmsForNerd - the directory (folder). It can be in any name depending on the theme.

Inside this folder should have this files.

* theme.php - It's called by global-control.inc.php in includes folder. This file will call file style.css for CSS.
* style.css - The CSS file that control the appearance of the website.
* pager.php - The control page for the layout. It is called by the PHP scripts of the web pages.
* header.tpl - called by pager.php. Usually the top banner graphic is called from here.
* bodytop.tpl - called by pager.php
* bodyfooter.tpl - called by pager.php

If you want to customize the layout. Copy the contents of this CmsForNerd folder into another name and it should be in themes directory.

To called you new theme, change the file global-control.inc.php in includes directory. The parameter $THEMENAME="CmsForNerd"; should be change to your new theme.

CmsForNerd Main Site http://cmsfornerd.harisfazillah.info/
CmsForNerd Blog http://cmsfornerd.perempuanmelayu.info/