PHP 5/MySQL Programming- P82

PHP 5/MySQL Programming- P82:computer programming has often been seen as a difficult and arcane skill. Programming languages are difficult and complicated, out of the typical person’s reach. However, the advent of the World Wide Web has changed that to some extent. It’s reasonably easy to build and post a Web page for the entire world to see. The language of the Web is reasonably simple, and numerous applications are available to assist in the preparation of static pages | Building a Three-Tiered Data Application This book begins by looking at HTML pages which are essentially static documents. It then reveals how to generate dynamic pages with the powerful PHP language. The last few chapters show how to use a database management system such as MySQL to build powerful data structures. This chapter ties together the PHP programming and data programming aspects to build a full-blown data-management system for the spy database. The system you learn can easily be expanded to any kind of data project you can think of including e-commerce applications. Specifically you learn how to Design a moderate-to-large data application Build a library of reusable data functions Optimize functions for use across data sets Include library files in your programs There isn t really much new PHP or MySQL code to learn in this chapter. The focus is on building a larger project with minimum effort. 384 PHP 5 MySQL Programming for the Absolute Beginner Introducing the SpyMaster Program The SpyMaster program is a suite of PHP programs that allows access to the spy database created in chapter 11 Data Normalization. While the database created in that chapter is flexible and powerful it is not easy to use unless you know SQL. Even if your users do understand SQL you don t want them to have direct control of a database because too many things can go wrong. You need to build some sort of front-end application to the database. In essence this system has three levels. The client computer handles communication with the user. The database server MySQL manages the data. The PHP program acts as interpreter between the client and database. PHP provides the bridge between the client s HTML language and the database s SQL language. This kind of arrangement is frequently called a three-tier architecture. As you examine the SpyMaster program throughout this chapter you learn some of the advantages of this particular approach. Viewing the Main Screen Start by looking at the .

Không thể tạo bản xem trước, hãy bấm tải xuống
15    22    2    02-04-2023
436    13    1    02-04-2023
4    22    1    02-04-2023
108    26    1    02-04-2023
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.