【正文】
市場環(huán)境中,快速高效開發(fā)是解決問題的關(guān)鍵。 某某 學(xué)院 畢業(yè)論文 題 目 : 基于 ThinkPHP 框架的中小型企業(yè) 網(wǎng)站開發(fā)模板的設(shè)計與實現(xiàn) 姓 名 : 學(xué) 號 : 院 系 : 計算機學(xué)院 專 業(yè) : 軟件工程 指導(dǎo)老師 : 2020 年 3 月 28 日 基于 ThinkPHP 框架的中小型企業(yè)網(wǎng)站開發(fā)模板的設(shè)計與實現(xiàn) I 摘要 根據(jù)大多數(shù)中小型企業(yè)的網(wǎng)站建設(shè)需求分析可知,企業(yè)網(wǎng)站前后臺主要功能都是大同小異的。這說明大多數(shù)中小型企業(yè)的網(wǎng)站建設(shè)核心基本上是一致的。對于網(wǎng)站設(shè)計者來說,面對大同小異的網(wǎng)站建設(shè)需求,這無非就是設(shè)計一個適合大多數(shù)中小型企業(yè)網(wǎng)站建設(shè)模板以及企業(yè)信息管理的數(shù)據(jù)庫。 通過對中小型企業(yè)的網(wǎng)站建設(shè)需要和面向 WEB 開發(fā)語言的研究, 我 自主研發(fā)了一個面向中小型企業(yè)的網(wǎng)站通用模板。采用MVC 的開發(fā)模式,模塊化開發(fā)方式作為功能開發(fā)形式。 因此,結(jié)合 ThinkPHP 框架 與 MySQL 數(shù)據(jù)庫 的開發(fā)模式,建立一個面向中小型企業(yè)的網(wǎng)站通用模板, 從而促使企業(yè)網(wǎng)站在開發(fā)技術(shù)上更 快速與高效,也解決了 中小型企業(yè) 在 業(yè)務(wù) 更新、企業(yè) 宣傳、 推廣成本和推廣設(shè)計技術(shù) 上存在的 難題。s instantaneous change of market environment, fast and efficient development is the key to solve the problem. For web designers, in the face of the same website construction requirements, this is to design a website construction template which is suitable for most small and mediumsized enterprise, and enterprise information management database. In the aspect of rapid and efficient development, the MVC pattern development can improve the development efficiency and quality, while the ThinkPHP framework inherits the advantages of the LAMP architecture, strictly follows the MVC design pattern, using RBAC access mechanism, has the advantages such as lightweight, strong expansibility, etc. It is conform to the above characteristics of development. Through the study of the website construction to the needs of small and mediumsized enterprises and WEB oriented development language, I developed a site generic template for small and medium enterprise. This template uses Thinkphp + MYSQL as a technology foundation for development. Using MVC development mode, modular development mode as the function forms of development. This framework is easy to expand functions, code maintenance, and it has the excellent ability of second development, which provides excellent and prehensive enterprise website for the majority of small and mediumsized web site. Therefore, bining ThinkPHP framework and MySQL database development mode, and setting up a website for small and mediumsized enterprise general template. Thus, we can not only promote the enterprise website in the development technology more quickly and efficiently, but also solve the problem of small and medium enterprises in the business updates, enterprise publicity, promotion and popularization of design cost existing in technique. Key words: ThinkPHP framework, MVC design pattern, RBAC permissions, Small and mediumsized enterprise website general template 基于 ThinkPHP 框架的中小型企業(yè)網(wǎng)站開發(fā)模板的設(shè)計與實現(xiàn) III 目錄 摘要 ........................................................................................................................................................I Abstract ............................................................................................................................................... II 第一章 緒論 ........................................................................................................................................... 1 互聯(lián)網(wǎng)的起源和發(fā)展 ................................................................................................................ 1 目前互聯(lián)網(wǎng)的現(xiàn)狀 .................................................................................................................... 1 企業(yè)電子商務(wù)的興起 ................................................................................................................ 2 企業(yè)為什么要建立網(wǎng)站 ............................................................................................................. 2 第二章 ThinkPHP 框架及相關(guān)技術(shù) ......................................................................................................... 3 ThinkPHP框架簡介 ................................................................................................................... 3 Mysql數(shù)據(jù)庫 ............................................................................................................................ 3 Apache概述 ............................................................................................................................. 3 第三章 需求分析 .................................................................................................................................... 5 技術(shù)可行性 .............................................................................................................................. 5 動態(tài)網(wǎng)站技術(shù)介紹 ......................................................................................................... 5 市場可行性 .................................................................................................................... 5 語言優(yōu)勢 ....................................................................................................................... 6 操作可行性 .................................................................................................................... 6 軟件可行性分析 ....................................................................................................................... 6 開發(fā)環(huán)境 ....................................................................................................................... 6 服務(wù)器環(huán)境 .................................................................................................................... 7 項目可行性分析 ....................................................................................................................... 7 B/S模式介紹 ................................................................................................................. 7 B/S模式的優(yōu)點 .............................................................................................................. 7 功能性需求 ..............................................................