100% found this document useful (1 vote)
230 views55 pages

Industrial Training: Khalsa Institute of Management & Technology Civil Lines, Ludhiana

ClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassified

Uploaded by

sonabeta07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
230 views55 pages

Industrial Training: Khalsa Institute of Management & Technology Civil Lines, Ludhiana

ClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassifiedClassified

Uploaded by

sonabeta07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 55

INDUSTRIAL TRAINING

REPORT
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR
Six Month Industrial Trainin
at
HAR!SH TE"HNOLOGIES# Ludhiana
$Fro% D&'&%(&r )*+, to Ma-)*+. /
Su(%itt&d To0 Su(%itt&d B-0
Ms.Jasmeet Kaur Surbhi Jindal
Asst Professor, KIMT 1178322
MA
!HALSA INSTITUTE OF MANAGEMENT 1 TE"HNOLOG2
"I3IL LINES# LUDHIANA
1
PREFA"E
Success doesnt mean the absence of failures; it means the attainment of
ultimate objectives. It means winning the war, not the battle4
5!"#I$ .%&IS
This 'ro(e)t has been )om'osed *ith the aim of )o+erin, a 'art of MA s-llabus as
'res)ribed b- P.$JA% T!/$IA& .$I0!1SIT2, JA&A$"/A1. A lot of effort has been
made to ma3e this 'ro(e)t re'ort interestin, and a learnin, e4'erien)e for the leader. The re'ort
has been e4'lained *ith the hel' of dia,rams and fi,ures. The runnin, 'ro(e)t has 'resented
throu,h a " re'resentation. The sub(e)t matter has been )om'iled in a sim'le, illustrati+e and
lu)id manner.
2
A"!NO6LEDGEMENT
I ta3e this o''ortunit- to 'resent m- +otes of than3s to all those ,uide'ost *ho reall- a)ted as
li,htnin, 'illars to enli,hten our *a- throu,hout this 'ro(e)t that has led to su))essful and
satisfa)tor- )om'letion of this stud-.
I am reall- ,rateful to Ms . Jasmeet Kaur
for their a)ti+e su''ort, *hole5hearted ,uidan)e, sin)ere )oo'eration and 'ains5ta3in,
in+ol+ement durin, the stud- and in )om'letin, the assi,nment of 're'arin, the said 'ro(e)t
*ithin the time sti'ulated.
&astl-, I am than3ful to trainin, )om'an-, *ho ha+e been instrumental in )reatin,
'ro'er, health- 6 )ondu)ti+e en+ironment for me but *ithout their hel', it *ould ha+e been
e4tremel- diffi)ult for me to 're'are the 'ro(e)t in a time bound frame*or3.
3
DE"LARATION
I hereb- )ertif- that the *or3, *hi)h is bein, 'resented in the 'ro(e)t entitled 7D7"OR
STUDIO8 %- Surbhi Jindal on )om'letion for a*ard of "e,ree of Masters of om'uter
A''li)ations at KIMT, under de'artment of Pun(ab Te)hni)al .ni+ersit-, Jalandhar. It is an
authenti) of m- o*n *or3.
Sinnatur&0
Surbhi Jindal
1178322
4
TABLE OF "ONTENTS
S4 No4 TOPI" P4 No4
1 om'an- Profile 7
1.1 0ision and Mission
1.2 9ualit- Poli)-
1.3 Address
2 Introdu)tion 8
2.1 S-no'sis
2.2 :b(e)ti+e of the Pro(e)t
2.3 About the Pro(e)t
3 S"&
3.1 ;easibilit- Stud- 11
3.1.1 !)onomi) ;easibilit-
3.1.2 Te)hni)al ;easibilit-
3.1.3 :'erational ;easibilit-
3.1.< Time ;easibilit-
3.2 1e=uirement S'e)ifi)ations 1<
3.2.1 :ut'ut
3.2.2 In'ut
3.2.3 A))ura)-
3.2.< Timeliness
3.3 S-stem Anal-sis 1>
3.< S-stem "esi,n 1?
3.<.1 Modular "es)ri'tion 18
3.<.2 .se )ase "ia,ram 1@
5
3.<.3 Tables "esi,n 2A
3.<.< !1 "ia,ram 27
3.<.> ;lo* hart 31
3.<.? #or3in, !n+ironment 32
3.<.7 Introdu)tion to Ph' 3<
3.<.8 M-S9& 3?
3.<.@ /TM& <A
3.<.1A SS <1
3.<.11 Ja+as)ri't <3
1 Sna'shots >A
2 odin, ?3
3 S)o'e ??
< on)lusion ?7
> %iblio,ra'h- ?8
6
"OMPAN2 PROFILE
/A1KS/ Te)hnolo,ies is a *ebsite and 'rodu)tion )om'an- based in &udhiana that 'ro+ides
ser+i)es of *ebsite desi,nin,, *ebsite 'romotion, *ebsite hostin,, ha)3in, ,)-ber se)urit-
Animations. The- are usin, the latest te)hnolo,- in *ebsite de+elo'ment.
3ision and Mission
7#e at /A1KS/ Te)hnolo,ies al*a-s tr- to ,i+e trans'aren)- for all *ho are atta)hed *ith us.
:ur 0ision is )lear. #e de+elo' su)h 'rodu)ts that sa+e -our time 6 mone- and enhan)e -our
life as *ell as enhan)in, the li+es of our em'lo-ees and our )ommunit-.
:ur mission is to a*are 'eo'le *ho la)3 IT 3no*led,e. S'read the IT related information
e+er-*here.8
Qualit- Poli'-
.ses )uttin, ed,e Te)hnolo,- throu,h a )ombination of 'ro)ess e4)ellen)e.
"eli+ers =ualit- frame*or3 b- hirin, ,loball- talented 'rofessionals.
!nsures in ha+in, items that are time bound and measurable.
%elie+es in )ustomer satisfa)tion and informed a)tion.
"esi,ns the )ourse and 'ro+ides trainin, as 'er the need of )ustomer.
Pro+ides ser+i)e deli+er- inno+ation at affordable )ost b- maintainin, its lo* o'eratin,
e4'enditure.
Addr&ss
S: 13A, Model To*n !4tension, &udhiana 1<1AA2 5 Pun(ab, India
Phon&
BC@1D @888858@<7A , @888858><1?
6&(sit&0
***.se)u,enius.)om
7
INTRODU"TION
Pro8&'t Titl&0 "E)or Studio
Pro8&'t L&ad&r0 Mr. /arsh Fandhi
Pro8&'t Duration0 ? months
Pro8&'t 'at&or-0 #eb Site
D9'or Studio 5. This is a furniture site *here an- user )an lo, into the site and 0ie* the
'rodu)ts of different )ate,ories li3e room dE)or,3it)hen dE)or,sofas , beds and others *hi)h are
added b- o*ner. In this s-stem, *e 'ro+ide the admin i.e. o*ner and the users to lo,in *ith an
I" and 'ass*ord, *here onl- the admin has the authorit- to add on an- 3ind of details in the site.
.sers )an +ie* 'rodu)ts, si,nu', bu- online 'rodu)ts and send mail to o*ner if he is not
satisfied *ith their 'rodu)t. So onl- that 'rodu)ts *ill be dis'la-ed that ha+e been added b- the
admin. Admin )an enable or disable the 'rodu)ts b- )han,in, 'rodu)t status.
This s-stem is 'ubli) i.e. it *ill be hosted on the internet. An-one ha+in, an a))ess to internet
)an ha+e the benefits of this site. There are different lo, in me)hanisms for admin as *ell as for
the users. Admin lo, in *ill ta3e him to the area *here all the mani'ulations )an be done at the
ba)3end. And the user lo,in *ill ta3e the user to the frontend onl-. This site is 'urel- based on
d-nami) fun)tionalit- i.e. nothin, on the site that is dis'la-ed is a stati) )ontent. An-thin, ne*
added at the ba)3end *ill automati)all- be dis'la-ed on the frontend as su)h. $o mani'ulations
need to be done in the desi,n e+er- time somethin, has been added at the ba)3. In this *a- I
ha+e tried to use the ri)hness of the P/P te)hnolo,- to the ma4imum.
8
OB:E"TI3E OF THE PRO:E"T
There are some ob(e)ti+es, *hi)h are en+isa,ed under the 'ro(e)tG
Us&r ;ri&ndlin&ss
The 'ro(e)t *ill ha+e user friendl- s)reens both for +isitors as *ell as admin of the
*ebsite. The s)reens desi,ned *ill ha+e +er- sim'le interfa)e for retrie+in,H addin,H
u'datin,H+ie*in, the 'rodu)ts detail.
"o%<ati(ilit-
The 'ro(e)t offers ,reat )om'atibilit- as it *ill be desi,ned *ith 'ro'er methodolo,-,
ne* tools and te)hnolo,- is used li3e 'h', A(a4 and M- S=l as "atabase.
S&'urit-
The 'ro(e)t is a se)ured s-stem, *hi)h *ill 'ro+ide )or'orate le+el se)urit-. :nl- the
admin *ill be able to a))ess )riti)al information. Also that *ill enable a user to +ie*H
editH add the information based on roles and 'ri+ile,e assi,ned to the user.
P&r;or%an'&
The 'erforman)e of this a''li)ation *ill be hi,h be)ause of its o'timiIe desi,n and
sound ar)hite)ture.
Ext&nsi(ilit-
This 'ro(e)t has a modular desi,n and *ould 'ro+ide the fle4ibilit- of addin, future
modules to the a''li)ation.
In;or%ati=&
The 'ro(e)t has all the ne)essar- details about the 'rodu)ts li3e ladies, ,ents, 'art- *ear
and hen)e 'ro+ide all the rele+ant information to end user. ;or e4am'le, sear)hin, of
9
'arti)ular 'rodu)t a))ordin, to )ate,or- *ise has done, and the information of 'rodu)t
*ill be distributin, to the users.
So;t>ar& and Hard>ar& Tools
S-st&% R&?uir&%&nts0 Minimum re)ommended 1esour)es )an be defined as5
Hard>ar&
J Pentium I0 on *ords, 2 F/I abo+e
J 2A F% /ard5"is3
J 1 F% 1AM

So;t>ar&
O<&ratin S-st&%0 #indo*s 7
Front End0 P/P
Ba'@ End0 S9& Ser+er
Do'u%&ntation0 Mi)rosoft #ord
Int&r;a'&0 F.I BFra'hi)al .ser Interfa)eD
10
So;t>ar& D&=&lo<%&nt Li;& "-'l&
FEASIBILIT2 STUD2
;easibilit- stud- is )arried out to test if the 'ro'osed s-stem is *orth bein, im'lemented. Fi+en
unlimited resour)es and infinite time, all 'ro(e)ts are feasible. .nfortunatel-, su)h situations are
not 'ossible in real time. /en)e it be)omes ne)essar- and 'rudent to e+aluate the feasibilit- of
the 'ro(e)t at earliest 'ossible time in order to a+oid unne)essar- *asta,e of time. ;easibilit-
stud- is the test of the s-stem 'ro'osed re,ardin, its *or3 abilit-, im'a)t or or,aniIationKs
abilit- to meet userKs needs and effe)ti+e use of resour)es. It is usuall- )arried out b- a small
,rou' of 'eo'le *ho are familiar *ith the information s-stem te)hni=uesL understand the 'art of
business that *ill be in+ol+ed and affe)ti+e b- the 'eo'le that are s3illed in anal-sis and desi,n.
A feasibilit- stud- is )ondu)ted to sele)t the best s-stem that meets the 'erforman)e
re=uirements. This entails an identifi)ation des)ri'tion, and emulation of )andidate s-stems and
sele)tion of best s-stem for the (ob.
The fa)tors that should be in)luded in the feasibilit- assessment )an be as follo*s.
"ost0 o'eratin,, maintenan)e, unit
A''ura'-0 fre=uen)-, si,nifi)an)e and )orre)tion of errors
R&lia(ilit-0 stabilit-, durabilit-
"a<a'it-0 a+era,e, lo* and 'ea3 loads
E"ONOMI" FEASIBILIT2
!)onomi) anal-sis is the most fre=uentl- used method for e+aluatin, the effe)ti+eness of a
)andidate s-stem. More )ommonl- 3no*n as )ostHbenefits and sa+in, that are e4'e)ted from a
)andidate s-stem and )om'are them *ith )ost. If benefits out*ei,h )osts, then the de)ision is
made to desi,n and im'lement the s-stem.
11
.suall- )ost benefits anal-sis is made to find the sa+in,s or e4tra o+erheads that *ould arise ne*
de+elo'ment. The te)hni=ue of )ost benefit anal-sis is often used as a basis for assessin,
e)onomi) feasibilit-. The fa)tors for e+aluation areG
5 ost of o'eration of e4istin, s-stem and 'ro'osed s-stem
5 ost of de+elo'ment of 'ro'osed s-stem
5 0alue of benefits of 'ro'osed s-stem.
TE"HNI"AL FEASIBILIT2
Te)hni)al feasibilit- )enters on e4istin, )om'uter s-stem and to *hat e4tent it )an su''ort the
'ro'osed addition. This in+ol+es finan)ial )onsideration to a))umulate te)hni)al enhan)ement.
!.,. if the )urrent o'eratin, s-stem is at 8AM )a'a)it- and arbitrar- )eilin, then runnin, another
a''li)ation )ould o+erload the s-stem or re=uire additional hard*are. If the bud,et is serious
)onstraint then the 'ro(e)t is not feasible.
OPERATIONAL FEASIBILIT2
The o'erational feasibilit- refers to the assessment of 'ro'osed s-stem in the manner that ho*
mu)h this s-stem is feasible for the end users. The s-stem should ha+e )a'abilities in it. That
'erson *ith a sim'le 3no*led,e )an also use the s-stem. :ur 'ro'osed s-stem is user5friendl-
interfa)e. The user (ust has to )li)3 on the )hoi)e *ith the hel' of menu. Therefore the s-stem is
feasible on o'erational front too.
:ur s-stem *ill im'ro+e the 'erforman)e and sa+e the time. %e)ause of the sim'le interfa)e user
)an easil- na+i,ate to the desired information 'a,e and hen)e )an ,et the desired information.
TIME FEASIBILIT2
Time feasibilit- determines *hether s-stem is im'lemented *ithin sti'ulated time. This 'ro(e)t
is )om'leted *ithin sti'ulated time frame.
12
REQUIREMENT SPE"IFI"ATIONS
1e=uirement anal-sis is a soft*are en,ineerin, tas3 that brid,es the ,a' bet*een s-stem le+el
soft*are anal-sis and soft*are desi,n.
1e=uirement anal-sis enables the s-stem en,ineer to s'e)if- soft*are fun)tion and 'erforman)e
indi)ate sH* interfa)e *ith other s-stem elements and establish )onstraints that soft*are must
meet. 1e=uirements anal-sis allo*s the soft*are en,ineer to refine the soft*are allo)ation and
build modules of the data, fun)tion and beha+ior domain that *ill be treated b- soft*are.
1e=uirement s'e)ifi)ation 'ro+ides the des)ri'tion to the de+elo'er and the )ustomer *ith the
mean to a))ess =ualit- rule.
There are four basi) elements in s-stem re=uirements anal-sisG
Out<ut
The main re=uirement of m- )ustomer *as a user friendl- online )loth 'rodu)ts
ad+ertisement 'ortal *here he )an 'ut his 'rodu)ts at one 'la)e alon, *ith ea)h 'rodu)t
des)ri'tion. So that )ustomer )an +ie* his added 'rodu)ts and bu- online. /e also *anted
that timel- notifi)ations should be sent to him *hen a 'arti)ular )ustomer 'ur)hases his
added 'rodu)ts
In<ut
:n)e *e 3no* the out'ut, *e )an easil- determine *hen the in'uts should be sometimes, it ma-
ha''en that the re=uired information ma- not be readil- a+ailable in the 'ro'er form. This ma-
be be)ause of the e4istin, terms *e are not 'ro'erl- desi,ned. In'ut to the 'ro(e)t is 'rodu)t
des)ri'tion so that ne)essar- out'ut in re=uired format is a)hie+ed. In 'rodu)t des)ri'tion
'rodu)t 'ri)e, =uantit-, ima,es et) needs to be added.
A''ura'-
If the data is not a))urate the out'ut *ill be also not be )orre)t. If 'rodu)t =uantit- is not a))urate
then user ma- not able to bu- the 'rodu)t.
Ti%&lin&ss
If data is not obtained in time, the entire s-stem is )onsidered to be a bad s-stem.
13
S2STEM ANAL2SIS
1. All user re=uirements *ere found feasible instead messa,e alerts on o*nerKs )ell 'hone
re=uirement be)ause 'rodu)t *as needed *ithin 1A da-s so this re=uirement )anKt be met in
re=uired time frame. It *ill be added in future.
2. Sear)hin, of Produ)t a))ordin, to 'ri)e and )olor *ill be added in future.
3. Produ)t listin, *ill be done
<. $e)essar- email notifi)ations *ill be sent on o*nerKs email id *hen user *ants to see latest
desi,n of 'rodu)ts.
S2STEM DESIGN
The desi,n 'hase fo)uses on the detailed im'lementation for the s-stem re)ommendation in the
feasibilit- stud-. The desi,n 'hase is a translation from a 'ro,ram5oriented5do)ument to user5
oriented5do)ument. The desi,n a)ti+it- be,ins *hen the re=uired do)ument for the soft*are to
be de+elo'ed is a+ailable. This ma- be S1S for the )om'lete s-stem, in )ase of *aterfall model
is bein, follo*ed or the re=uirement for the ne4t iteration, if the iterati+e enhan)ement is bein,
follo*ed or the re=uirement for the 'rotot-'e if the 'rotot-'in, is bein, follo*ed. "esi,n is
essentiall- the brid,e bet*een re=uirement s'e)ifi)ation and the final solution for satisf-in, the
re=uirements. The term 7desi,n8 is used in t*o *a-s, *hen used as a +erb it re'resents the
'ro)ess the desi,nin, *hile it re'resents the result of desi,n 'ro)ess. The ,oal of desi,n 'ro)ess
is to 'rodu)e some order, *hi)h )an be later used to build that s-stem. The 'rodu)ed model is
)alled the desi,n of the s-stem.
The desi,n of the s-stem is essentiall- a blue'rint or a 'lan for solution for the s-stem. /ere *e
)onsider a s-stem to be asset of )om'onents *hi)h )learl- defines the beha+ior that intera)ts
*ith ea)h other in a fi4ed define manner. A )om'onent of a s-stem )an be )onsidered as a
s-stem *ith its o*n )om'onents. In a soft*are s-stem a )om'onent is a soft*are module.
14
The desi,n 'ro)ess for soft*are s-stem has t*o le+els, To' le+el and lo,i)al desi,n. In to' le+el,
it is indi)ated that ho* the modules should be inte,rated. &o,i)al desi,n e4'ands the s-stem
desi,n to )ontain more detailed des)ri'tion of 'ro)essin, lo,i) and data stru)tures.
"esi,n is essentiall- the brid,e bet*een re=uirement s'e)ifi)ation and the final solution for
satisf-in, the re=uirements. The term 7desi,n8 is used in t*o *a-s, *hen used as a +erb it
re'resents the 'ro)ess the desi,nin, *hile it re'resents the result of desi,n 'ro)ess.
The ,oal of desi,n 'ro)ess is to 'rodu)e some order, *hi)h )an be later used to build that
s-stem. The 'rodu)ed model is )alled the desi,n of the s-stem. The desi,n of the s-stem is
essentiall- a blue'rint or a 'lan for solution for the s-stem. /ere *e )onsider a s-stem to be asset
of )om'onents *hi)h )learl- defines the beha+ior that intera)ts *ith ea)h other in a fi4ed define
manner. A )om'onent of a s-stem )an be )onsidered as a s-stem *ith its o*n )om'onents. In a
soft*are s-stem a )om'onent is a soft*are module.

MODULAR DES"RIPTION
Ad%inistrator0 The administrator is most 'o*erful 'art. All ri,hts are in hand of administrator.
Administrator )an add different )ate,ories, sub)ate,ories, Sub)ate,ories t-'e, Add Produ)ts,
Pur)hasin,, Issuin,. /e is the onl- one *ho )an addin, entries to the database. #ithout admin
'ermission, nothin, )an be )han,ed.
"at&ori&s0 The *hole 'i)ture re+ol+es around the )ate,ories. The )ate,ories in)ludes the
&adies, Fents, :thers and 'art- *ear. ;urther the )ate,ories are di+ided into sub )ate,ories li3e
different lo)ations from *here 'rodu)ts are 'ur)hased all su)h are the sub )ate,ories. To start
*ith an-thin, on the site, the user has to first sele)t some )ate,or- and the sele)tion of the
)ate,or- is )ontrolled b- the session. .ser ha+e to lo,in to 'ur)hase the 'rodu)ts.
Us&r0 .sers )an +ie* the 'rodu)ts, If heHshe is interested to 'ur)hase the 'rodu)t firstl- heHshe
need to lo,in in if heHshe alread- re,istered then start sho''in, other*ise heHshe ha+e to )reate
a))ount.
15
Ta(l& Stru'tur&
ADMIN LOGIN TABLE
"ATEGOR2 TABLE
16
SLIDER TABLE
It stores Produ)t "es)ri'tion li3e Produ)t ima,es, Produ)t "imension and )hoose 'rodu)t
)ate,or- *ise.
17
Ad%inistator
18
Add Slider
Pics
Add Slider
Pics
Add/Del
categories
Add/Del
categories
Manage
Website
Manage
Website
Active/Deactiv
eDe
Active/Deactiv
eDe
Edit/Del
De
Edit/Del
De
Admin
Admin
Manage
Products
Manage
Products
T&'hnolo- Us&d
Introdu'tion to Ph<
P/P is a 'o*erful lan,ua,e and the inter'reter, *hether in)luded in a *eb ser+er as a module or
e4e)uted as a se'arate FI binar-, is able to a))ess files, e4e)ute )ommands and o'en net*or3
)onne)tions on the ser+er. These 'ro'erties ma3e an-thin, run on a *eb ser+er inse)ure b-
default. P/P is desi,ned s'e)ifi)all- to be a more se)ure lan,ua,e for *ritin, FI 'ro,rams
than Perl or , and *ith )orre)t sele)tion of )om'ile5time and runtime )onfi,uration o'tions, and
'ro'er )odin, 'ra)ti)es, it )an ,i+e -ou e4a)tl- the )ombination of freedom and se)urit- -ou
need.
As there are man- different *a-s of utiliIin, P/P, there are man- )onfi,uration o'tions
)ontrollin, its beha+ior. A lar,e sele)tion of o'tions ,uarantees -ou )an use P/P for a lot of
'ur'oses, but it also means there are )ombinations of these o'tions and ser+er )onfi,urations that
result in an inse)ure setu'.
The )onfi,uration fle4ibilit- of P/P is e=uall- ri+aled b- the )ode fle4ibilit-. P/P )an be used
to build )om'lete ser+er a''li)ations, *ith all the 'o*er of a shell user, or it )an be used for
sim'le ser+er5side in)ludes *ith little ris3 in a ti,htl- )ontrolled en+ironment. /o* -ou build
that en+ironment, and ho* se)ure it is, is lar,el- u' to the P/P de+elo'er.
This )ha'ter starts *ith some ,eneral se)urit- ad+i)e, e4'lains the different )onfi,uration o'tion
)ombinations and the situations the- )an be safel- used, and des)ribes different )onsiderations in
)odin, for different le+els of se)urit-.
19
"o%%on us&s o; PHP0
P/P 'erforms s-stem fun)tions, i.e. from files on a s-stem it )an )reate, o'en, read,
*rite, and )lose them.
P/P )an handle forms, i.e. ,ather data from files, sa+e data to a file, thru email -ou )an
send data, return data to the user.
2ou add, delete, and modif- elements *ithin -our database throu,h P/P.
A))ess )oo3ies +ariables and set )oo3ies.
.sin, P/P, -ou )an restri)t users to a))ess some 'a,es of -our *ebsite.
20
M-SQL
Mi)rosoft S9& Ser+er is a full5featured relational database mana,ement s-stem B1"%MSD that
offers a +ariet- of administrati+e tools to ease the burdens of database de+elo'ment, maintenan)e
and administration. In this arti)le, *eNll )o+er si4 of the more fre=uentl- used toolsG !nter'rise
Mana,er, 9uer- Anal-Ier, S9& Profiler, Ser+i)e Mana,er, "ata Transformation Ser+i)es and %oo3s
:nline.
Ent&r<ris& Mana&r0 It is the main administrati+e )onsole for S9& Ser+er installations. It
'ro+ides -ou *ith a ,ra'hi)al Obirds5e-eO +ie* of all of the S9& Ser+er installations on -our
net*or3. 2ou )an 'erform hi,h5le+el administrati+e fun)tions that affe)t one or more ser+ers,
s)hedule )ommon maintenan)e tas3s or )reate and modif- the stru)ture of indi+idual databases.
Qu&r- Anal-A&r0 It offers a =ui)3 and dirt- method for 'erformin, =ueries a,ainst an- of -our
S9& Ser+er databases. ItNs a ,reat *a- to =ui)3l- 'ull information out of a database in res'onse
to a user re=uest, test =ueries before im'lementin, them in other a''li)ations, )reateHmodif-
stored 'ro)edures and e4e)ute administrati+e tas3s.
SQL Pro;il&r0 It 'ro+ides a *indo* into the inner *or3in,s of -our database. 2ou )an monitor
man- different e+ent t-'es and obser+e database 'erforman)e in real time. S9& Profiler allo*s
-ou to )a'ture and re'la- s-stem Otra)esO that lo, +arious a)ti+ities. ItNs a ,reat tool for
o'timiIin, databases *ith 'erforman)e issues or troubleshootin, 'arti)ular 'roblems.
S&r=i'& Mana&r0 It is used to )ontrol the MSS9&Ser+er Bthe main S9& Ser+er 'ro)essD,
MS"T BMi)rosoft "istributed Transa)tion oordinatorD and S9&Ser+erA,ent 'ro)esses. An
i)on for this ser+i)e normall- resides in the s-stem tra- of ma)hines runnin, S9& Ser+er. 2ou
)an use Ser+i)e Mana,er to start, sto' or 'ause an- one of these ser+i)es.
21
Data Trans;or%ation S&r=i'&s $DTS/0 'ro+ide an e4tremel- fle4ible method for im'ortin, and
e4'ortin, data bet*een a Mi)rosoft S9& Ser+er installation and a lar,e +ariet- of other formats.
The most )ommonl- used "TS a''li)ation is the OIm'ort and !4'ort "ataO *iIard found in the
S9& Ser+er 'ro,ram ,rou'.
Boo@s Onlin&0 is an often o+erloo3ed resour)e 'ro+ided *ith S9& Ser+er that )ontains
ans*ers to a +ariet- of administrati+e, de+elo'ment and installation issues. ItNs a ,reat resour)e to
)onsult before turnin, to the Internet or te)hni)al su''ort.
22
HTML
/TM& stands for H-'er Te4t Mar3u' Lan,ua,e
/TM& is not a 'ro,rammin, lan,ua,e, it is a %ar@u< lanua&
A mar3u' lan,ua,e is a set of %ar@u< tas
/TM& uses %ar@u< tas to des)ribe *eb 'a,es
HTML %ar@u< tas ar& usuall- 'all&d HTML tas
/TM& ta,s are 3e-*ords surrounded b- anl& (ra'@&ts li3e PhtmlQ
/TM& ta,s normall- 'o%& in <airs li3e PbQ and PHbQ
The first ta, in a 'air is the start ta# the se)ond ta, is the &nd ta
Start and end ta,s are also )alled o<&nin tas and 'losin tas.
HTML Do'u%&nts
aD /TM& do)uments d&s'ri(& >&( <a&s
bD /TM& do)uments 'ontain HTML tas and 'lain te4t
)D /TM& do)uments are also 'all&d >&( <a&s
The 'ur'ose of a *eb bro*ser Bli3e Internet !4'lorer or ;irefo4D is to read /TM& do)uments
and dis'la- them as *eb 'a,es. The bro*ser does not dis'la- the /TM& ta,s, but uses the ta,s
to inter'ret the )ontent of the 'a,e.
23
"SS
A ;&> >ords a(out "SS0
"SS stands for "as)adin, St-le Sheets
St-les define ho> to dis<la- /TM& elements
St-les are normall- stored in St-l& Sh&&ts
St-les *ere added to /TM& <.A to sol=& a <ro(l&%
Ext&rnal St-l& Sh&&ts )an sa+e -ou a lot of *or3
!4ternal St-le Sheets are stored in "SS ;il&s
Multi'le st-le definitions *ill 'as'ad& into one
"SS <ro=id&s %&ans to 'usto%iA& in(uilt HTML tas
/TM& ta,s *ere ori,inall- desi,ned to define the )ontent of a do)ument. The- *ere su''osed to
sa- OThis is a headerO, OThis is a 'ara,ra'hO, OThis is a tableO, b- usin, ta,s li3e Ph1Q, P'Q,
PtableQ, and so on. The la-out of the do)ument *as su''osed to be ta3en )are of b- the bro*ser,
*ithout usin, an- formattin, ta,s.
As the t*o ma(or bro*sers 5 $ets)a'e and Internet !4'lorer 5 )ontinued to add ne* /TM& ta,s
and attributes Bli3e the PfontQ ta, and the )olor attributeD to the ori,inal /TM& s'e)ifi)ation, it
be)ame more and more diffi)ult to )reate #eb sites *here the )ontent of /TM& do)uments *as
)learl- se'arated from the do)umentNs 'resentation la-out.
To sol+e this 'roblem, the #orld #ide #eb onsortium B#3D 5 the non'rofit, standard settin,
)onsortium, res'onsible for standardiIin, /TM& 5 )reated ST2&!S in addition to /TM& <.A.
Multi<l& St-l&s 6ill "as'ad& into On&
St-le sheets allo* st-le information to be s'e)ified in man- *a-s. St-les )an be s'e)ified inside
a sin,le /TM& element, inside the PheadQ element of an /TM& 'a,e, or in an e4ternal SS
file. !+en multi'le e4ternal st-le sheets )an be referen)ed inside a sin,le /TM& do)ument.
24
Fenerall- s'ea3in, *e )an sa- that all the st-les *ill O)as)adeO into a ne* O+irtualO st-le sheet
b- the follo*in, rules, *here number four has the hi,hest 'riorit-G
%ro*ser default
!4ternal st-le sheet
Internal st-le sheet Binside the PheadQ ta,D
Inline st-le Binside an /TM& elementD
So, an inline st-le Binside an /TM& elementD has the hi,hest 'riorit-, *hi)h means that it *ill
o+erride a st-le de)lared inside the PheadQ ta,, in an e4ternal st-le sheet, or in a bro*ser Ba
default +alueD.
25
:A3AS"RIPT
Ja+aS)ri't is used in millions of #eb 'a,es to im'ro+e the desi,n, +alidate forms, dete)t
bro*sers, )reate )oo3ies, and mu)h more. Ja+aS)ri't is the most 'o'ular s)ri'tin, lan,ua,e on
the internet, and *or3s in all ma(or bro*sers, su)h as Internet !4'lorer, ;irefo4, and :'era.
A ;&> >ords a(out :a=aS'ri<t
Ja+aS)ri't *as desi,ned to add intera)ti+it- to /TM& 'a,es
Ja+aS)ri't is a s)ri'tin, lan,ua,e
A s)ri'tin, lan,ua,e is a li,ht*ei,ht 'ro,rammin, lan,ua,e
Ja+aS)ri't is usuall- embedded dire)tl- into /TM& 'a,es
Ja+aS)ri't is an inter'reted lan,ua,e Bmeans that s)ri'ts e4e)ute *ithout 'reliminar-
)om'ilationD
!+er-one )an use Ja+aS)ri't *ithout 'ur)hasin, a li)ense
Pur<os& o; usin :a=aS'ri<t
:a=aS'ri<t i=&s HTML d&sin&rs a <rora%%in tool 5 /TM& authors are normall- not
'ro,rammers, but Ja+aS)ri't is a s)ri'tin, lan,ua,e *ith a +er- sim'le s-nta4R Almost an-one
)an 'ut small Osni''etsO of )ode into their /TM& 'a,es
:a=aS'ri<t 'an <ut d-na%i' t&xt into an HTML <a& 5 A Ja+aS)ri't statement li3e thisG
do)ument. *riteBOPh1QO C name C OPHh1QOD )an *rite a +ariable te4t into an /TM& 'a,e
:a=aS'ri<t 'an r&a't to &=&nts 5 A Ja+aS)ri't )an be set to e4e)ute *hen somethin, ha''ens,
li3e *hen a 'a,e has finished loadin, or *hen a user )li)3s on an /TM& element
:a=aS'ri<t 'an r&ad and >rit& HTML &l&%&nts 5 A Ja+aS)ri't )an read and )han,e the )ontent
of an /TM& element
:a=aS'ri<t 'an (& us&d to =alidat& data 5 A Ja+aS)ri't )an be used to +alidate form data before
it is submitted to a ser+er. This sa+es the ser+er from e4tra 'ro)essin,
:a=aS'ri<t 'an (& us&d to d&t&'t th& =isitorBs (ro>s&r 5 A Ja+aS)ri't )an be used to dete)t the
+isitorNs bro*ser, and 5 de'endin, on the bro*ser 5 load another 'a,e s'e)ifi)all- desi,ned for
that bro*ser
JavaScript can be used to create cookies - A JavaScrit ca! "e #sed to store a!d
retrieve Java $ec%!olog&'
26
MAINTENAN"E
Maintenan)e is a 'ro+ision, *hi)h in)ludes both the im'ro+ement of s-stem fun)tions and the
)orre)tion of faults *hi)h arise durin, the o'eratin, of s-stem. Maintenan)e a)ti+it- ma-
re=uire the )ontinuin, in+ol+ement of a lar,e 'ro'ortion of )om'uter resour)es. #hen *e
install the soft*are, )han)es arise in t*o *a-sG
As a 'art of normal runnin, s-stem *here errors are found, user ma- as3 for
im'ro+ement or e4ternal re=uirements )han,e.
As a result of s'e)ifi) in+esti,ation and re+ie* of s-stem 'erforman)e.
27
6&(sit&
Sna<shots
28
Admin Panel
29
30
31
;rontend5"S:1 ST."I:
Ho%& Pa&5 Slider, 1e)ent 'rodu)ts.
32
33
34
35
36
37
"usto%&r Pan&l5 Sin u<
38
"usto%&r Pan&l5 BILLING
39
FA"EBOO! LIN!
40
For Ord&r
41
"odin
INDEC4PHP
PR":T2P! html P.%&I O5HH#3HH"T" T/TM& 1.A TransitionalHH!$O
Ohtt'GHH***.*3.or,HT1H4html1H"T"H4html15transitional.dtdOQ
Phtml 4mlnsUOhtt'GHH***.*3.or,H1@@@H4htmlOQ
PheadQ
Pmeta htt'5e=ui+UOontent5T-'eO )ontentUOte4tHhtmlL )harsetUutf58O HQ
PtitleQ;urniture 6 interior lassifiedPHtitleQ
Plin3 hrefUO)ssHfront.)ssO relUOst-lesheetO t-'eUOte4tH)ssOQ
42
Pst-le t-'eUOte4tH)ssOQ
.ddsmoothmenu ul liGfirst5)hildV
ba)3,roundGW3)2e28L
o'a)it-G.?L
X
PHst-leQ
PHheadQ
Pbod-Q
Pdi+ idUOmainOQ

PY'h' in)lude Nin)ludesHheader.'h'NL YQ
PY'h' in)lude Nin)ludesHslider.'h'NL YQ
Pdi+ idUO)ontentOQ
PY'h' in)lude Nin)ludesHsidebar1.'h'NL YQ
PY'h' in)lude Nin)ludesH'rodu)t.'h'NL YQ
PY'h' in)lude Nin)ludesHsidebar2.'h'NL YQ
PY'h' in)lude Nin)ludesHdis)ount.'h'NL YQ
PY'h' in)lude Nin)ludesHsidebar3.'h'NL YQ
PHdi+Q
PY'h' in)lude Nin)ludesHfooter.'h'NL YQ
PHdi+Q
43
PY'h' in)lude Nin)ludesHs)roll.'h'NL YQ
PHbod-Q
PHhtmlQ
BATHROOM4PHP
Ps)ri't t-'eUOte4tH(a+as)ri'tO sr)UO(sHfres)o.(sOQPHs)ri'tQ
Plin3 relUOst-lesheetO t-'eUOte4tH)ssO hrefUO)ssHfres)o.)ssOHQ
Plin3 relUOst-lesheetO t-'eUOte4tH)ssO hrefUO)ssHst-le.)ssOHQ
Pdi+ )lassUO)ate,oriesOQ
Pdi+ )lassUO)ate,or-Zheadin,OQ%athrooms
PHdi+Q
Pdi+ idUN'a,eNQ
Pdi+ )lassUNdemonstrationsNQ
PtableQ
PtrQPY'h' [resultUm-s=lZ=uer-BOS!&!T \ ;1:M sub)ate,or- #/!1! 'arentZidU2
:1"!1 %2 id ASODL
*hileB[testU m-s=lZfet)hZarra-B[resultDD
VYQ
PtdQPa hrefUOadminHima,esHPY'h' e)ho [test]Nima,eN^L YQO )lassUNfres)oN data5fres)o5
,rou'UNe4am'leN
data5fres)o5)a'tionUOPY'h' e)ho [test]N)a'tionN^LYQO Q
Pim, sr)UOadminHima,esHPY'h' e)ho [test]Nima,eN^L YQO HQPHaQ
PY'h' e)ho [test]NtitleN^LYQPbr HQ
44
1s.PY'h' e)ho [test]N'ri)eN^LYQ
Pdi+ idUO)artOQ
Pa hrefUObathroomZ'ro)essZ)art.'h'YidUPY'h' e)ho [test]NidN^L YQ6titleUPY'h'
e)ho [test]NtitleN^LYQ6'ri)eUPY'h' e)ho [test]N'ri)eN^L YQ6im,UPY'h' e)ho [test]Nima,eN^LY
QOQPim, sr)UOima,esHAdd5To5art5I)on.'n,O *idthUO3AO hei,htUO2AO HQPHaQ
PHdi+Q
PHtdQ
PY'h' X YQ
PHtrQ
PHtableQ
PHdi+Q
PHdi+Q
PHdi+Q
"ART4PHP
PY'h'
sessionZstartBDL
YQ
PR":T2P! html P.%&I O5HH#3HH"T" T/TM& 1.A TransitionalHH!$O
Ohtt'GHH***.*3.or,HT1H4html1H"T"H4html15transitional.dtdOQ
Phtml 4mlnsUOhtt'GHH***.*3.or,H1@@@H4htmlOQ
45
PheadQ
Pmeta htt'5e=ui+UOontent5T-'eO )ontentUOte4tHhtmlL )harsetUutf58O HQ
PtitleQInterior "esi,nPHtitleQ
Plin3 hrefUO)ssH)art.)ssO relUOst-lesheetO t-'eUOte4tH)ssOQ
PHheadQ
Pbod-Q
Pdi+ idUOmainOQ
PY'h' in)lude Nin)ludesHheader.'h'NL YQ
PY'h' in)lude Nin)ludesHslider.'h'NL YQ
Pdi+ idUO)ontentOQ
Pdi+ )lassUOmenuZ)ontainerOQ
Pdi+ )lassUOmenuZheadin,OQSho''in, art
PHdi+Q
Pdi+ )lassUO)art5table5holderOQ
Pform a)tionUO'ro)essZ)art.'h'O methodUOP:STOQPbr HQ
Pa hrefUOinterior.'h'OQPim, sr)UOima,esHsdf.(',O hei,htUO2>OHQPHaQPbr HQPbr HQ
Ptable *idthUO?>AO borderUO1O )ell'addin,UO1AOQ
PtrQ
Pth *idthUO1>AOQProdu)t Ima,ePHthQ
Pth *idthUO1>O ali,nUOleftOQ$o.PHthQ
Pth *idthUO18AO ali,nUOleftOQProdu)t $amePHthQ
46
Pth *idthUO8AOQ.nit Pri)ePHthQ
Pth *idthUO>AOQSubtotalPHthQ
Pth *idthUO1?AOQ"eletePHthQ
PHtrQ
PY'h'
[tot U AL
[i U 1L
ifBissetB[ZS!SSI:$]N)artN^DD
V

forea)hB[ZS!SSI:$]N)artN^ as [idUQ[4D
V
YQ
Ptr ba)3,roundUOima,esHb,2.(',OQ
Ptd +ali,nUOto'O ali,nUO)enterO QPim, sr)UOadminHima,esHPY'h' e)ho
[4]Nima,eN^LYQO *idthUO1>AO hei,htUO8AOH QPHtdQ
Ptd ali,nUO)enterO +ali,nUOmiddleOQPY'h' e)ho [iLYQPHtdQ
Ptd ali,nUO)enterO +ali,nUOmiddleOQPY'h' e)ho [4]N)atN^LYQPHtdQ
Ptd ali,nUO)enterO +ali,nUOmiddleOQPY'h' e)ho [4]NrateN^LYQPHtdQ
Ptd ali,nUO)enterO +ali,nUOmiddleOQPY'h' e)ho [4]NrateN^L YQPHtdQ
47
Ptd ali,nUO)enterO +ali,nUOmiddleOQPa hrefUO'ro)essZ)art.'h'YiddUPY'h' e)ho
[idL YQOQPim, sr)U Oima,esHremo+e5from5)art5dar3.'n,O *idthUO?AO hei,htUO?AO
HQPHaQPHtdQ
PHtrQ
PY'h'
[tot U [tot C B[4]NrateN^DL
[iCCL
YQ
PY'h'
X
X
YQ
PHtableQ
P)enterQPbr HQ
Pin'ut t-'eUOsubmitO +alueUO 1e5al)ulate O Q
PH)enterQ
Pdi+ idUOtotalOQ
Ptable *idthUO2AAO borderUOAO )ells'a)in,UO1AO Q
PtrQ
Ptd *idthUO1AAO ali,nUOri,htOQPstron,QSubtotalPHstron,QPHtdQ
Ptd *idthUO1AAO ali,nUOleftOQ1s 5 PY'h' e)ho [totL YQPHtdQ
PHtrQ
48
PtrQ
Ptd ali,nUOri,htOQPstron, )lassUOlar,e5fOQF1A$" T:TA&PHstron,QPHtdQ
Ptd ali,nUOleftOQPstron, )lassUOlar,e5fOQ1s 5 PY'h' e)ho [totL Y
QPHstron,QPHtdQ
PHtrQ
PHtableQ

Pa hrefUO)he)3out.'h'OQPim, sr)UOima,esHhe)3out%utton.,ifO *idthUO17AO
st-leUOmar,in5leftG1>'4LO HQPHaQ
PHdi+Q
PHformQ
PHdi+Q
PHdi+Q

PHdi+Q
PY'h' in)lude Nin)ludesHfooter.'h'NL YQ
PHdi+Q
PY'h' in)lude Nin)ludesHs)roll.'h'NL YQ
PHbod-Q
PHhtmlQ

49
FUTURE S"OPE
The s-stem is hi,hl- fle4ible and an- modules *ill be added in future as 'er )ustomer
re=uirements.
50
Mobile +ersion *ill be de+elo'ed for the *ebsite so that it )an be a))essible on )ell
'hones also.
SMS alerts *ill be sent to o*ner *hen a user *ants a 'rodu)t in future.
"ON"LUSION
All feasible re=uirements of 'ro(e)t are met.
Thin,s that ha+e been a)hie+ed areG
51
o ustomer )an +ie* all the 'rodu)t details
o A )ustomer )an lo,in if he alread- ha+e re,istered and )an bu- the 'rodu)t
online.
o ustomer )an +ie* the 'rodu)ts and see the 'rodu)t details li3e ima,es and 'ri)e.
o :nl- those 'rodu)ts *ill be dis'la-ed on *ebsite that are allo*ed b- admin.
o :nl- admin )an edit 'rodu)ts details
o ustomer )an )onta)t admin about 'rodu)t related 'roblems.
52
BIBLIOGRAPGH2
"a+id Po*ers , Php tutorials, 2A12
Elias M. Awad ,System Analysis and Design, 1985
Ivan Bayross and Sharanam Shah, MySQL 5,2012
www.bl!w!b"!m#la"!s.$om
www."!m#la"!mons"!r.$om
www."h!m!%or!s".$om
www.%r!!w!bsi"!"!m#la"!s.$om
www."!m#la"!mo.$om
www.wi&.$om
www."!m#la"!world.$om
www.h"mldriv!.n!"
53
54

You might also like