Images

Working With PHP - PART IV


Working With PHP
This Manual is for developing a web application starting fromScratch , we here discuss every thing from the Beginning and giving you a step by step knowledge , expecting you don’t know about the web development, how can you start web development, what is the requirements & tools, what is theeditors to be used etc.In spite of these we here give a step by step help sectionprint screensInterview Questionsand appendix to actually visualize you to grasp the Logic as well as presentation of actual web development.
This manual, teaches you all flavors of development phases starting from Learning the concept, explaining with examples, basic requirement for a software development, tools software’s, leaning materials and giving the idea of how a software development process going on with providing DFDflowchart E-R diagram, and suitable screen shots and of course project documentation.
And as soon as you follow this, at the last you must feel that the fear of the evil of development will go, and now you have capability to develop software.


STRUCTURE PATTERN
FLOW CHART
FLOW CHART: A flowchart is common type of chart, that represents an algorithm or process, showing the steps as boxes of various kinds, and their order by connecting these with arrows. Flowcharts are used in analyzing, designing, documenting or managing a process or program in various fields.
A flow chart can therefore be used to:
• Define and analyze processes;

• Build a step-by-step picture of the process for analysis, discussion, or communication;    and

• Define, standardize or find areas for improvement in a process
imgStart and End This symbol is used to indicate both the beginning and the end of your program.
imgGraphic/Text This symbol indicates individual content for screens, pages, or frames.
imgDecision This symbol is used when there is interactivity between your audience and the program. It is usually in the form of a yes/no question, with branching flow lines depending upon the answer.
System Flow Chart: A system flowchart explains how a system works using a diagram. The diagram shows the flow of data through a system.
In our language a system Flow chart is a presentation of all process in our page( web).Through which we can show what types of process is being used throughout the programmed. (it does not have any decision box ) and every process is separately shown in the flow chart.
img
Flow chart for individual process
1:- Flow chat for user process
img
2:- Flow chat for Edit process
img
3:- Flow chat for user process
img
Flow chart for Admin:
img

STRUCTURE PATTERN
DATA FLOW DIAGRAM (DFD) :
DATA FLOW DIAGRAM (DFD) : A data-flow diagram (DFD) is a graphical representation of the "flow" of data through an information system. It differs from the flowchart as it shows the data flow instead of the control flow of the program.
A data-flow diagram can also be used for the visualization of data processing (structured design).
Data flow diagrams are used to describe how the system transforms information. They define how information is processed and stored and identify how the information flows through the processes.
0 Level DFD:
img

Context Level DFD
1st Level DFD:
img

First Level Data Folw Diagram
2nd Level DFD:
img

STRUCTURE PATTERN
E-R DIAGRAM:
img

Database
Creating Database
Table structure for table admin's
FieldTypeNullDefault
idtinyint(6)YesNULL
uservarchar(25)YesNULL
passvarchar(255)YesNULL
namevarchar(25)YesNULL
createddatetimeYesNULL
updatedtimestampYesCURRENT_TIMESTAMP
Table structure for table categories
FieldTypeNullDefault
idtinyint(6)YesNULL
namevarchar(25)YesNULL
remarkstinytextYesNULL
statusenum('0', '1')YesNULL
Table structure for table questions
FieldTypeNullDefault
idint(11)YesNULL
category_idtinyint(6)YesNULL
questiontinytextYesNULL
option_avarchar(100)YesNULL
option_bvarchar(100)YesNULL
option_cvarchar(100)YesNULL
option_dvarchar(100)YesNULL
ansenum('a', 'b', 'c', 'd', 'e')YesNULL
statusenum('0', '1', '2')YesNULL
createddatetimeYesNULL
updatedtimestampYesCURRENT_TIMESTAMP
Table structure for table quizzes
FieldTypeNullDefault
idbigint(20)YesNULL
user_idint(11)YesNULL
category_idtinyint(6)YesNULL
totaltinyint(6)YesNULL
correcttinyint(6)YesNULL
wrongtinyint(6)YesNULL
skiptinyint(6)Yes0
createdtimestampYesCURRENT_TIMESTAMP
Table structure for table users
FieldTypeNullDefault
Idint(11)YesNULL
uservarchar(50)YesNULL
passvarchar(255)YesNULL
namevarchar(50)YesNULL
DobdateYesNULL
genderenum('m', 'f')YesNULL
qualificationvarchar(100)YesNULL
emailvarchar(50)YesNULL
phonevarchar(12)YesNULL
statusenum('0', '1', '2')YesNULL
createddatetimeYesNULL
updatedtimestampYesCURRENT_TIMESTAMP

Html View
Html view for the Quiz System:
Login Page:
img
User registration form (Creating an account):
img
User Update Information :
img
Home Page
img
Quiz System:
img
Report Page:
img
Admin Login :
img
Admin Home page:
img
Category Update page:
img
User privilege
img


0 comments: