毕业设计(论文)外文资料和译文.doc





《毕业设计(论文)外文资料和译文.doc》由会员分享,可在线阅读,更多相关《毕业设计(论文)外文资料和译文.doc(22页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 成都东软学院毕业设计(论文)外文资料和译文系 别: 计算机科学与技术系 专 业: 计算机科学与技术 班级: 级1班 姓 名: 学 号: 指导教师: 二XX 年 十二 月 成都东软学院毕业设计(论文) 原文PHP/MySQL Programming for the Absolute BeginnerIf youve been watching the Web for a while youve probably noticed it is changing. When the Web first entered into the public consciousness, it was a w
2、ay to distribute documents. These documents were pretty easy to make.Anybody with a weekend and a text editor could get a Web page up and running. Building a Web site in the early days was about making documents.Today the Internet is much more than that. Interesting Web sites are not simply document
3、s; they are applications. They have much more complexity and power. You might think the Web is no longer a place for individuals or beginning programmers. Many of the software development tools available are expensive and complicated.To me, the most exciting thing about the Internet is its social im
4、plications.There is a large community that believes in powerful, easy-to-use, free software. That community has produced a number of exceptional programs, including PHP and MySQL.PHP is a powerful programming language that lets you build dynamic Web sites. It works well on a variety of platforms, an
5、d its reasonably easy to understand. MySQL is an impressive relational data management system used to build commercial quality databases. PHP and MySQL are such powerful and easy-to-use platforms that they make Web programming accessible even for beginners.In this book, I will teach you about progra
6、mming. Specifically, you will learn how to write programs on Web servers. Youll learn all the main concepts of programming languages. Youll also learn about how data works in the modern environment. Youll learn commands and syntax, but youll also learn the process of programming.If youve never writt
7、en a computer program before, this book will be a good introduction. If youre an experienced programmer wanting to learn PHP and MySQL, youll find this book to be a gentle introduction.Programming is hard work, but its also a lot of fun. I had a great time writing this book, and I hope you enjoy lea
8、rning from it. Im looking forward to hearing about what you can do after you learn from this book.AndyChapter 1: Exploring the PHPEnvironmentOverviewWeb pages are interesting, but on their own they are simply documents. You can use PHP to add code to your Web pages so they can do more. A scripting l
9、anguage like PHP can convert your Web site from static documents to an interactive application. In this chapter,youll learn how to add basic PHP functionality to your Web pages.Specifically, youll:Review HTML commands.Use Cascading Style Sheets to enhance your Web pages.Build HTML forms.Ensure PHP i
10、s on your system.Run a basic diagnostic of your PHP installation.Add PHP code to a Web page.Introducing the Tip of the Day ProgramYour first program probably wont win any Web awards, but it will take you beyond what you can do with regular HTML. Figure 1.1 illustrates the Tip of the day page, which
11、offers friendly, helpful advice.Figure 1.1: The tip of the day might look simple, but it is a technological marvel, because it features html, cascading style sheets, and PHP code.Of course, you could write this kind of page without using a technology like PHP, but the program is a little more sophis
12、ticated than it might look on the surface. The tip isnt actually embedded in the Web page at all, but it is stored in a completely separate file. The program integrates this separate file into the HTML page. The page owner can change the tip of the day very easily by editing the text file that conta
13、ins the tips.Youll start by reviewing your HTML skills. Soon enough, youre going to be writing programs that write Web pages, so you need to be very secure with your HTML coding. If you usually write all your Web pages with a plain-text editor, you should be fine. If you tend to rely on higher end t
14、ools like Microsoft FrontPage or Macromedia Dreamweaver, you should put those tools aside for a while and make sure you can write solid HTML by hand.IN THE REAL WORLDThe Tip of the day page illustrates one of the hottest concepts in Web programming today the content management system. This kind of s
15、tructure allows programmers to design the general layout of a Web site, but isolates the contents from the page design. The page owners (who might or might not know how to modify a Web page directly) can easily change a text file without risk of exposing the code that holds the site together. As you
16、 progress through this book, youll learn how to develop powerful content management systems, as well as a lot of other cool things.Programming on the Web ServerThe Internet is all about various computers communicating with each other. The prevailing model of the Internet is the notion of clients and
17、 servers. You can understand this better by imagining a drive-through restaurant. As you drive to the little speaker, a barely intelligible voice asks for your order. You ask for your cholesto-burger supreme, and the bored teenager packages your food. You drive up, exchange money for the combo meal,
18、 and drive away. Meanwhile, the teenager waits for another customer to appear. The Internet works much like this model. Large permanent computers called Web servers permanently host Web pages and other information. They are much like the drive-through restaurant. Users drive up to the Web server usi
19、ng a Web browser. The data is exchanged, and the user can read the information on the Web browser.Whats interesting about this model is the interaction doesnt have to stop there. Since the client (users) machine is a computer, it can be given instructions. Commonly, the JavaScript language is used t
20、o store special instructions in a Web page. These instructions (like the HTML code itself) dont mean anything on the server. Once the page gets to the client machine, the browser interprets the HTML code and any other JavaScript instructions. While much of the work is passed to the client, there are
21、 some disadvantages to this client-side approach. Programs designed to work inside a Web browser are usually greatly restricted in the kinds of things they can do. A client-side Web program usually cannot access the users printer or disk drives. This limitation alone prevents such programs from doin
22、g much of the most useful work of the Internet, such as database connectivity and user tracking.The server is also a computer, and its possible to write programs designed to operate on the server rather than the client. There are a number of advantages to this arrangement:Server-side programs run on
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 毕业设计 论文 外文 资料 译文

限制150内