Describe the importance of DABA BASE ABSTRACTION LAYERS in
PHP and database connection?

Answer Posted / vijaya

Database abstraction means using a common db function for
querying. This would be great when you are switching from
one database to another. You won't have to change each and
every database function. Instead of that you can simply
change the database function names in one file. This should
be considerable, if in future you are planning to change the
database. The disadvantage of this is, it will slower down
the performance.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between print and echo in php?

473


Explain me what are the main error types in php and how do they differ?

542


How is it possible to cast types in php?

490


What is difference between base_url and site_url?

495


Can we run php in apache tomcat?

516






How to get ip address of a server in php?

545


What is a string in r?

512


what is constructor

1067


What is csrf token and how will you add csrf token in ajax?

523


Which of the data type is compound datatype supported by PHP?

547


Is a number php?

526


can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.

3069


How many types of session are there?

539


How do you put a space in html?

513


Is php still in demand?

547