Đang chuẩn bị liên kết để tải về tài liệu:
Getting Started with Zend Framework By Rob Allen

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

This tutorial is intended to give a very basic introduction to using Zend Framework to write a basic database driven application. NOTE: This tutorial has been tested on versions 1.5 of Zend Framework. It stands a very good chance of working with later versions in the 1.5.x series, but will not work with versions prior to 1.5. | Getting Started with Zend Framework By Rob Allen WWW. akrabat. com Document Revision 1.5.0 Copyright 2006 2008 This tutorial is intended to give a very basic introduction to using Zend Framework to write a basic database driven application. NOTE This tutorial has been tested on versions 1.5 of Zend Framework. It stands a very good chance of working with later versions in the 1.5.x series but will not work with versions prior to 1.5. Model-View-Controller Architecture The traditional way to build a PHP application is to do something like the following php include common-libs.php include config.php mysql_connect hostname username password mysql_select_db database php include header.php h1 Home Page h1 php sql SELECT FROM news result mysql_query sql table php while row mysql_fetch_assoc result tr td php echo row date_created td td php echo row title td tr php table php include footer.php Over the lifetime of an application this type of application becomes un-maintainable as the client keeps requesting changes which are hacked into the code-base in various places. One method of improving the maintainability of the application is to separate out the code on the page into three distinct parts and usually separate files Model The model part of the application is the part that is concerned with the specifics of the data to be displayed. In the above example code it is the concept of news . Thus the model is generally concerned about the business logic part of the application and tends to load and save to databases. View The view consists of bits of the application that are concerned with the display to the user. Usually this is the HTML. Controller The controller ties together the specifics of the model and the view to ensure that the correct data is displayed on the page. Page 1 of 19 Zend Framework uses the Model-View-Controller MVC architecture. This is used to separate out the different parts of your application to make development and maintenance easier. Requirements

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.