search

Home  >  Q&A  >  body text

The difference between web development and mobile development in PHP

In my previous work, I used a fully functional framework for web back-end development. MVC three-layer data transmission allowed me to use design patterns to deal with complex business scenarios.
Now I have just started to develop the port for the mobile terminal. I feel that the function points are very single. Of course, the implementation is still very complicated, but the mobile terminal should be based on speed. Now the project uses a very compact framework (CI), which is no longer available. The view layer is equivalent to directly operating the database to return data.

My personal understanding of web development is the reasonable application of design patterns + mysql.
Where is the core focus of mobile terminal development? Are there any books on this subject that I can learn from?

为情所困为情所困2753 days ago536

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 13:07:58

    1. In traditional web development, mvc method, view is to return the page, but it must also report an error in the ajax request interface, which returns json
    2. In mobile development, the view can be considered as returning json data
    3. Model layer, controller There is no change in the layers. There is no essential difference between returning html and returning json

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-16 13:07:58

    There is no essential difference. If it is the kind of development that separates the front and back of the web, at most you need to add a callback. However, when doing API development, you must have good interface standards. When I was working on the project, I ran into a lot of pitfalls because of the interface standards. .

    reply
    0
  • 为情所困

    为情所困2017-05-16 13:07:58

    In terms of development, there is no difference. But there is one thing to note about the mobile terminal. To save traffic.

    reply
    0
  • Cancelreply