Codeigniter interview questions and answers for freshers and ...

May 19, 2017 | Author: Anonymous | Category: PHP
Share Embed


Short Description

Codeigniter interview questions and answers for freshers and experienced.pdf - Download as PDF File (.pdf), Text File (....

Description

Shwetank Kumar Gupta | shwetankeducation.com|+91-9815144280

Codeigniter interview questions and answers For freshers and experienced Content Ref :pcds.co.in | only for use Education and Job purpose, not for official purpose. Questions :1

What is codeigniter ?

Answers : Codeigniter is a framework which is mainly focussed on web application development .It is well known 1 for its performance speed.It has inbuilt libraries which helps to build web application Questions Who developed codeigniter? :2 Answers : Codeigniter was developed bt ellislab Inc. 2 Questions Why codeigniter is called as loosely based mvc framework? :3 Answers : advertisements 3 Reason behind this is we does not need to follow strict mvc pattern while creating application.We can also able to build with model only view and controllers are enough to built a application. Questions What are helpers? :4 Answers : It is a group of functions which helps you to do particular functions. Example there are form helper to 4 create a form .$this->load->helper(‘form’); Questions What are hooks in codeigniter? :5 Answers : Hooks are used to modify the inner functionality of framework without affecting core files.Hooks are 5 present in application/config/hooks.php Questions How to insert data into database table in CodeIgniter ? :6 Answers : Step1 This will be your controller. 6 Site/insert” method=”post”> Field 1 Field 2 Field 3

Step 3 success.php Your data has been inserted!!!

Step 4 In your model you need to pull those datas of form and insert into db this way site_model.php

View more...

Comments

Copyright © 2017 DATENPDF Inc.