Archive for March, 2008

Browse The File System

March 28, 2008

cd changes derectories

cd 

To your home directory

cd ..

To your home directory

cd -

To your previous working directory

Listing Directory Contents

ls -a 

include hidden files

ls -l

long listing style

ls -R

Recurse through directories

Copying Files & Directories

cp -i source destination

interactive(ask before overwriting file)

cp -R source destination

recursive (recursively copy an entire directory tree)

Creating & Removing Files

touch 

create empty file or update filetimestamps

rm -i 

interactive(ask before removing [...]

Linux File Permission

March 12, 2008

What are permissions?
On a UNIX web server, every single file and folder stored on the hard drive has a set of permissions associated with it, which says who is allowed to do what with the file. Every file (and folder) also has an “owner” and a “group” associated with it. If you created the file, [...]

CakePHP: Data Validation

March 11, 2008

Data Validation
Creating custom validation rules can help to make sure the data in a Model conforms to the business rules of the application, such as passwords can only be eight characters long, user names can only have letters, etc.
The first step to data [...]

Cake Conventions

March 6, 2008

Filenames

Filenames are underscore. As a general rule, if you have a class MyNiftyClass, then in Cake, its file should be named my_nifty_class.php.
So if you find a
snippet you automatically know that:

If it’s a Controller named [...]

CakePHP: Basic Concept

March 6, 2008

MVC Pattern
The MVC paradigm is a way of breaking an application, or even just a piece of an application’s interface, into three parts: the model, the view, and the controller.
In Cake terms, the Model represents a particular database [...]

CakePHP?

March 6, 2008

What’s CakePHP?
CakePHP is a free open-source rapid development framework for PHP. Its a structure of libraries, classes and run-time infrastructure for programmers creating web applications originally inspired by the Ruby on Rails framework.
Why CakePhp?
CakePHP has several features [...]

Know about the PHP Code-Beautifier Tool

March 5, 2008

Tim Koschuetzki has discovered a new tool for beautifying existing PHP code. It works via a web interface. You can either upload a script or directly input it. The code is beautified according to the PHP PEAR Standard Requirements. It does not change or debug your code in any way.
The functions of this tool are [...]

Best PHP tools of the month

March 5, 2008

Best Framework->CodeIgniter
Best Environment for PHP-> WAMP
for more see the below link:

Best PHP Tools of the Month
Best Framework
10 tips for MySQL query Optimization

OpenLaszlo

March 5, 2008

OpenLaszlo is an open source platform for creating zero-install web applications with the user interface capabilities of desktop client software.
OpenLaszlo programs are written in XML and JavaScript and transparently compiled to Flash and, with OpenLaszlo 4, DHTML. The OpenLaszlo APIs provide animation, layout, data binding, server communication, and declarative UI. An OpenLaszlo application can be [...]

jPOP: Javascript Powered On PHP

March 5, 2008

Ajax is a very important for modern RIA(Rich Internet Application). Till now we use JS for Ajax purpose. But a framework has been recently introduced which done the ajax work from a php page. this is called jPOP.
To know more about it, go to this link: jPOP: Javascript powered On PHP