What is MVC in PHP context?
Submitted by: MuhammadMost programmers know this, but interviewers will likely look for a deep understanding of MVC, and some explanation or examples on how/why/ when you used it.
MVC- Model, View, Controller - is simply a way of organizing your code into 3 separate layers each with there own job.
☛ Model - Usually contains data access code and all of you business logic code.
☛ View - Contains markup/design code, generally html,xml, json.
☛ Controller - Usually contains very little code, just whatever is needed to call the Model code and render the View code.
Submitted by: Muhammad
MVC- Model, View, Controller - is simply a way of organizing your code into 3 separate layers each with there own job.
☛ Model - Usually contains data access code and all of you business logic code.
☛ View - Contains markup/design code, generally html,xml, json.
☛ Controller - Usually contains very little code, just whatever is needed to call the Model code and render the View code.
Submitted by: Muhammad
Read Online Sr. PHP Programmer Job Interview Questions And Answers
Top Sr. PHP Programmer Questions
☺ | What are the 3 scope levels available in PHP and how would you define them? |
☺ | What is the purpose of $_PHP_SELF variable in PHP? |
☺ | What is the purpse $_PHP_SELF variable? |
☺ | Can the value of a constant change during the script's execution? |
☺ | What is the purpose of _CLASS_ constant? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |