To use WordPress for developing a web application

前端 未结 10 2053
旧时难觅i
旧时难觅i 2020-12-15 14:49

I\'m planning to develop a web application which will have many static pages (about, help, contact, etc.) and other dynamic pages for the application.

Most of the ti

10条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-15 15:33

    One option to consider is setting up WordPress to serve your static pages (to avoid spending time reimplementing a CMS for this content) and using CakePHP to develop the dynamic application that is the core of what you're building.

    You can then host them under the same domain, and if you set up the same page structure / CSS for both WordPress and CakePHP then it should be seamless to users.

    A similar example I have is a site running WordPress for content management, and phpBB for a forum, both styled to look the same:

    • WordPress section
    • phpBB section

    This does mean you have to maintain two page themes (CSS & HTML) and keep them in line with each other, but it does give the advantage of playing to WordPress's strengths of managing static content (about pages) and also time-based content (news articles) with a low time / effort investment, allowing you more time to concentrate on playing to CakePHP's strengths for your dynamic application that is the core of what you're building.

    If you mostly use WordPress as it comes without doing much customisation / development, you should be able to get it running pretty quickly with a low learning curve, allowing you time to concentrate on your core application.

提交回复
热议问题