The ba­sics

OpenSource For You - - DEVELOPERS LET'S TRY -

Be­fore div­ing into ap­pli­ca­tion de­sign, I will in­tro­duce you to VRPH LPSRUWDnW FRn­fiJuUDWLRn fiOHV WhDW dHfinH WhH DSSOLFDWLRn be­hav­iour.

Data­bases.yml: /HW’V dHfinH WhH dDWDEDVH IRU WhH SURMHFW (WhH user­name, pass­word and other ba­sic de­tails). kat­u­rally, you VhRuOd FRn­fiJuUH WhLV fiUVW EHIRUH VWDUWLnJ dHYHORSPHnW. )Lnd WhH de­tails in the Project > Source )iles > Con­fig folder. Here is FRnWHnW IURP D VDPSOH fiOH:

all: doc­trine: class: sfDoc­trineDatabase param: dsn: mysql:host=lo­cal­host;db­name=web­slips user­name: root pass­word:

HHUH, WhH DS1 LdHnWL­fiHV WhH dDWDEDVH HnJLnH (MySQ/, Ln this case), the host name, and the data­base name. The user­name and the pass­word also have to be given here.

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.