TAILIEUCHUNG - Embedding Perl in HTML with Mason Chapter 1: Introduction

Tại trái tim của nó, Mason chỉ đơn giản là một cơ chế để nhúng vào mã Perl đồng bằng văn bản. Nó chỉ là một trong nhiều cơ chế như vậy mà tất cả làm nhiều hơn hoặc ít hơn cùng một điều. Tuy nhiên, Mason đại diện cho một tập hợp các lựa chọn về cách nhúng này nên được thực hiện, và nhiều người đã thấy rằng cách Mason hiện những điều rất đơn giản và cực kỳ thuận lợi cho nhận được công việc làm | Embedding Perl in HTML with Mason Chapter 1 Introduction At its heart Mason is simply a mechanism for embedding Perl code into plain text. It is only one of many such mechanisms that all do more or less the same thing. However Mason represents a particular set of choices about how this embedding should be done and many people have found that the way Mason does things is very straightforward and extremely conducive to getting jobs done. In this chapter we ll introduce you to some of Mason s key features and strengths show you a couple of examples of how to use Mason and talk about some alternatives to Mason. After reading this chapter you should have a fairly good idea of how Mason relates to its peers and what kinds of tasks you can accomplish with Mason. The most common application of Mason is in building large dynamic web sites and this book focuses mostly on web site building. Mason is broadly applicable to any situation in which fine control over document content is required however such as generating mail-merged form letters creating custom configuration file sets and even building dynamic GIF images based on varying input parameters. We intend to give you enough facility with Mason that after reading this book you can imagine Mason-based solutions to problems we haven t ever thought of. Before we get into the details of Mason and comparisons with its alternatives we ll just briefly mention some of its guiding design principles. Mason was designed to help you build organize and maintain large web sites or other groups of dynamically generated documents. It cooperates fully with Perl leveraging all the solutions and techniques that Perl developers have come to depend on and that have made Perl such a powerful and widespread tool. It encourages thinking about your site in structural terms rather than as a collection of procedural scripts or modules. All of these things are conducive to getting your job done effectively letting you concentrate on your goals while

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.