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



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

Answer / 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

More PHP Interview Questions

Explain the syntax for ‘foreach’ loop with example.

0 Answers  


What is composer phar?

0 Answers  


What is ltrim?

0 Answers  


What is user defined function in php?

0 Answers  


How can MYSQL functions be available with PHP?

0 Answers  


How to remove duplicate values from a PHP Array?

0 Answers  


How to open a file for reading?

0 Answers  


How do you check if a variable has been set in php?

0 Answers  


How can we increase the execution time of a PHP script?

12 Answers   CyberBeoz, Photon, XTX,


How many ways we can pass the variable through the navigation between the pages?

7 Answers  


Write a program in php to reverse a number?

0 Answers  


When do you use define() and when do you use const. What are the main differences between those two?

0 Answers  


Categories