Using MVC framework in php(please help needed)?
-
i know the idea of MVC. please check whether it is right or wong M- for data that is all code related with database(insertion,deletion,update,retri… should remain in MODEL.php file or MODEL class V- view that is all user interface related function remains in one VIEW class or VIEW.php file C-control that is all business related functions like accounting(if related with business)should remain in CONTROL.php or CONTROL class am i correct so far if not please feel free to give correction. now my problem knowing this all i am confused coding with MVC framework as i think whether my idea is correct or not. please provide me a complete example of MVC (code of MVC). so it would be helpful for me.
-
Answer:
You may contact a PHP expert live at website like http://definitivelab.com/ ,etc .
saka at Yahoo! Answers Visit the source
Other answers
To quote Wikipedia, MVC is often seen in web applications, where the view is the actual HTML or XHTML page, and the controller is the code that gathers dynamic data and generates the content within the HTML or XHTML. Finally, the model is represented by the actual content, which is often stored in a database or in XML nodes, and the business rules that transform that content based on user actions. There are many different ways of organising this, and it really depends on the application so giving code would be quite meaningless unless I know more about your application
Related Q & A:
- How to combine 3 tables using entity framework and LINQ?Best solution by Stack Overflow
- Why cant i view my contacts display image? please help if you know ,thanks?Best solution by Yahoo! Answers
- I did something really bad and now i need help please help me.Best solution by Yahoo! Answers
- Help with TV show, please help?Best solution by Yahoo! Answers
- Rockford Fosgate speaker help needed?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.