CakePHP interview questions and answers

CakePHP  is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications. There is number of in built component like Ajax, RequestHandler, Session etc. Question: What are the drawbacks of cakephp? Answer : The learning curve, and it loads full application before it starts your task. Its […]

Syntax of JSON

Basically Syntax of JSON is the subset of the JavaScript syntax. It has following notation: Data is represented in name/value pairs. The name/value pairs are separated by , (comma). Curly braces hold objects. Square brackets hold arrays. Below is a example of Syntax of JSON: {“students”:[ {“Name”:”Tim”, “Age”:”25″}, {“Name”:”John”, “Age”:”30″}, {“Name”:”Jane”, “Age”:”45″} ]} So, students[0].Name […]

HTML Forms

By using html forms we get input data from the user. For example regstration form, contact us feedback etc. Html forms are enclosed between form element like below: <form> </form> There are numerous form fields that can be use in forms: -Text field -Text area -Checkbox -Radio buttons -Select box -File field -Button -Image button […]

Images in HTML

In html document, images are added via img element where the src attribute contains the url to the image path. Images example: <img src=”image.jpg”> There are different types of image format like jpg, png, gif, bmp etc. There is a attribute called “alt” which is used to give alternate information about the image or in […]