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 [...]
Archive for March 2008
Browse The File System
March 28, 2008Linux File Permission
March 12, 2008What 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 [...]
CakePHP: Data Validation
March 11, 2008Data 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 validation is creating the validation rules in the Model. To [...]
Cake Conventions
March 6, 2008Filenames 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 KissesAndHugsController, then its filename must be kisses_and_hugs_controller.php(notice _controller in the filename) If it’s a Model named OptionValue, [...]
CakePHP: Basic Concept
March 6, 2008MVC 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 table/record, and it’s relationships to other tables and records. Models also contain data validation rules, [...]
CakePHP?
March 6, 2008What’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 that make it a great choice as a framework for developing applications swiftly and with [...]
Know about the PHP Code-Beautifier Tool
March 5, 2008Tim 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 [...]
Best PHP tools of the month
March 5, 2008Best 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, 2008OpenLaszlo 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 [...]
jPOP: Javascript Powered On PHP
March 5, 2008Ajax 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