Blog Site II
Complete coding
displayBlogContents in the file blog_db_interface.php
error processing (in the catch clause) for both Register_parser.php and Blog_user.php
in the catch clause you need to return the user interface to a known state by serving up an html file such as user.html
Notes:
•The source files willserveup one of the four HTML contexts (login.html, admin.html, user.html, register.html). The expected HTML transitions are highlighted inred
oCorrect execution
oErrors: Grading will examine the processing of all errors from all API calls
▪All errors should result in an Exception being thrown
▪All catches of thrown errors should print the error message and then serve up the next appropriate HTML context
•Work that has not been assigned but needs to completed ishighlighted in yellowoThe biggest addition in functionality will be the display of blogs such that one can beselected for viewing and the subsequent display of the selected blog
▪New HTML Context: Display Blogs
•NOTE: This html context will be created by your PHP code
▪New HTML parsing code: Display Blogs
•NOTE: The parser will be a new file that you write
▪New (or altered) method to select a blog
▪New method inBlog_db_interface.php: to display blog’s content
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here