Basic Stature of CakePHP and rules

Now lets discuss about some rules and mvc framework stature of cakePHP, for create a database application we need to follow bellow things 1) define data model 2) controller file : here we are writing database queries 3) and query results Table & field name convention 1)create your database 2) table name : lower case, [...]

Creating Static Pages and Linking in CakePHP

Now i am going to create sub page( statics) and linking each other for that i created about_us.ctp file under “pages” folder and going to give link from home – to about_us and from about_us to home. and on about_us.ctp use bellow php code <?php $this->pageTitle = ‘About us page’; ?> It use to select [...]

Cook a Custom CakePHP Template

You have seen bellow messages in the welcome screen has changed after each of your action. Editing this Page To change the content of this page, create: APP/views/pages/home.ctp. To change its layout, create: APP/views/layouts/default.ctp. You can also add some CSS styles for your pages at: APP/webroot/css. Creating a default home page To create a default [...]

Framework and CakePHP

As a programmer I used to develops code in php and many languages but faced lot of security issues in my codes discussed with my friend regarding this he advised me to do codes in framework, ( web application framework is a software framework that is designed to support the development of dynamic websites, Web [...]

Creating a map with facility to search place

We can implement this with Google map API we can embedded this with JavaScript, google map API provides a number of utilities for manipulating maps, to implement API we need a API key from google  click on bellow link to get API. http://code.google.com/apis/maps/signup.html after sgin up u will get a long key like bellows “BQIAAAASCcrd7lxcteu2jB1w1y8jVwqffsKEBfxZJBR56cpGgvO3bk4S1COAh8GU83HO6g [...]