We'regonnaexplainthedifferentcomponentsthatmakesense, a frameworkandhowtheyinteractwitheachother.
First, let's startbyexplainingwhat's a frameonandwhenyoushoulduseoneframeorisbasicallyeachother's justsetoftoolsthathelpyoustartmakinganAPBon a veryquickwayandwithouthavingtobewitheverysingleleaderyourself.
Anexample.
Withthesecurityyoudon't use.
A friendmonkeywouldhavetomakesurethatyoupreventthesmallestrestbutrightinthenecessarycoatandunderstandingtheyunderstandingthedifferentaspectsofthatrisk.
Butwithouttheframework.
Yeah, butwith a framework.
Mostofthebasics, youknow, basicandwhenknownthreatswillbehandedoutofthebox, whichletyouletyoufocusontheactualstuffthatmatters, whichisrightintheactualapplicationcalledlargeforyourapplication, andyoudon't havetoreinventthewheel, andyoucanusemanyofftheapplicationthatdoesmanyofftheItwas a reallythatdoessomethingwehave.
No, I needtowriteyourselfnow.
Symphonyis a friend, butwhatshould I use?
SimpleSymphonyis a pastryfromoverthatismadeinmyintendbysensitiveloves.
It's beenaroundformorethan a decade, andit's beenusedbymanylargeorganizations, organizationsandcompanies, andtheystilldotothisdate.
Now, whyshouldyou?
Symphonyisuptoyou, buttherearesomethingsthat I loveaboutSymphonyNowthefirstthingwhichisthemostimportantthingforme, isthecommunitythat's themostlovablethingaboutopensourceinthesymphonycommunityisjustextremelyhugeinfullofairportpeople.
Thatwillhelpnotnotjustunderstandtheconcepts, butsometimeseven a dealwithyourownapplicationsknewaboutyourowncode.
Symphonyhas a slugworkspacewhereyouconjoinedandaskotheraskoranswerquestions.
Butthecommunityitselfisextremelyupfor a secondman, whichisthethingthat I carethemostabout.
Opensourceisnolongermaintainandabandonedpackages I hitwhen I startusingsometoolsorframeworkandthepurplejustdecidetomoveonwiththeirlivesandasknoonetotakecareofthatormaintainthatpackageanymore.
If I take a listisgonnagiveme a listofalltheallthefoldersthat I haveorinthefundsthat I hadinthisdirectory, andyougottonoticethat I havethedownloadsfolder, whichiswhat I'm tryingtoget.
So I didn't say I haveeverythingrighttoyou, butyou'regonnagetit's gonnainstallitforyougonnagetsomemessageslikeit's likegettingsomestuffandallthat, Butit's gonnaworkforyouthesameway.
Nowwehavethatstuff.
Nowwhatwehavetodotodonextisbeenstartcomposer.
Now, usuallywhat I doisjustgotoschooland I'm gonnadoitinStopcomposeonce, and I'm justgonnachoosewhateverlink.
So I'm gonnachoosethe 1st 1 because I knowit's itworksthatwaybecause I alreadydidthis, like, manytimesago.
Butso, as I said, youcanruneachapplicationseparately, and I probablythat's what I'm gonnado, because I don't wanttosetup a faretoonehostandletmeexplaintoyouwhat a virtualhostit's.
But I justcreatedbyClickonthat I'm gonnaget a bunchoffoldersNow, thisis a goodchancetointroduceyoutostarttalkingabouttheagitatorstructureoffthefourlayersofsymphony.
ButjustsothatyouknowitexistsandyouusedtowantNowhowdoweactuallysothisas I saidthisaroundSoif I goouttomymybrowseranddoslashMainisgoingtogetmethislikehere, Asyoucanseefornow, thisisreturning a Jasonthatsaysonecomesyournewcontrollerandthisisthepathwheresothisisjustsomedatayoucanhavewhateveryouwanttowakengoaheadandchange.
Welcome.
So, asyoucansee, I justchanged.
Nowif I gobacktomybrowserandextractedinthatSo, uh, thisismyobligation, that's whatmyrunning.
Soif I doslashmakewhichshouldtakemetothereisgonnagivemeanerror.
Let's concedeitsaysthatitit's notfun.
That's becausebydefault, whenyoudoslashpublic, it's lookingfortheindextogauge P five.
Now, if I dothatand I enter, I'm gonnagetthesamework, a messageaswell.
Sowhat I havetodois I haveeverythingthat I needtoaddtomyrouteneedstobeafterthis.
It's gonnapostwhateverrequeststhat I makeliketoyou.
Sothisiswheremyapplicationisliving a zatgunshowyourightnow, If I gobacktoasyoucansee 1 27 0.0 dotone, it's justtheit's justtheothersforlocalhorsesofinetypelocalhost, it's gonnameanthesamethingoftheportisthemostimportantthing.