TAILIEUCHUNG - cakephp application development phần 7

Các kịch bản sẽ hiển thị một danh sách có thể mô hình chúng tôi muốn xây dựng bộ điều khiển của chúng tôi và yêu cầu bạn nhập một số từ danh sách. Nhập 1 để chọn Comments. Mô hình có thể dựa trên cơ sở dữ liệu hiện tại của bạn: 1. Bình luận 2. Bài viết 3. Người dùng Nhập một số từ danh sách trên, hoặc đánh vào tên của bộ điều khiển khác. | Simpo PDF Merge and Split Unregistered Version - http Using Shells Get Further Faster 3. The script will now show a possible list of models we want to build our controllers for and ask you to enter a number from the list. Enter 1 to select Comments. Possible Models based on your current database 1. Comments 2. Posts 3. Users Enter a number from the list above or type in the name of another controller. 1 4. The script will now ask if we want to build our controller interactively. Enter n to skip interactive baking. Baking CommentsController Would you like to build your controller interactively y n y n 5. Then the bake console will ask if it should include some basic CRUD methods in our controllers. Enter y to go for it. Would you like to include some basic class methods index add view edit y n y y 6. After that the script will ask if we want the script to create methods for admin routing. Enter n as we don t want it now. Would you like to create the methods for admin routing y n y n 7. The script will then show the information we provided about the CommentsController and ask us to reconfirm if everything is alright. If it look alright enter y to proceed. The following controller will be created Controller Name Comments Look okay y n y y 182 Simpo PDF Merge and Split Unregistered Version - http Chapter 8 8. The bake console will then create the Commentscontroller based on our provided information and will show a confirmation message. Creating file C wamp www rapidcake app controllers Wrote C wamp www rapidcake app controllers 9. At last the bake script will ask if it should write down unit test files for this controller. Again we don t need this. Enter n to skip. Cake test suite not installed. Do you want to bake unit test files anyway y n y n 10. Enter the command cake bake controller again from the command prompt to start baking the PostsController. This time enter 2 to select the .

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.