Interview Questions on Codeigniter
1.
What is codeigniter ?
Ans:
Codeigniter is a powerful PHP framework with a very small footprint,
built for developers who need a simple and elegant toolkit to create
full-featured web applications. It can be used to develop websites,
using php.
2.
Who created codeigniter ?
Ans:
EllisLab
3.
CodeIgniter is based on the __________________ development pattern.
Ans:
Model view controller
4.
What is MVC ?
Ans:
MVC is a software approach that separates application logic from
presentation.
5.
What is controller ?
Ans:
A controller is a simple class file.It controls the whole application
by URI.
6.
What are model classes ?
Ans:
Models classes are designed to work with information in the database.
7.
What are the two ways of connecting to database ?
Ans:
There are two ways of connecting to database :
1.
Automatic connecting
2.
Manual connecting
8.
How to insert a record in the database ?
Ans:
Using insert function
9.
How to update a record in the database ?
Ans:
To update a record in the database, the update() function is used
along with set() and where()
functions
. The set() function will set the data to be updated.
10.
How to delete a record in the database ?
Ans:
Using delete function.
If you want to know more please click on below link :
https://www.amazon.com/Linux-Kuriosity/e/B07J129KG4?ref=sr_ntt_srch_lnk_2&qid=1556597655&sr=8-2
Comments
Post a Comment