Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Project Report
9th Semester
Online Classifieds
Certificate
This is to certify that Ms. Mitali Solanki (Exam Seat Number: 70) has satisfactorily completed
his/her project work entitled MusicWorld as a partial fulfilment of the requirements for 9th
The invaluable guidance and time rendered by our professor Mrs. Payal
Joshi was the inevitable part of the journey to success. I sincerely thank
her for the perseverance, patience and helpfulness she has shown through
the hard and easy time during project.
Our Professors and project co-coordinators Mr. Payal Joshi has been very
prudent to us throughout the project duration. She is the persons who has
given the direction to my work and shapes to our imagination. I express
my regards to her from the core of my heart.
I would also like to acknowledge all the friends and colleagues for help
and encouragement extended by them from time to time.
The most precious part of our life viz. parents and family members, who
have showered their love and support that can never be repaid in any
form but can be commemorated. Without them, this achievement could
not have been possible.
Sincerely,
Mitali A. Solanki
Abstract
Project Title:
MusicWorld
Abstract:
This website has the different categories for audio file downloading
like Hindi Songs, Instrumentals, Gazals and etc.
INDEX
Sr. No Topics Page No
1 Introduction
1
1.1 Project Profile
2 Proposed System
2.1 Scope
2.2 Objective
2.3 Constraints
3
2.3.1 H/W Constraints
2.3.2.S/W Constraints
2.4 Advantages
2.5 Disadvantages
3 Environment Specification
3.1 Hardware & Software Requirements
3.2 Development Description 10
3.3 Tools / Software Used
3.4 Website Standards as basic law
4 System Planning
4.1 Feasibility Study 26
4.2 Software Engineering Model
5 System Analysis
5.1 Detailed SRS
31
5.2 UML(Unified Modeling Language) Diagrams
5.3 Data Dictionary
6 Software Design
6.1 Database Design 80
6.2 Interface Design
7 Time Line Chart 105
8 Testing
8.1 Unit Testing
8.2 Navigation Testing 109
8.3 Functionality Testing
8.4 Environment Testing
9 Future Enhancement 112
10 Bibliography 114
MusicWorld 2010
1
Introduction
1
MusicWorld 2010
Introduction
Language PHP
Database MY SQL
Framework CakePHP
2
MusicWorld 2010
2
Proposed System
2.1 Scope
2.2 Objective
2.3 Constraints
2.3.1 H/W Constraints
2.3.2 S/W Constraints
2.4 Advantages
2.5 Disadvantages
3
MusicWorld 2010
Proposed System
2.1 Scope
This website has the different categories for audio file downloading
like Hindi Songs, Instrumentals, Gazals and etc.
4
MusicWorld 2010
2.2 Objective
• Searching facility is likely to be user friendly and it gives vast area for
searching; for example one can search from the Albums in
alphabetical order, Instrumentals, Gazal also.
• Here one can post free registration and one can send Feedback as well
as send the song or the album requests.
5
MusicWorld 2010
2.3 Constraints
- Bandwidth Constraints:
The main limitation is bandwidth, which means how quickly
information travels between the computer where your Web site is located
(your Web server), and the visitor's computer. Even though 56.6kbps
modems, and even 10Mbps cable modems are becoming more common,
many people on the Internet are still using 28.8kbps modems.
This means that the larger your Web pages are, the longer they take
to download, and the less likely a visitor is to stick around to see them.
One of the major tasks of a Web site designer is to provide maximum
content at a minimum file size. Graphics and animations are the big data-
hogs. A screen-sized photo in full color can easily consume 2 megabytes
of space, which would take a computer with a 28.8kbps modem about a
half-hour to download.
Of course there are a wide range of compression and color-
flattening techniques that Web designers can utilize to squeeze files down
to manageable sizes. Most designers aim for a maximum file size of
about 30 to 40 kilobytes, which means 15 to 20 seconds of waiting, using
a 28.8kbps modem.
6
MusicWorld 2010
- Hardware Constraints:
Screen size: Most Web page designers currently assume a viewer screen
size of at least 800x600 pixels. This is the standard size recommended for
AGRAPHA's designed Web pages; unless a particular application for a
proposed Web site requires and/or allows for a different screen size.
Color Palette: There are 216 colors that are considered "browser-safe",
meaning that they look the same on all browsers and across all platforms,
when viewed in 8-bit color depth. AGRAPHA recommend that "non-
dithered" (flat-colored) GIF graphics use the browser-safe palette to
ensure a consistent appearance in all browsers. "Dithered" (mixed-colors)
GIF graphics will look best using an "adaptive" palette.
7
MusicWorld 2010
Computers : PC
8
MusicWorld 2010
2.4 Advantages
2.5 Disadvantages
9
MusicWorld 2010
3
Environment Specification
10
MusicWorld 2010
Environment Specification
11
MusicWorld 2010
12
MusicWorld 2010
The model manages the behavior and data of the application domain,
responds to requests for information about its state (usually from the view), and
responds to instructions to change state (usually from the controller). In event-
driven systems, the model notifies observers (usually views) when the
information changes so that they can refreshed.
The model is not a database: the 'model' in MVC is both the data and the
business/domain logic needed to manipulate the data in the application. Many
applications use a persistent storage mechanism such as a database to store data.
MVC does not specifically mention the data access layer because it is
understood to be underneath or encapsulated by the model. Models are not data
access objects; however, in very simple apps that have little domain logic there
is no real distinction to be made. Active Record is an accepted design pattern
which merges domain logic and data access code - a model which knows how to
persist itself.
The view renders the model into a form suitable for interaction, typically
a user interface element. Multiple views can exist for a single model for
different purposes. A viewport typically has a one to one correspondence with a
display surface and knows how to render to it.
13
MusicWorld 2010
14
MusicWorld 2010
Language
PHP
15
MusicWorld 2010
PHP has also support for most of the web servers today. This
includes Apache, Microsoft Internet Information Server, Personal Web
Server, Netscape and iPlanet servers, Oreilly Website Pro server,
Caudium, Xitami, OmniHTTPd, and many others. So with PHP, you have
the freedom of choosing an operating system and a web server.
PHP also has support for talking to other services using protocols
such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (on
Windows) and countless others.
At last but not least, we have many other interesting extensions, the
mnoGoSearch search engine functions, the IRC Gateway functions, many
compression utilities (gzip, bz2), calendar conversion, translation...
16
MusicWorld 2010
Web Server
WAMP
Frame work
CakePHP
17
MusicWorld 2010
MVC can vary depending on the framework with which you’re working,
but generally it works as follows (see Figure):
18
MusicWorld 2010
1. The client sends a page request to the application, either by typing a URL
or by clicking a link of some kind. By convention, a typical URL is
usually structured like this:
http://{Domain}.com/{Application}/{Controller}/{Action}/{Parameter 1,
etc.}
2. The dispatcher script parses the URL structure and determines which
controller to execute. It also passes along any actions and parameters to
the controller.
3. The function in the controller may need to handle more data than just the
parameters forwarded by the dispatcher. It will send database requests to
the model script.
4. The model script determines how to interact with the database using the
requests submitted by the controller. It may run queries with the database
and do all sorts of handy data-sorting instructions.
5. Once the model has pulled any data from or sent data to the database, it
returns its output to the controller.
6. The controller processes the data and outputs to the view file.
7. The view adds any design or display data to the controller output and
sends its output to the client’s browser.
19
MusicWorld 2010
Database
MySQL
Open Source means that it is possible for anyone to use and modify
the software. Anybody can download the MySQL software from the
Internet and use it without paying anything. If you wish, you may study
the source code and change it to suit your needs. The MySQL software
20
MusicWorld 2010
uses the GPL (GNU General Public License), to define what you may and
may not do with the software in different situations.
If that is what you are looking for, you should give it a try. MySQL
Server also has a practical set of features developed in close cooperation
with our users.
21
MusicWorld 2010
1. The Environment
2. Established and Emerging Industry Practice
3. Organizational Values
4. Organizational Policies
5. Organizational Practice
6. Organizational Website Infrastructure
22
MusicWorld 2010
1. The Environment
The Law
The law encompasses legislation, directives or court judgments that
have the power to influence web activity. These typically comprise:
Technology
The rate of change in technology is a powerful influence on web
development. For example, think of a site that was released in 2003 but
has not been redeveloped since. If this site is not renewed soon, it is in
danger of being sidelined. This is because many of the web practices that
were current in 2003 have now been superseded, e.g. by Web Standards.
Politics
Most nations have long since recognized the opportunities
provided by the internet and are eager to ensure their citizens realize it’s
potential. Because of this, governments are investing millions in internet
awareness programmers and business schemes as a means of getting
people online. This can be of assistance to organizations that require extra
funding or support.
23
MusicWorld 2010
Economy
While the bubble years of the 90s are long gone, ecommerce
continues to grow as more and more people discover the convenience of
buying goods or services online. However, this expansion is a double-
edged sword because a strong market has the knock-on effect of making
staff more expensive to hire.
3. Organizational Values
24
MusicWorld 2010
4. Organizational Policies
• Security Policy
• Privacy Policy
• Corporate Identity Policy
• Ethics Policy
• Customer Care Policy
5. Organizational Practice
25
MusicWorld 2010
4
System Planning
26
MusicWorld 2010
System Planning
Operational Feasibility:
Technical Feasibility:
Financial Feasibility:
27
MusicWorld 2010
28
MusicWorld 2010
Design:
Code generation:
Testing:
Once code has been generated, program testing begins. The testing
process focuses on the logical internals of the software, ensuring that all
statements have been tested, and on the functional externals; that is,
conducting tests to uncover errors and ensure that defined input will
produce actual results that agree with required results.
Support:
5
System Analysis
31
MusicWorld 2010
System Analysis
5.1 System Requirement Specification
Project Type:
First, determine what kind of activities you want your customers to be
able to perform on your website. Do you want to set up an ecommerce
site where potential customers can learn about and purchase your
products? Or do you want a billboard site with information about your
company and where potential customers can go to purchase your
products? Or do you want your customers to be facilitated with online
advertising for their needs?
We need to create a website which gives online advertising facility.
Project Parts:
Activities that you can provide your customers may include:
• Registration
• Album, Actor and track management
• Searching a database
• File Uploading and Downloading
• Discussion forums
Program Type:
What kind of software can we create?
An internet web-site: This website runs on a web server and users will
access it using their internet browser.
Feature Requirements:
Identify the features that you want to add to your website to make it more
engaging and interactive. Some common features are:
• Forms - allows visitors to easily submit or request information
• Message Boards - visitors can leave or respond to messages
• Counters - track the number of times a page has been viewed
• Search - allow visitors to search for content
32
MusicWorld 2010
Size of Website:
How many pages need to be created / edited in this website?
It depends on future requirements.
Programming Language:
Which programming language(s) going to be taken to create this website?
CakePHP Framework
Database:
Will this project include a database?
Yes, it does include a database.
Details: MySQL
• IE 6.0
• IE 7.0
• IE 8.0 an onwards
• Firefox 2.0-2.x
• Firefox 3.5.2 and onwards
33
MusicWorld 2010
Planning a Project:
Some of basic guidelines that we have followed during Project planning
to complete our project needs.
• Determine the objective of your website.
• Define your audience.
• Determine what content you will need.
• Look at other sites for inspiration
• Develop a rough storyboard for your site to ensure that you have all
the components.
• Write up a detailed project description based on the information you
have gathered.
34
MusicWorld 2010
Introduction:
- The Meta-model:
- The Notation:
35
MusicWorld 2010
Introduction:
A use case diagram shows the relationships among actors and use
cases. An actor is a role of an object or objects outside the system that
interacts directly with it in a use case.
The actor has class-like properties. A use case is a unit of
functionality of the system or a class. One physical object may have
different roles and therefore be modeled by several actors. There are three
types of use case relationships:
- Communicates:
- Extends:
- Uses:
36
MusicWorld 2010
37
MusicWorld 2010
38
MusicWorld 2010
39
MusicWorld 2010
40
MusicWorld 2010
41
MusicWorld 2010
42
MusicWorld 2010
43
MusicWorld 2010
44
MusicWorld 2010
45
MusicWorld 2010
46
MusicWorld 2010
Introduction:
Activity diagrams represent the business and operational
workflows of a system. An Activity diagram is a dynamic diagram that
shows the activity and the event that causes the object to be in the
particular state. An Activity diagram talks more about these transitions
and activities causing the changes in the object states.
47
MusicWorld 2010
48
MusicWorld 2010
49
MusicWorld 2010
50
MusicWorld 2010
51
MusicWorld 2010
52
MusicWorld 2010
53
MusicWorld 2010
54
MusicWorld 2010
55
MusicWorld 2010
56
MusicWorld 2010
57
MusicWorld 2010
58
MusicWorld 2010
59
MusicWorld 2010
60
MusicWorld 2010
61
MusicWorld 2010
62
MusicWorld 2010
63
MusicWorld 2010
64
MusicWorld 2010
Introduction:
65
MusicWorld 2010
66
MusicWorld 2010
67
MusicWorld 2010
68
MusicWorld 2010
69
MusicWorld 2010
70
MusicWorld 2010
71
MusicWorld 2010
1. Class
2. Responsibility
3. Collaborator
Class
Responsibility Collaborator
72
MusicWorld 2010
The back of the CRC card is often used for a more detailed
description of the class. Along with any other notes captured during the
CRC session. Many times these include the actual attributes of the class.
Class
Responsibility
Collaborator
73
MusicWorld 2010
Class : Admin
Type : Interaction
Class Characteristics : Atomic ,Permanent ,Guarded
Responsibility Collaborations
Login
Backup
Database
Group
User
Roles
Grant Privileges
Audit
Logout
File Upload
Class : User
Type : Property
Class Characteristics: Sequential , Transient , Guarded
Responsibility Collaborations
Login
Registration Admin
Remove Temp File
Start Session
End Session
Manage Profile Admin
File Downloading
User Image Upload
Class : Login
Type : Property
Class Characteristics : Sequential ,Permanent
Responsibility Collaborations
Login
Password
Forgot Password Admin
74
MusicWorld 2010
Class : Tracks
Type : Intraction
Class Characteristics : Non Tangible, Atomic ,Sequential,
Permanent , Guarded
Responsibility Collaborations
Album create Album
Track file Upload Track
75
MusicWorld 2010
Name: actors
Alias: None
Where Used / How Used: Stores actors name
Content Description: id+actorname
Supplementary Information: Used to store the different actors
Name: albumactors
Alias: None
Where Used / How Used: Stores information of the actors related to
respective album
Content Description: Id+album_id+actor_id
Supplementary Information: Used to information of actor and album
Name: albums
Alias: None
Where Used / How Used: Stores album information
Content Description: id+albumname+albumtype+ albumyear+
albumimgpath+ albumlatest+ albumstartwith
Supplementary Information: Used to store information of different albums
Name: tracks
Alias: None
Where Used / How Used: Stores track information
Content Description: Id+album_id+trackname+trackduration+tracktype+
trackfilepath+tracklyrics+tracklatest+
downloadedtimes+addeddatetime+
lastdownloaddatetime+trackfile
Supplementary Information: Used to store information like track title, album
id,etc.
Name: artists
Alias: None
Where Used / How Used: Stores information of artist
Content Description: id+artistname
Supplementary Information: Used to store artist names
76
MusicWorld 2010
Name: comments
Alias: None
Where Used / How Used: Stores information comments related to forum
Content Description: id+forum_id+msg+username+dateentered+emailed
Supplementary Information: Used to store information like forum comments
related to forum
Name: feedbacks
Alias: None
Where Used / How Used: Stores information of feedbacks given by the visitors
of the websites
Content Description: id+username+feedbackmsg+feedbackdatetime
Supplementary Information: It consist information like feedback messages and
the respective date and time information
Name: forums
Alias: None
Where Used / How Used: Stores information of New forum topics
Content Description: id+topic+msg+username+dateentered
Supplementary Information: It consist information like forum topic and message
with the respective username,date and time
Name: gazals
Alias: None
Where Used / How Used: Stores information of banner
Content Description: id+gazaltitle+filepath+duration+downloadedtimes+
addeddatetime+lastdownloadeddatetime
Supplementary Information: It include information like instrumental name and
other respective information related to track file
Name: instrumentals
Alias: None
Where Used / How Used: Stores information of banner
Content Description: id+instrumentaltitle+filepath+duration+downloadedate
times+addeddatetimes+lastdoenloadeddatetime
Supplementary Information: It include information like instrumental name and
other respective information related to track file
77
MusicWorld 2010
Name: tellafriends
Alias: None
Where Used / How Used: Stores information of the visitors has share the
website information with their friends
Content Description: Id+username+sendingdate+fromemail+
fromname+toemail+tomail+msg
Supplementary Information: It includes information like name and mail id of
sender and receiver.
Name: trackartists
Alias: None
Where Used / How Used: Stores information of artists related to tracks
Content Description: Id+track_id+artist_id
Supplementary Information: Used to store information like trackid and artistid.
Name: trackcomments
Alias: None
Where Used / How Used: Stores information of comments given by user on
tracks
Content Description: Id+track_id+msg+username+enteredatetime
Supplementary Information: Used to store information like comments given by
the users , etc.
Name: userlogs
Alias: None
Where Used / How Used: Stores information of users log
Content Description: id+username+logdatetime
Supplementary Information: It consist information like username and lastlogin
time , etc.
Name: userrequests
Alias: None
Where Used / How Used: Stores information of users songs and album
requests
Content Description: Id+user_id+requesttype+request+requesteddatetime
Supplementary Information: It include information like request and type of
request by user and when, etc.
78
MusicWorld 2010
Name: users
Alias: None
Where Used / How Used: Stores information of different users
Content Description: id+username+fanme+lname+emailid+gender+
password+imgurl+imgblob
Supplementary Information: It include information like username and related
information like mailed, etc.
Name: wallpapers
Alias: None
Where Used / How Used: Stores information of wallpaper of the albums
Content Description: Id+album_id+imgurl+thumbimgurl+imgblob
Supplementary Information: Used to store information like wallpaper image path,
image file,albumid , etc.
79
MusicWorld 2010
6
Software Design
80
MusicWorld 2010
81
MusicWorld 2010
82
MusicWorld 2010
83
MusicWorld 2010
84
MusicWorld 2010
85
MusicWorld 2010
86
MusicWorld 2010
87
MusicWorld 2010
88
MusicWorld 2010
2. Registration
89
MusicWorld 2010
Figure 2.3 Registration Form with Error Messages (Prompt for providing correct
information to User)
Figure 2.4 Confirmation message when Registration procedure has been done
successfully.
90
MusicWorld 2010
3. Login Procedure
91
MusicWorld 2010
92
MusicWorld 2010
4. User Pages
93
MusicWorld 2010
94
MusicWorld 2010
95
MusicWorld 2010
96
MusicWorld 2010
97
MusicWorld 2010
98
MusicWorld 2010
6. Admin Pages
99
MusicWorld 2010
100
MusicWorld 2010
101
MusicWorld 2010
102
MusicWorld 2010
7. Other Page
103
MusicWorld 2010
104
MusicWorld 2010
7
Time Line Chart
105
MusicWorld 2010
106
MusicWorld 2010
107
MusicWorld 2010
108
MusicWorld 2010
8
Testing
109
MusicWorld 2010
110
MusicWorld 2010
111
MusicWorld 2010
9
Future Enhancement
112
MusicWorld 2010
Future Enhancement
113
MusicWorld 2010
10
Bibliography
114
MusicWorld 2010
Bibliography
BOOKS:
• Beginning cakephp from novice to professional
• CakePHP Manual
• MYSQL Admin
• Roger Pressman 5 th edition
• Design Pattern Application of UML
Websites:
• www.google.com
• http://cakephp.org
• http://book.cakephp.org
• http://nuts-and-bolts-of-cakephp.com
• http://cakebaker.42dh.com
• http://book.cakephp.org/view/4/Beginning-With-CakePHP
• www.mysql.com
115