Sunday, 24 December 2017

PHP Project Report

December 24, 2017 Posted by Knowledge Bite , , 8 comments

A project Report

In partial fulfilment for the award of the degree



DECLARATION

Place:
Date:
It is to be certified that the above statement made by the student is correct to the best of our knowledge and belief.
Signatures


ACKNOWLEDGEMENT
  
Abstract
Purpose of Project
.
Methodology used:
HTML
CSS
BOOTSTRAP
JAVASCRPIT
JQUERY
MYSQL
PHP

Table of contents
Chapter 1 Project Profile
1.1 Project definition
1.2 Scope and objective of project
Chapter 2 System Study and Problem formulation
2.1 Data Analysis
2.2 Proposed System
2.3 Advantages of proposed System
2.4 Feasibility study
2.4.1 Technical
2.4.2 Operational
2.4.3 Economical
2.5 System requirements
2.6 object oriented analysis
Chapter 3 Project Plan
3.1 Team Structure
3.2 Programming languages and development tools
3.3 Object oriented design
3.4 Reuse of existing software components
Chapter 4 structured analysis and structured design
4.1 data flow diagrams
4.2 Flowchart/algorithm used
Chapter 5 Detailed Designs
5.1 Design Strategy
5.1.1 Major modules
5.1.2 Sub modules
5.2 Module Design
5.3 Interface Design
Chapter 6 Testing and Implementation
6.1 System Testing
6.2 Test plan
6.2.1 Functional, performance and stress test
6.3 Summary of results obtained
Chapter 7 Project legacy
7.1 Current status of project
7.2 Remaining areas of concern
7.3 Technical and managerial lessons learnt
7.4 Future recommendations

Chapter 1-Project Profile

Project Definition: It is a hub for variety of website templates .We offer Web templates ,their installation, hosting and customization  all these services you can always get at This. If you're thirsty for knowledge, Thisblog provides you with the most recent web design news, info graphics, freebies, discounts & promos. Never doubt that a group of talented designers and developers who love doing beautiful things together can change the online world.

objective of project: The purpose of this document is to define the requirements of Online shopping system. This supplementary specification lists the requirements that are not readily captured in the use case model. Supplementary specification and the use case model capture a complete set of requirement of the system.
Scope: The supplementary specification applies to online shopping system. This specification defines the non-functional requirement of the system such as:
         Functionality:
Since it stand alone application, one or more user may use it at a time.
         Technology:
Front End: HTML5, Java Script ,PHP
Back End: Xampp
Database: MySql
         Reliability:
            The system is available during online time only .
         Performance:
            The performance depends on hardware specification


Chapter 2-System Study and Problem formulation
Data Analysis:
         Study of the Problem: We study that in few back years Template shopping was slightly complicated because of customer and supplier issues. It was insecure too for the users who register in particular websites.
Proposed System:
We divide the website into two parts-
          customer
          ADMINISTRATOR

customer role:
The customer’s can login to the System. He/She can view his/her product details and buy their product. The customer can just view the information whereas he/she could not make changes in the database.
And we divide Templates Into paid and free.
If the customer wants paid template then he/she simply can add to cart and simply can pay using her/his PayPal account.
If he wants free Template and can download it without any complications
CUSTOMER REGISTRATION: Customers are required to register in the website before they can do the shopping. The website also provides several features for the non0registerd user. Here they can choose their id and all the details regarding them are collected and a mail is sent to email address for confirmation.
ADMINISTRATOR ROLE:
The administrator plays a vital role in the Template shopping system. The administrator controls the entire database. The report of the product is generated by the administrator itself. The main role of the administrator is to safeguard the database and can add/delete the products from the database.
CART: Template cart module tries to simulate the working of a store where user can view each design and price of the product available. The items hey like can be added to the logical cart and can be removed if not require later. Billing and other payment related matters are handled here.
SEARCH: This facility is provided to both registered and unregistered user. User can search for the availability and type of products available on the website.
Advantages of proposed System:
         Choose products faster and easier at one place.
         Save time of travelling to the vendor/seller’s place.
         Alerts and real time reporting through Emails (to both seller as well as buyer).
         Reports generated can be saved for future references.
FEASIBILITY STUDY: Feasibility study is the process of determination of whether or not a project is worth doing. Feasibility studies are undertaken within tight time constraints and normally culminate in a written and oral feasibility report. I have taken two weeks in feasibility study with my co-developer. The contents and recommendations of this feasibility study helped us as a sound basis for deciding how to proceed the project. It helped in taking decisions such as which software to use, hardware combinations, etc.
        Technical Feasibility
        Economical Feasibility
         Operational Feasibility
         Technical Feasibility: Technical feasibility determines whether the work for the project can be done with the existing equipment, software technology and available personnel. Technical feasibility is concerned with specifying equipment and software that will satisfy the user requirement. This project is feasible on technical remarks also, as the proposed system is more beneficiary in terms of having a sound proof system with new technical components installed on the system. The proposed system can run on any machines supporting Windows and Internet services and works on the best software and hardware that had been used while designing the system so it would be feasible in all technical terms of feasibility.

         Economical Feasibility:  Economical feasibility determines whether there are sufficient benefits in creating to make the cost acceptable, or is the cost of the system too high. As this signifies cost-benefit analysis and savings. On the behalf of the cost-benefit analysis, the proposed system is feasible and is economical regarding its pre-assumed cost for making a system.
         Operational feasibility: Operational feasibility criteria measure the urgency of the problem (survey and study phases) or the acceptability of a solution (selection, acquisition and design phases). How do you measure operational feasibility? There are two aspects of operational feasibility to be considered:

UML (UNIFIED MODIFY LANGUAGE) The Unified Modelling Language (UML) is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, as well as for business modelling and other non-software systems. The UML represents a collection of best engineering practices that have proven successful in the modelling of large and complex systems. The UML is a very important part of developing objects oriented software and the software development process. The UML uses mostly graphical notations to express the design of software projects. Using the UML helps project teams communicate, explore potential designs, and validate the architectural design of the software.

SYSTEM REQUIREMENTS:
User Interfaces:
Each part of the user interface intends to be as user friendly as possible. The fonts and buttons used will be intended to be very fast and easy to load on web pages. The pages will be kept light in space so that it won’t take a long time for the page to load.

Hardware Interfaces :

 Processor: Pentium or Higher.
RAM : 312MB or Higher.

Software Interfaces:

Operating System: Unix, Linux, Mac, Windows etc..
 Development tool : PHP :-Hypertext Pre-processor, JavaScript, JQuery.
 Database: MySQL

Communication Interface:
The Website Order system shall send an e-mail confirmation to the customer that the items they ordered will be delivered to the shipping address along with user identification.


OBJECT ORIENTED ANALYSIS:
 Analysis emphasizes an investigation of the problem and requirements, rather than a solution. In Object Oriented Analysis, there is an emphases on finding and describing the objects or concepts in the problem domain.
The main difference between the object oriented and other forms of analysis is that in object oriented approach, requirements are organized around objects , which integrate both data and functions .They are modelled after real-world objects that the system interacts with . In traditional analysis methodologies, the two aspects-functions and data-are considered separately.

The primary tasks in object-oriented analysis(OOA) are:
         Identifying object
         Organizing the objects by creating objecrs model diagram
         Defining the internals of the objects , or objects attributes
         Defining the behaviour of the objects , i.e., objects actions
         Describing how the objects interact
         The common models used in OOA are use cases and objects models

                                      Chapter 3- Project plan
Team structure
Our team consists of four member holding a key role in the completion of the project. Our project comprise of Three portion. Shubham being responsible for the designing portion , jaspreet took up the responibilty of identifying the tables structure and data , And komal handles the admin panel and database and products in the database.
Programming languages and development tools:-
Programming languages :
         HTML(Hypertext Markup Language)
         CSS(Cascading Style sheet)
         Java script
         J Query
         Bootsrap
         PHP(Hypertext Preprocessor)

Development tools:-
         My SQL
         XAMPP
         Apache

Object oriented design:-
Object-oriented design (OOD) is the process of using an object-oriented methodology to design a computing system or application. This technique enables the implementation of a software solution based on the concepts of objects.
The implementation details generally include:
         Restructuring the class data (if necessary),
         Implementation of methods, i.e., internal data structures and algorithms,
         Implementation of control, and
         Implementation of associations.
Grady Booch has defined object-oriented design as “a method of design encompassing the process of object-oriented decomposition and a notation for depicting both logical and physical as well as static and dynamic models of the system under design”.
                        Chapter 4-Structured Analysis And Structured Design

Data flow diagrams
Definition:
A data flow diagram is a graphical technique that depicts information flow and thetransforms
that applied as data move from input to output. The Data flow diagramused to represent a system
or software at any level of abstraction. In fact DFDs may be portioned into levels.A level of
DFD, also called a context model, represents the entire software elementsas a single bubble with
input and output by arrow



Hardware person and other program



Information of the system to be modeled.


Data Item(s): Arrowhead indicates thedirection of flow

The main aim of providing Online Templates Project DFD Data Flow Diagrams is to explain how design phases important in SDLC process while developing any web application software project. The below Context Level (0th Level) Diagram for shopping cart system explains about Administrator and user’s data input stages , data output stages, data storage, UI Screen, reports: 
  The below login dataflow diagram provides login form names, user and admin login details, verification details, check user and login master information and finally User home page redirection details. 

Shopping cart admin features and data flow diagrams with first Level of DFD Diagram below: 
Administrator Data flow diagrams for the second level of managing orders from users selected products below:  
The below attached DFD diagram for the second level of processing for managing orders over admin functionality: 










The below added DFD for user features while selecting items, making payments and ordering new products:












The below diagram for new user registration in the web application, this explains how user data verification and validation performs.













FLOW CHART OF SKABELON








FLOW CHART FOR USER








FLOW CHART OF SELLERS








Chapter 5-Detailed design
Design Strategy:-
Major modules:-

The system after careful analysis has been identified to be presented with the following modules and roles.
The modules involved are:


         Administrator
          Moderators

 ADMINISTRATOR:-
 The administrator is the super user of this application. Only admin have access into this admin page. Admin may be the owner of the shop. The administrator has all the information about all the users and about all products.
Supplier:-

A supplier is considered as a staff who can manage orders for the time being. As a future update Supplier may give facility to add and manage his own products . Supplier can reduce the work load of admin. Now moderator has all the privilege an admin having except managing other deals Supplier. He/She can add products and users. He/She can also check the orders and edit his profile.

Users:-

Registration:-

 A new user will have to register in the system by providing essential details in order to view the products in the system. The admin must accept a new user by unblocking him.


Login:-
A user must login with his user name and password to the system after registration.










View Products :-

User can view the list of products based on their names after successful login. A detailed description of a particular product with product name, products details, product image, price can be viewed by users.

Search Product :-

 Users can search for a particular product in the list by name.


Add to cart:

The user can add the desired product into his cart by clicking add to cart option on the product.
User can view his cart by clicking on the cart button. All products added by cart can be viewed in the cart. User can remove an item from the cart by clicking remove.


Submit Cart: -

After confirming the items in the cart the user can submit the cart by providing a delivery address .On successful submitting the cart will become empty.

History:-

In the history the user will have a view of pending orders.

Edit Profile :-

The user can view and edit the profile.
Sub-modules:-

         Manage Moderators
         Manage Products
         Manage Users
         Manage Orders
         Manage products
         Manage users
         Manage orders


SCREENSHOT

Front page:

SIGN UP PAGE

LOGIN PAGE

PROFILE PAGE

CATEGIORES

SUBCATEGORIES

DETAIL PAGE

CART PAGE

PAYMENT PAGE



FOOTER PAGE

                                       ADMIN PGAE
ADMIN LOGIN

MANAGE USERS

MANAGE CATEGORIES

MANAGE TEMPLATES
  
MANAGE PAYMENT

DATABASE SCREENSHOTS

REGISTER TABLE


CATEGORIES TABLE
SUBCATEGORIES TABLE

TEMPLATES TABLE

CART TABLE

PAYMENT TABLE

ADMIN TABLE

 Chapter 6-Testing and Implementation
System testing and implementation
System testing checks the readiness and accuracy of the system to access update and retrieve data from the files. The proposed system should be free from error and has the error handing facility too. In this context, our system has being thoroughly tested and it provides an error free environment to the user.
A good system does not only reflect on the strong function, but also should have convenient, swift, high-efficient characteristics in using.

Future enhancement
This section gives the details of our future planning that is our future updating in our software which makes our system more reliable and  will trying to give an amazing aesthetic look. In context to this, in future shopping system will includes available items, Cancellation order, booking items. We will too look upon that shopping   system will be based on Internet framework, which will be developed by adopting the large-scale database SQL Server and advanced VISUAL BASIC technology, in order to offer exercise before reservation and organize objective, just, scientific, reasonable examination system for purpose of large scale.

 Unit Testing
In this type of testing we basically test each and every module of our project.  In a minor project, we test each and every module of it and testing every module of its, we then integrate the module for further testing to be done on later stages of testing.
Here, we have following modules on which we perform unit testing :
         Running each module separately to check for desired output.
 Integration Testing                                                       
In integration testing we basically combine the different module of the project that we have design and then done integration testing accordingly. Here, we usually combine the different module of our minor project that we have used during our project and check if they do give complete As well as desired result. And then done integration testing on the basis of different module that are combined together.
System Testing
In this type of testing we basically test the entire system of the project at once and then comes to the final decision of approving the project.After doing module testing and integration testing successfully the whole system of project should be tested so that any type of bugs or errors that have not been removed during the module and integration testing can be removed by testing the entire system of project.

Acceptance Testing
 The users of the system with the inputs of realistic data performed this testing. The only emphasis in this testing was on the functionality testing, as the users are not aware of the
Technical aspects of the system. The testing here was focused on the external behaviour of the system, the internal logic of the system was not emphasized. This testing was also done in controlled environment with logging of all errors.

 Testing Use in Project
In our project, we perform the above defined testing on each module and then step by step combine them to get the whole system as a single module.
Testing helps to find out all types of error which are not found till coding part. It makes the software free from errors and bugs.

 System implementation
After proper testing and validation, the question arises whether the system can be implemented or not. Implementation includes all those activities that take place to convert from the old system to the new. The new system may be totally new; replacing an existing module or automated system, or it may be major modification to an existing system. In either case proper implementation is essential to provide a reliable to provide a reliable system to meet organization requirements.
All planning has now, be completed and the transformation to a fully operational system can commence.
The first job will be writing, debugging documenting of all computer programs and their integration into a total system.

 Maintenance
Maintenance covers a wide range of  activities, including correcting coding and  design error, updating documentation  and  test data, and  upgrading  user support. 

                                    Chapter 7-Project legacy
Current status of project
At that time nobody would have even thought that the buying and selling online or say the online trading will become a trend in the world and India will also share a good proportion of this success. Now consumer mentality and shopping patterns is changing very fast. Earlier online shopping was a simple medium for shopping with fewer options. The users can just place an order and pay cash on delivery. But, now with the changing face of online market this field has been renovated to a high extent and hence mesmerized many customers. Today, the online shopping has become a trend in India and the reason behind the adoption of this technique lies in the attractive online websites, user friendly interface, bulky online stores with new fashion, easy payment methods and cash-on-delivery, no bound on quantity & quality, one can choose the items based on size, color, price, etc. Despite being a developing country, India has shown a commendable increase in the ecommerce industry in the last couple of years, thereby hitting the market with a boom. Though the Indian online market is far behind the US and the UK, it has been growing at a fast page. Further, the addition of discounts, coupons, offers, referral systems, 30days return guarantee, 1-7 days delivery time, etc. to the online shopping and the E-Market have added new flavors to the industry.

                                          Bibliography

We most unreservedly express our indebtness to authors whose books, we have consulted during the preparation of this report. To complete the project we have consulted the following  websites:

         www.Templatemonster.com
         www.jqueryrain.com