【PHP开源代码栏目提醒】:网学会员--在 PHP开源代码编辑为广大网友搜集整理了:PHP技术应用于中小企业网站开发 - 硕士论文绩等信息,祝愿广大网友取得需要的信息,参考学习。
摘 要
PHP 技术应用于中小企业网站开发 互联网的快速发展,给人们的生活带来了巨大的改变,电子信息的快速传递,文字、图片、视频、声音、动画等等传统媒体网络化,广告、公司产品宣传等一些以前只能通过电视、报纸、广播、海报等方式进行的商业活动都可以用网络的形式完成。
网络信息以实时性的发布,爆炸性的传播,方便的浏览方式逐步得到人们认可。
Internet 的出现,给人们提供一种全新的、方便的、快捷的获取/发布信息的新途径,信息产业也已经成为新的支柱产业,成为世界经济的超高速推进器,并渗透到各个领域。
近些年来,互联网的飞速发展在缔造了数个企业帝国的同时,从根本的改变了人们的生产生活观念,使之成为经济时代的重要标志。
随着网络技术的不断进步,安全性不不断提高,电子金融服务的逐步成熟,给电子商务奠定了基础。
网络
经济的发展,使网络彻底的变成一种人们不可缺少社会活动。
这就给了网站开发这个行业一个不可限量的发展前景。
“地球村”这个概念提出,就 Internet 在商业上的发展速度让人膛目结舌,孕育给互联网巨大的商业价值。
覆盖全球的传播范围、即时的信息发布、多媒体的信息手段,这些都是传统商业模式所无法比拟的。
通过互联网,甚至可以让一个地方有特色的小公司一夜之间成为世界闻名的“跨国企业”。
千千万万的大小企业加入互联网大家庭中,目的就是想让更多的人了解公司,是否拥有企业自己的网站不知不觉中已经成为了衡量一个企业素质的标准。
网站开发的形式多种多样,以 ASPSQL server,JAVAOracle,PHPMySQL,最具代表性,根据网站的类型不同选用适用的技术组合。
本篇
论文一小型企业网站系统开发为例,使用 PHPMySQL 技术构架为核心,开发一套企业网站系统。
拉近企业与客户的距离,及时展示企业产品信息,发扬企业文化。
PHP 整合了目前流行语言(JAVA/C/PERL/C)最出色的特性,掌握其中任意一种语言都可以说掌握
PHP 的基础应用,所以
PHP 成为最容易上手的语言。
优秀的编译系统也是
PHP 成功重要因素,如 Zend Optimizer、Eclipse
PHP 等,完 I全
开源,让世界所有的
程序员来完善其功能。
PHP 以优异的性能,简单的使用,低廉的价格,成为中小企业的网站开发的首选。
LAMP(LINUX-APACHE-MYSQL-
PHP)网站架构师目前国际流行的 WEB 框架,该框架包括:LINUX 操作系统,APACHE 网络服务器,MYSQL 数据库,PERL/
PHP 或者PYTHON 编程语言,所有的组成产品均是
开源软件,是国际上成熟的架构框架,很多流行的商业应用都是采取这个构架,如 JAVA/J2EE 构架相比,LAMP 具有 WEB资源丰富、轻量、快速开发等特点,微软的.NET 架构相比,LAMP 具有通用、快平台、高性能、低价格的优势,因此 LAMP 无论是性能、质量还是价格都是企业搭建网站的首选平台。
本篇
论文是我开发系统的一些论述,主要阐述了网站的设计流程与主体设计思想,利用
PHP 丰富的函数功能,MySQL 出色的数据处理能力实现动态更新网站信息,以及在设计中遇到的
问题、要点等进行了详细的说明。
关键词:
PHP,SQL,中小企业网站,网络后台技术 II Abstract
PHP Website Development Technology for Small and Medium Enterprises The rapid development of the Internet to peoples lives has brought greatchanges the rapid transmission of electronic information text pictures video soundanimation and more traditional media networks advertising product promotion andsome previously available only through TV newspapers radio posters etc. for thebusiness network can be used to complete the form. Real-time network information tothe release of the explosive spread of convenient ways to browse gradually recognizedby people. Emergence of the Internet to provide people with a new convenient quick
access to / release information in new ways the information industry has become anew pillar industry the world economy high-speed propeller and penetrated intovarious fields . In recent years the rapid development of the Internet to create anumber of companies in the Empire at the same time fundamentally changed theconcept of peoples production and life making it an important indicator of economictimes. With the advances in network technology security is not increasing the gradualdevelopment of electronic financial
services to lay the foundation for e-commerce.Economic development of the network the network of people can not become acomplete lack of social activities. This gives the site a limitless development of thisindustry development prospects. Business on the Internet in the pace of development makes phenomenal men cananswer quotglobal villagequot concept proposed on the Internet gave birth to the greatcommercial value. Trans
mission range of global coverage real-time informationdissemination multimedia information tools which are the traditional business modelcan not match. Through the Internet or even a place unique to small companies tobecome world-famous overnight quotmultinational.quot Hundreds of thousands of small and large businesses join the Internet communitythe aim is to let more people know the company whether owned enterprises have IIItheir own websites unknowingly become the standard measure of the quality of anenterprise. Website development in many forms to ASP SQL server JAVA Oracle
PHP MySQL the most representative according to the type of site selection ofappropriate technology in different combinations. This paper a small business websystems development for example using
PHP MySQL technologies as the coreframework develop an enterprise web systems. Narrow the distance betweenenterprises and customers timely display of enterprise product information promotecorporate culture. Integration of the popular
PHP language JAVA / C / PERL / C The mostoutstanding feature either master one language can be said to grasp the basis of PHPapplications so the most easy to use
PHP language. Excellent compilation system isan important factor in the success of
PHP such as the Zend Optimizer Eclipse PHPand so on completely open source so that all the worlds programmers to improve itsfunction.
PHP with excellent performance simple to use low price as the preferredsite development of SMEs. LAMP LINUX-APACHE-MYSQL-
PHP web architect WEB popular currentinternational framework that includes: LINUX operating system APACHE webserver MYSQL database PERL /
PHP or PYTHON programming language thecomposition of products are all open source software is a mature framework for theinternational framework many popular business applications are to adopt thisframework such as JAVA/J2EE architecture compared LAMP has a WEBresource-rich lightweight rapid development features of Microsofts. NETframework with ratio LAMP has a common fast platform high performancelow-price advantage so both LAMP performance quality and price are the preferredplatform for companies to build the site. This paper is the system I developed some discussion focuses primarily onwebsite design process with the main design function-rich functionality using PHPMySQL superior data processing ability to achieve dynamic update site informationand the problems encountered in the design the main points for a detaileddescription.Key
words:
PHP SQL SME website Network Back-End Technology IV 目 录摘 要 ................................................. IA
BSTRACT ............................................... III第1章 绪 论 .......................................... 1 1.1 互联网时代的发展进程 ................................ 1 1.2 国内 INTER
NET 的现状 .................................. 2 1.3 电子商务模式的兴起 ................................. 2 1.4 企业网站的建立 ..................................... 2第2章 LAMP 构架的服务与应用 ............................ 3 2.1 LINUX 概述 .......................................... 3 2.2 APACHE 服务器 ........................................ 3 2.3 MYSQL 服务器应用 .................................... 4 2.4
PHP 脚本语言 ........................................ 4第3章 需求分析 ........................................ 5 3.1 技术可行性 ......................................... 5 3.1.1 使用
PHP 语言可行性 .............................. 5 3.1.2 用户操作分析 .................................... 5 3.2
软件环境 ........................................... 6 3.2.1 开发环境 ........................................ 6 3.2.2 服务器环境 ...................................... 6 3.3 一般性网站功能需求 ................................. 6 I 3.3.1 系统参数设置 .................................... 6 3.3.2 信息管理 ........................................ 6 3.3.3 栏目管理 ........................................ 7 3.3.4 模板管理 ........................................ 7 3.3.5 用户管理 ........................................ 7 3.3.6
招聘管理 ........................................ 7 3.3.7 文件下载 ........................................ 7 3.3.8 网站公告 ........................................ 7 3.3.9 链接管理 ........................................ 8 3.4 网站的页面需求 ..................................... 8 3.4.1 网站的前台页面 .................................. 8 3.4.2 网站的后台页面 .................................. 8第4章 总体设计 ......................................... 9 4.1 数据库的设计 ....................................... 9 4.1.1 数据库设计概述 .................................. 9 4.1.2 数据库需求分析 .................................. 9 4.1.3 数据库逻辑结构
设计 .............................. 9 4.1.4 数据库物理结构设计 .............................. 9 4.2 系统结构设计 ...................................... 10 4.2.1 网站后台结构 ................................... 10 4.2.2 网站前台结构 ................................... 11 4.2.3
系统结构设计 ................................... 11 II第5章 细节设计 ........................................ 13 5.1 后台系统公共文件的
代码编写 ........................ 13 5.1.1 common.inc.
php 控制文件 ........................ 13 5.1.2 网站
常用函数
代码 ............................... 14 5.1.3 Cookie 的封装 .................................. 15 5.1.4 上传函数 ....................................... 15 5.2 网站后台页面设计 .................................. 16 5.2.1 网站后台管理界面 ............................... 16 5.2.2 管理员登录页面 ................................. 17 5.2.3 系统信息页面 ................................... 19 5.2.4 添加文章 ....................................... 19 5.2.5 添加产品分类 ................................... 21 5.2.6 互动中心管理 ................................... 22 5.2.7 文章、新闻、产品信息添加 ....................... 25 5.2.8 分页技术的实现 ................................. 27 5.2.9 图片添加水印技术 ............................... 28 5.2.10 数据库的备份 .................................. 29 5.2.11 文件管理器 .................................... 31 5.2.12 修改口令 ...................................... 33 5.2.13 模板设置 ...................................... 34 5.2.14 添加友情链接 .................................. 36 5.3 网站的前台页面 .................................... 38 III 5.3.1 前台的首页 ..................................... 38 5.3.2 公司简介 ....................................... 38 5.3.3 新闻资讯 ....................................... 39 5.3.4 产品中心 ....................................... 39 5.3.5 成功
案例 ....................................... 39 5.3.6 在线留言 ....................................... 40 5.3.7 系统应用 ....................................... 40第6章 系统测试 ........................................ 43 6.1 系统测试的目的及原则 .............................. 43 6.2 系统测试的方法 .................................... 43 6.2.1 前台页面测试 ................................... 43 6.2.2 后台功能测试 ................................... 44 6.2.3 服务器并发数据量处理测试 ....................... 45第7章 总 结 ........................................ 46参考文献 ................................................ 47致 谢 ................................................ 49 IV 第1章 绪 论1.1 互联网时代的发展进程 (1)1960 年-1970 年,互联网最早出现再美国军方,为了增加计算机协同
工作的能力,把几台计算机连接组成最早互联网。
互联网的初衷就是想让计算机来共享资源,其名称为 Arpanet,这个网络技术是这开启网络大门的代表,开发Arpanet 的实验室,怎么也不会想到,这一个创新的想法百变了整个世界。
(2)1975 年前后,是 LAN 飞速发展的是一个时期,计算机也不用再使用简单的分组交换技术来进行数据交换。
LAN 使用的全新的技术和通信手段,并正式更名为以太网 Ethernet(以太最初被称为是组成互联网必要的介质,大家都认为以太是实际存在的,当然后来科技进步后,并没有发现以太这种介质,但是名 。
称还是被保留下来了) 之后,剑桥大学还推出了剑桥环网络(Cambridge Ring),这些都说明了 LAN 技术再逐渐成熟,标志着局域网时代的到来。
(3)1980 之后,互联网开始逐渐暂露头角。
随着局域网技术的成熟,其覆盖面积越来越大,连接的计算机越来越多,慢慢就开始构想出局域网跟局域网相连接,组成一个更大的局域网来共享网络的资源。
局域网相互连接,就变成一个广域网,广域网相互的连接,就变成了互联网,其实,
网络就是
计算机的相互连接,数据通信,数据共享;但是,全世界的计算机都组成一个网络,就由数量变化发生了质的变化,计算机的互变成了联强大的互联网。
(4)1990 年至今,说互联网行业发生翻天覆地的变化,这一点都不为过,而且绝对不止发生了一次革命的改革。
很多书籍上说,这个时期,发明了什么什么的技术,让计算机什么样的功能,让我说,计算机在这个阶段为什么发展如此迅速,跟网络普及有着至关重要的关系。
1990 年手机都不常见,计算机刚刚普及到家庭不久,网络
通信(ICQ、IRC、QICQ、MSCHAT、NETMEETING)等及时通信工具,让人们感觉网上信息传递的快捷,逐渐的大家开始接受了网络走进生活,在这个人数呈爆炸性增长的同时,互联网又由数量变化发展到本质的变化。
简单的信息不足以满足要求,网络上出现了新的技术来适应广大网友的需求,网络音乐,网络游戏,网络电影,网络银行等等。
网络金融项目的出现也加速了互联网 1社会化的进程。
1.2 国内 Internet 的现状 Internet 以跳跃性的速度向前发展,目前 internet 逐步替代人们的传统信息获得方式(如报纸、电视、广播)。
只要使用 internet 终端设备(电脑、手机、互联网电视等),就可以对新闻,天气,股票,彩票,体育,娱乐,影视等多方面,全方位的信息进行收集及浏览,并可以随时把自己想要发出的讯息在网上随 1意的发布,这些都是传统媒体所无法实现的 。
Internet 的出现,给人们提供一种全新的、方便的、快捷的获取/发布信息的新途径,信息产业也已经成为新的支柱产业,成为世界经济的超高速推进器,并渗透到各个领域。
近些年来,互联网的飞速发展在缔造了数个企业帝国的同时,从根本的改变了人们的生产生活观念,使之成为经济时代的重要标志。
1.3 电子商务模式的兴起 “地球村”这个概念提出,就 Internet 在商业上的发展速度让人膛目结舌,孕育给互联网巨大的商业价值。
覆盖全球的传播范围、即时的信息发布、多媒体的信息手段,这些都是传统商业模式所无法比拟的。
通过互联网,甚至可以让一个地方有特色的小公司一夜之间成为世界闻名的“跨国企业”。
1.4 企业网站的建立 千千万万的大小企业加入互联网大家庭中,目的就是想让更多的人了解公司,是否拥有企业自己的网站不知不觉中已经成为了衡量一个企业素质的标准。
网站对于企业的作用: 1、 展示企业文化、树立企业形象、提高知名度 2、 可以通过网站的多媒体信息发布模式来全面介绍企业的基本情况,增加 企业的信誉度。
3、 通过网站可以全面细致的发布最新的产品信息,方便客户能第一时间了 解到公司新产品。
4、 通过网络的电子信箱,可以更快捷的跟合作企业进行信息交流。
5、 通过网站,可以寻求到更多的合作伙伴。
2 第2章 LAMP 构架的服务与应用 LAMP 系统是(LINU.