1、西 安 邮 电 大 学毕 业 设 计(外文翻译)题 目: Design and Implementation of the Website Based on PHP & MYSQL 基于PHP和MYSQL的网站设计和实现 学 院: 计算机学院 专 业: 网络工程 班 级: 网络1101 学生姓名: 周从军 导师姓名: 朱辉 职称: 讲师 AbstractPHP and MYSQL has been the main web development tool for it is free and open source. The authors have discussed the enviro
2、nmental issues in development process based on PHP and MYSQL and the implementation process of the website . Keywords PHP; MYSQL; Development and Implementation .1. INTRODUCTION With the development of Web technology, it is inevitable choice for all kind of corporate growth to combine traditional ma
3、rketing with network marketing. The effective method of network marketing is to establish the website which is suitable for their company. At present the website developments mainstream platform includes: LAMP (Linux operating system, Apache network server, MYSQL database, PHP programming language),
4、 J2EE and. Net commercial software. Because PHP and MYSQL is free, open source and so on, they are noted for IT professionals. From the perspective of website traffic, more than 70% of website traffic is provided with LAMP, which is most popular platform for developing the website. In this paper, we
5、 designed a website based on PHP and MYSQL. The paper is organized as follows. Section 1 make conclusion In Section 5.2. DEVELOPMENT ENVIRONMENT ANALYSIS A. The Choice of Development Language ASP.NET, PHP & JSP are three mainstream languages of the website development, which have their advantages an
6、d disadvantages respectively, the comparison between them is shown in Table1. The project takes PHP as the development language, the reason is as follows: Free. The project is small, which is no need to use the payment development platform such as ASP.NET and JSP. Strong supporting. Middle and small
7、 scale websites, even some large-scale websites such as baidu, Sina in China take PHP as the development language, which can contribute to solve the problem during the programming. analyzes development environment. In Section 2, we proposed the development model based on PHP. Then case study in Sect
8、ion 4. weGood portability. Although it is designed to use in the environment of Linux and Apache Web server system at first, now PHP is already transplanted any operating system and compatible standard Web server software. Simple grammar. PHP has many similarities with the C programming language, so
9、 it is easy to program using PHP for the C programmers. Rapid development. Because the source code is open, PHP will continue to develop rapidly. When Zeev Suraski added the object-oriented syntax back in the days of PHP 3, it was added as syntactic sugar for accessing collections. The OO model also
10、 had support for inheritance and allowed a class (and object) to aggregate both methods and properties, but not much more. When Zeev and Andi Gutmans rewrote the scripting engine for PHP 4, it was a completely new engine; it ran much faster, was more stable, and boasted more features. However, the O
11、O model first introduced in PHP 3 was barely touched. Although the object model had serious limitations, it was used extensively around the world, often in large PHP applications. This impressive use of the OOP paradigm with PHP 4, despite its weaknesses, led to it being the main focus for the PHP 5
12、 release. So, what were some of the limitations in PHP 3 and 4? The biggest limitation (which led to further limitations) was the fact that the copy semantics of objects were the same as for native types. So, how did this actually affect the PHP developer? When assigning a variable (that points to a
13、n object) to another variable, a copy of the object would be created. Not only did this impact performance, but it also usually led to obscure behavior and bugs in PHP 4 applications because many developers thought that both variables would point at the same object, which was not the case. The varia
14、bles were instead pointing at separate copies of the same object. Changing one would not change the other. For example: class Person var $name; function getName() return $this-name; function setName($name) $this-name = $name; function Person($name) $this-setName($name); function changeName($person,
15、$name) $person-setName($name); $person = new Person(Andi); changeName($person, Stig); print $person-getName(); In PHP 4, this code would print out Andi. The reason is that we pass the object $person to the changeName() function by-value, and thus, $person is copied and changeName() works on a copy of $person. This behavior is not intuitive, as many developers would expect the Java-like behavior. In Java, variables actually hold a handle (or pointer) to th
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1