Application overview

Taking a real-life example is the best approach to explore and understand the concepts of a given framework context. The idea is not to show how to build the web application; instead, we will show the important components which are part of the application so that anyone can just pick one component and use it in another application. You can always find the complete working solution in the code downloaded for the book.

Let's jump into action. First, we will go through the brief about our application—blog. We will call it Blogpress. Please note that it will not be a full-fledged blogging application; instead, we will develop it with the following functionalities:

  • Landing page—shows a list of blogs with the links to each blog.
  • When a user clicks on any of the blogs, the system opens it in view mode along with all (approved) comments.
  • A user can add comments to the same screen.
  • Apart from this, a user can search for the blog with given search text, targeting the title or body of the blog.
  • There is a login feature. Two people can log into the application—a blog user and an admin:
    • Blog user can add/update/delete the blog. He can only edit the blogs he created.
    • Admin user can perform all possible operations a blog user can do plus manage (approve or reject) the comments given by the anonymous user.
  • When any user adds a comment, an email will be sent to the admin user to moderate it. Once the comment is approved, an email will be sent back to the user as a notification.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.19.56.45