doushi1960 2011-06-06 20:37
浏览 19
已采纳

关于php和mysql的在线音乐应用程序设计问题

I was thinking of using mvc pattern while designing this app. How can I use mvc here ? The model will be stored in mysql but what will be the controller and what will be the view here ?

  • 写回答

4条回答 默认 最新

  • dsavz66262 2011-06-06 20:45
    关注

    Firstly: model won't be stored in MySQL database - the data will, and model != database [sometimes it is very related, but it is not equal overall]. Your controllers will probably handle such things like:

    • login
    • logout
    • register
    • select album
    • select song

    The view would be HTML page, but probably also some external app or embedded JS that people can place in their pages.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?