Sunday, April 21, 2013

Blog feature – Developer

Blog feature – Developer: Tran Anh Huy.
Introduction

According to findings in the investigation report, social network plays an essential role in young people’s life. Blog feature is developed in order to encourage children share their experience they learned in sex education lesson. As a result, it will help key stage 4 student overcome the embarrassment when they are talking about sex lessons.


Analysis

After referencing blog feature on existing software on mobile phone, I believe that these following actions are key functions in blog feature:
·         User can write blog articles.
·         User can view existing blog articles.
·         User can share blog articles on social network.
·         User can edit existing blog articles.
·         User can search existing blog articles.


Assumption
Assumption
Answer
1.       Who will be allowed to read blog articles when they are publishing on social network?
Blog articles will be published for groups of users who use SES software on social networking.
2.       How does software can keep blog articles in the secret if the cell phone is lost?
The software will require a password which is set by user to access private blog articles.
3.       Which social networking does the software allow users to share their blog articles?
Facebook and Twitter which have the largest number of users in the world are the best choices.
                               

Use case description & Sequence diagram
              Write blog article
Member
Tran Anh Huy.
Use-case Name
Write blog article.
Actors
Expert User, Non-expert-user.
Description
Actor wants to write a new blog article on mobile phone.
Requirements

Pre-conditions

Post-conditions
A new article is created.

Actor Actions
System Response
Basis flow
1. Actor clicks the Pen icon on the Blog screen.









3. Actor fills the suitable content of those fields information.

4. Actor clicks Post button.



2. System redirects to Create Blog screen and displays Create form with the following controls:
- ‘Title text field (required).
- ‘Date’ text field (Date will be updated automatically based on date on the mobile phone).
- ‘Content’ text field (required).
- ‘Reset’ button.

- ‘Post’ button.

- ‘Back’ button.





5. System validates the information which is filled by the user.

6. System inserts a new blog article into the database.

Alternative flow
- Actor clicks on Reset button.
- System cleans information in text field.
-Actor clicks Back button.
- System redirects to Blog screen.
Exceptions
- Actor let the Title or Content text field blank.

- System displays a pop-up: “Title and Content must NOT be blank!”
Sequence Diagram:


View blog article

Member
Tran Anh Huy
Use-case Name
View a blog article.
Actors
Expert User, Non-expert-user.
Description
Actor wants to view a specific blog article.
Requirements

Pre-conditions

Post-conditions
The selected blog article is presented on the screen.


Actor Actions
System Response
Basis flow
1. Actor clicks the View button on the Blog screen.







2. System gets information of the selected article from database by ID of article.
3. System displays information of this article on the View blog screen.
Alternative flow 2:
-Actor clicks Back button.
- System redirects to Blog screen.
Exception


Sequence Diagram: