Vous êtes sur la page 1sur 16

Project Document: Checklist for PHP trainees Version: 1.1

General comments:

- Form should be validated for compulsory fields

- Paging and sorting is compulsory whenever you list some items, maybe it is contact details, product details, etc

- Proper error message should be shown, if some condition fails. Eg., First Name is empty. Please fill in the First Name

- Thanks Message should be shown in separate page after finishing the registration, submitting the contact form, etc

- File should be validated for file size and file type. Should not allow file size greater than 2MB

- If image is uploaded, then please check the dimension of image (width and height) and resize it to thumb and large image proportionally

- Should not scale the images . eg., If you specify height="89" width="90", then actual height should be "89" width should be "90". If not, then image will be scaled and take more time to load, if client upload large size image. Please always resize the image proportionally and load it in the site.

1. Contact us form

- Form should be validated for compulsory fields. Both Javascript and PHP validation

- Zip code should allow only numbers

- Email format should be valid

- Max char should be set for all form fields

- Show error message next to form fields, (eg., Please enter your Name

- Form fields should retain the values, if there are any error after submission

- Captcha should be included in the form to avoid spam messages

- After passing all criteria, user should be redirected to a separate thanks page

- Send email notification to admin with all details submitted in the form

- send email notification to user saying, thanks for your message. we will get back to you asap

- Save the contact details of the users in database

- list out all contacts by date

)

2. Single File Upload:

- Form should be validated for compulsory field. Both Javascript and PHP validation

- Form should not allow file size greater than 2 MB

-

Form should only allow PDF, word doc, XL, gif, jpeg, gif

-

After passing all criteria, user should be redirected to a separate thanks page

-

File should be stored in some folder

-

File type, size, filename, date uploaded should be saved in database

-

List out the files by file type, date uploaded

3.

Multiple File Upload:

-

Form should be validated for compulsory field. Both Javascript and PHP validation

-

Form should not allow file size greater than 2 MB

-

Form should only allow PDF, word doc, XL, gif, jpeg, gif

-

Option to add multiple files

-

By default, show only 3 files to upload. At end, please have link saying “Add one more file”. After clicking this, another file option should be created

-

Next to each file field, then should be link to delete. So, if user don’t want to upload new file, then there should option to remove that file field from upload list

-

After passing all criteria, user should be redirected to a separate thanks page

-

File should be stored in some folder

-

File type, size, filename, date uploaded should be saved in database

-

List out the files by file type, date uploaded

4.

Search

-

Lets use contact search

-

Search form should have only one filed Search: <textbox>

-

Form should be validated for compulsory field. Both Javascript and PHP validation

-

Allow users to search by “First name, last name, email, phone number, city”

-

So, if someone enter city name in search, then the search should return all contacts in city. Same for all search “First name, last name, email, phone number”

-

List users by alphabets (A, B, C

Z)

-

Sorting: Sort contacts by “First name, last name, email, phone number, date added”

-

Paging: List 10 contacts per page. show pagination at top and bottom of contact list

5.

Add/edit/delete Employee contact details

Name, email, city, state, country, zip, photo, phone number, profile, designation, department, experience,

qualification, expert in, date of joining, salary, age

Form should be validated for compulsory field. Both Javascript and PHP validation

Profile should not allow file size greater than 2 MB

Profile should only allow PDF, word doc

Zip should allow only digits

After validation, store the data in database

List all contact details

Allow users to search by “First name, last name, email, phone number, city”

So, if someone enter city name in search, then the search should return all contacts in city. Same for all search ““Name, email, city, state, country, zip, photo, phone number, profile, designation, department, experience, qualification, expert in, date of joining, salary, age,”

List users by alphabets (A, B, C

Sorting: Sort contacts by “Name, email, city, state, country, zip, photo, phone number, profile, designation, department, experience, qualification, expert in, date of joining, salary, age, date added”

Paging: List 10 contacts per page. show pagination at top and bottom of contact list

Export/Import contacts from CSV

Delete single or multiple contacts at a time

Please get confirmation before deleting the contact

Provide Option to Edit “Name, email, city, state, country, zip, photo, phone number, profile, designation,

Z)

department, experience, qualification, expert in, date of joining, salary, age”

6. Gallery:

- Registration: Register with Name, username, password and email. Please follow above conditions for form validations

- Sign in to upload photos.

- Upload photos

o

Add/edit/delete Album. Album should have Album title, description

o

Add/edit/delete photos into Album. Photos should have title, description and tags(comma separated)

o

Show total count of Albums and photos within album

o

show the hit list of Albums and photos

o

Move photos from one album to other album

- Display more recently added Albums

- List albums by alphabets (A, B, C

- Sorting: Sort albums by “New to old, old to new, mostly viewed, date added”

- Paging: List 10 albums per page. Show pagination at top and bottom of albums list. Same paging applies to photos

- Provide option to download photos and track the total downloads for each photos

- Admin should have option to view

Z), authors, tags

o

Total users registered by date

o

Total albums and photos added by date

o

Total Page views of photos

o

Total downloads of photos

o

Export/Import users from CSV

o

Export/Import photos from CSV

7. Groups:

1.

Registration: Register with Name, username, password and email

2. sign in to create groups. Each users can create multiple groups

3. Create groups

Step 1:

Category (select from dropdown)

Group Name

Group description

Step2: Add members to groups

List out the registered members in the site and send invitation to join the group

As soon as you create group and sent invitation to other members, each member will receive a message saying,

---------------------------------------

Hi <membername>,

You are invited to join this <group name>, <Group description>.

Please <accept> or <Deny>

Thanks,

<Group creator name>

---------------------------------------

4. Post messages in group

- Members joined the group can post messages and other group members can either reply to the message or create new message

<Group name>

<Group descriptions>

<Date created>

<Group discussion1>

<Group discussion2>

<Group discussion

>

<NEW MESSAGE BUTTON>

When someone click <Group discussion1>, they can see all messages between group members with <reply> button below. Only group members can reply to the thread. If someone prefers to Join the group, then please click <Join this group> which will notify group creator. He can then accept or deny the request.

(Please refer http://groups.google.co.in/group/home-shopping-and-income-more-money-?hl=en&lnk= to understand how the message should be displayed)

5. Members should have option to

- View all groups created by them

- View total number of members joined the group

- View total number of members denied the invitation

- view total number of messages posted in a group

Admin should option to view

- View total number groups created by users by date

- View total number of members joined the group

- view total number of messages posted in a group

8. Access Control Level Management

Log in Screen

(Admin/staff/customer will use below login. If logged in as admin, then show all privileges, if logged in as staff/customers, then hide some privileges)

Email ID

Password

There are three roles:

some privileges) Email ID Password There are three roles: Admin – Can create staff & customers
some privileges) Email ID Password There are three roles: Admin – Can create staff & customers

Admin – Can create staff & customers

Customer – can login and create any files (allow only image, doc, PDF). Customers will be associated by their email ID and will only see their files

Staff – will be able to see the assigned customers and their files

Admin will assign which staffs will be able to access which customer files.

Only available to Admin

Screen: user

User creation screen

Username

First name

Last name

Role

[drop down box, customer/staff]

Password

Save/cancel button

User Edit screen

Delete/Hold

Username

First name

Last name

Role

[drop down box, customer/staff/admin]

Password

Save/cancel button

Access screen

Username [dropdown box]

Access to

Customer 1

or • Customer 2

or • Customer 3

or •

Customer 4

or •

Customer 5

or • Customer 6 or •

Save/cancel button

Screen: Customer

New/Edit

New screen

Customer Name:

Contact Name:

Email Address:

Address:

Suburb:

City:

Phone:

Mobile:

Fax:

Save/cancel button

Edit screen

Customer [drop down box] when the customer is chosen then show all the details, plus these two:

● Delete

● Hold

Customer Name

Contact Name

Email Address

Address

Suburb

City

Phone

Mobile:

Fax

Save/cancel button

Customer Login:

1. Add/edit/delete files

2. List all files by date and type

Staff login

1. List all customers

2. List all files by date and type (assigned to this staff)

Reports Screen – Only available to admin

1.

List all the customers and their files

2. List all staffs and customers assigned to staff

9. Media Sharing Application

Library Administration

● Uploader

Creating File Credits

● Managing Keywords

● Editing File Information

● Creating Presentations

Adding/Removing/Editing/deleting Presentation Files

● Sending Single Presentations

● Viewing presentations

● Presentation Report

Library Administration:

users can upload and manage files, create and manage credits, assign metadata and view reports through Library administration. The following sections make up Library administration:

1. Library administration page: section for editing file information. It is composed of three panels:

o

The search panel

o

The search results file list.

o

The file detail panel.

2. Uploader: mechanism for uploading files. Will have option to browse for files and upload them individually.

3. Pending queue: staging area for newly uploaded files. Assign credits, credit groups and other metadata in the pending queue.

4. Credits: metadata tagging system for organizing files. You can create and manage credits and credit groups and set credits preferences from the credits page.

tags that make files easier to find.

Uploader:

1. Launch the uploader and click the Use Simple Upload tab.

2. Click Choose File to browse your computer files.

3. Select your files and click Submit.

4. Do not close the uploader window until you you receive the Upload Complete confirmation message.

5. Close the upload window and select Library > Pending Queue from the main navigation to assign metadataand finish saving files.

Creating File Credits:

Credits are customizable tags that let you organize and search Library content. Using creditsthat make the most sense for your organization improves efficiency and productivity. Credits are organized under credit type.

Example:

Credit type: Director

Credit name: John Doe

Managing Keywords:

Creating a keyword

2.

Enter your keyword in the Add new keyword bar.

3. Click Add.

Deleting a keyword

1. Select Library > Keywords.

2. Click the minus (-) sign next to a keyword.

3. Click OK to remove the keyword.

Editing a keyword

1. Select Library > Keywords.

2. Click on a keyword.

3. Make your edits.

4. Click Save.

Editing File Information:

1. Select Library > Administration.

2. Search or Browsefor the file you want to edit.

3. Click on the file name or thumbnail in the search results to display the file detail.

4. Click Edit in the file detail panel.

5. Modify file information (e.g. file ttle, metadata, thumbnail image, etc.).

6. Click Save.

Deleting a file

1. Select Library > Administration.

2. Search or Browsefor the file you want to edit.

3. Click on the minus sign (-) next to the file.

4. Click OK in the confirmation window.

Sending Single Presentations:

Sending Single Presentations: Sending single video reels or media galleries through MediaShare application delivers an
Sending Single Presentations: Sending single video reels or media galleries through MediaShare application delivers an

Sending single video reels or media galleries through MediaShare application delivers an email to your recipients inviting them to view your company’s work.

Click Presentation List to open the presentation list.

1.

Click on a presentation location tab

2.

Click on a presentation name. The presentation list closes.

3.

Click Send in the presentation panel to open the send form.

4.

Enter the email addresses of your recipients (*required). (can be a dropdown of users already created by admin)

5.

Enter a subject (*required).

6.

Write a personal message for your recipient(s).

7.

Choose your presentation preferences (see below).

8.

Click Submit.

MediaShare application delivers an email to your recipients inviting them to view your presentation.

Presentation preferences

Send email as HTML:

Allow download

Set presentation to expire: Allows you to set a time limit on how long the presentation link will remain active.

Viewing presentations:

Users who receive the presentation in email can view and download the presentation. They should login with their username/password to either view or download presentation

Presentation Report:

- Reports on presentation views, file views & downloads per user

- Click Export List to generate and automatically download a .csv file that contains report data.

Creating Presentations:

.csv file that contains report data. Creating Presentations: There are two presentation types: ​ video reels
.csv file that contains report data. Creating Presentations: There are two presentation types: ​ video reels

There are two presentation types: video reels, which automatically play back video files sequentially; and media galleries, which accommodate all file types (e.g. PDF, JPG, XLS, etc.).

1. Click New in the presentations panel header.

2. Enter a presentation name (*required).

4.

Choose a presentation type.

5. Click Save.

6. You can add filesto a presentation after it has been created.

Adding/Removing/Editing/deleting Presentation Files:

Adding/Removing/Editing/deleting Presentation Files: 1. Click Presentations to open the presentation list overlay
Adding/Removing/Editing/deleting Presentation Files: 1. Click Presentations to open the presentation list overlay

1. Click Presentations to open the presentation list overlay window

2. Click on Presentations tab to access your presentation.

3. Click on a presentation name to select it. The presentations overlay window closes.

4. there will be option to add/edit/delete files to presentations

10. Show twitter feeds

- Consider five profile urls from twitter site, for sample http://twitter.com/person1, http://twitter.com/person2and so on urls in database.

You have to store these profiles

- Consider these profile urls have 5 post/feeds/tweets each.

Person1 - 5 post/feeds/tweets.

Person2 - 5 post/feeds/tweets.

- You have to display all these 10 post/feeds/tweets in a single page order by date-wise.

Newsletter Subscription Management:

Scope: Collect name and email of customers so that site owners can send newsletters/ecards to registered customers in future.

Frontend:

1. Customers should have option to subscribe for newsletter by entering their Name and Email

2. Name and Email are compulsory field

3. As soon as customer signup for newsletter, an confirmation email should be sent to customer’s email with confirmation link

4. Customers should click the confirmation link to added to the newsletter subscription

5. As soon as Customers click the confirmation link, an notification email should be sent to admin saying “New user subscribed for newsletter” as well as notification email should be sent to customer regarding the subscription

Backend:

1. Admin login with admin name/password

2. Admin can view, “Total number of subscribers” subscribed by date

3. List subscribers by alphabets (A, B, C

4. Sorting: Sort subscribers by “Name, email, date added”

5. Paging: List 10 subscribers per page. Show pagination at top and bottom of subscribers list.

6. Provide option to download subscribers

Z)

a. Export/Import subscribers from CSV