TAILIEUCHUNG - Practical Web 2.0 Applications with PHP phần 5

người dùng có thể đăng ký và đăng nhập vào các ứng dụng web, đó là thời gian để cho phép họ tạo ra blog riêng của họ. Trong chương này, chúng tôi sẽ bắt đầu xây dựng các chức năng viết blog cho ứng dụng Web của chúng tôi. Chúng tôi sẽ thực hiện các công cụ mà sẽ cho phép mỗi người dùng để tạo | Simpo PDF Merge and Split Unregistered Version - http CHAPTER 7 Building the Blogging System N ow that users can register and log in to the web application it is time to allow them to create their own blogs. In this chapter we will begin to build the blogging functionality for our Web application. We will implement the tools that will permit each user to create and manage their own blog posts. In this chapter we will be adding the following functionality to our web application Enable users to create new blog posts. A blog post will consist of a title the date submitted and the content text or HTML relating to the post. We will implement the form and corresponding processing code that allows users to enter this content and that correctly filters submitted HTML code so JavaScript-based attacks cannot occur. This form will also be used for editing existing posts. Permit users to preview new posts. This simple workflow system will allow users to double-check a post before sending it live. When a user creates a new post they will have an option to either preview the post or send it live immediately. When previewing a post they will have the option to either send it live or to make further changes. Notify users of results. We will implement a system that notifies the user what has happened when they perform an action. For instance when they choose to publish one of their blog posts the notification system will flash a message on the screen confirming this action once it has happened. There are additional features we will be implementing later in this book such as tags images and web feeds in this chapter we will simply lay the groundwork for the blog. There will be some repetition of Chapter 3 in this chapter when we set up database tables and classes for modifying the database but I will keep it as brief as possible and point out the important differences. Because there is a lot of code to absorb in developing the blog management tools Chapter 8 .

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.