TAILIEUCHUNG - Hướng dẫn sử dụng MySQL part 10

Các ngôn ngữ lập trình Perl đã đi từ một công cụ chính được sử dụng bởi các quản trị viên hệ thống Unix nền tảng phát triển sử dụng rộng rãi nhất cho World Wide Web. Perl không được thiết kế cho web, nhưng dễ sử dụng và khả năng xử lý văn bản mạnh mẽ đã làm cho nó một cách tự nhiên để phát triển ứng dụng Web. Tương tự như MySQL, với tốc độ dấu chân nhỏ, mình và thiết lập tính năng lớn, đã được rất hấp dẫn để phát triển web cần để phục. | DRAFT 10 4 01 Perl The Perl programming language has gone from a tool primary used by Unix systems administrators to the most widely used development platform for the World Wide Web. Perl was not designed for the web but its ease of use and powerful text handling abilities have made it a natural for Web application development. Similarly MySQL with its small footprint speed and large feature set has been very attractive to web developments that need to serve thousands of transactions a day. Therefore it was only a natural that a Perl interface to MySQL was developed that allowed for the best of both worlds. Note At the time of this writing Perl has standardized on the DBI suite of modules for all database interaction including MySQL. However many legacy systems still use an older interface to MySQL called . This module is not compatible with the DBI standard and is no longer actively developed. All new development should certainly use the standard DBI modules and any sites using should consider upgrading to DBI for any future development. DBI The recommended method for accessing MySQL databases from Perl is the DBD DBI interface. DBD DBI stands for DataBase Driver DataBase Interface. The name arises from the two-layer implementation of the interface. At the bottom is the database driver layer. Here modules exist for each type of database accessible from Perl. On top of these database dependent driver modules lies a database independent interface layer. This is the interface that you use to access the database. The advantage of this scheme is that the programmer only has to learn one API the database interface layer. Every time a new database comes along someone needs only to write a DBD module for it and it will be accessible to all DBD DBI programmers. As with all Perl modules you must use the DBI to get access usr bin perl use strict use warnings use DBI When running and MySQL Perl programs you should always include the use warnings statement .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.