Freelance Jobs Freelance Jobs

Sunday, May 23, 2010

Twiter Blocked in Pakistan

Twitter is now blocked in the Pakisatan. Pakistani authorities already blocked facebook, and Youtube in Pakistan.


It mean now Pakistani users cannot log in to Twitter. The browser displayed a message “this site is restricated.”, when users tried to browse the site.

Pakistani Telecommunication Authority said that due to “sacrilegious contents”, Twitter is blocked in the Pakistan.Pakistani Authorities has been blocked more thatn 450 url in Pakistan.

Sunday, May 9, 2010

Installation of CakePHP


System Requirement

  • Http Server should be enabled
  • mod_rewrite should be enabled

Installation of cakephp

Follow the following step to install the cakephp:
  • Download the zip file from cakephp.org site
  • Create a new folder, which has same name as your site's name, in xampp/htdocs folder in your local drive
  • Extract the zip file in this folder


Database configuration in cakephp

Follow the following step to database configuration in cakephp
Create a new database in mysql or in database engine which you want to use.
Open the file xampp\htdocs\your_ site's_name\app\config\database.php
In this file there is two variable $default and $test are defined in class DATABASE_CONFIG
$default is used unless user does not specify another connection by $useDbConfig  property of a model.

Change the following code
'driver' => 'mysql',
  'persistent' => false,
  'host' => 'localhost',
  'login' => 'root',
  'password' => '',
  'database' => ' ',
  'prefix' => '',

driver: The name of database driver which is used to create database. You can use mysql, oracle, odbc etc. If you want to use datasource leave this field blank.

persistent : This is used to set database connection be persistent or not. If we set it true, the connection be persistent and if we set if false, the connection be non-persistent.

host: This is  host name of database's server.

login: This is login name of the database's server.

password : This is password of the database's server.

database: This is name of the database.

prefix: If the database tables has prefix, then set the prefix value here otherwise leave it blank

Wednesday, May 5, 2010

Content Management System

CMS, stands for content management system, is an application that makes content authoring and deploying easy. It allow multiple user to manage, deploy, edit, content on the base of their role.

CMS is based on the content. The content can be anything which is used to display data into application. For example, in a website, content can be text, menus, images, banner, block, etc which are used to display the site to end user. The content can be as per the requirement of the application. For example, a sports site contains different content rather than movie's web site. CMS is used for storing, managing, publishing, deploying of all type of content.

Using CMS, a person who does not have the knowledge of web developing, can work on the site. Basically, in cms the developer and content writer work differently. The developer develop the application and content writer modify, publish, edit the content of the application. Thus, the developer and content write work on the same application without interfering each other's work.

There are number of CMS available:

CMS in PHP
  • Joomla
  • Drupal
  • Wordperss
  • PHP-fusion
  • PHP-Nuke
  • Mambo

CMS in java
  • Dspace
  • Fedora
  • dotcms
  • japs
CMS in .net

  • dotnetnuke
  • umbraco
  • mojoportal