Andthenyouwritethatoutandthenjustcan't get a littlebitforwhatevercodethatyou'retryingtodo, whetheryou'redoingfourstatementsorloopsoranythinglikethat.
Andsowhat I foundisbooksjustmakelifeprettyeasybecauseyoucanhaveallthecoderightnowwiththeexplanationrightbesideit, andyoucanseeeverythingthatyouneedtoseein a veryuserfriendlyfashion.
Beyondthat, in a book, it's veryeasytouse a highlighterorbeabletowritenotes.
It's easytofoldpagesorputfullpostitsintowmarkthedifferentareasthatyouneed, and I justfindbookstobeverysimple.
Soforme, if I'm gonnabecreatingsomekindoflittleapplication, I cangoinand I canputpostednotesinthebookinthedifferentareasforthethingsthat I need.
Solet's say I need I needtobeabletoanhtmlformweneedtobuild a connecttothedadtwodays, andthen I needtobeabletosend e mailsso I cangoinand I canputthepostitnotesandthosethosedifferentareas.
Andthenwhat?
I'm creatingtheform.
I justfliptotheformandthen I can I cancodeforthat.
Andthenwhen I needtoconnectittothedatabase, I conflictwherethedatabaseinformationisn't I coulddothat.
Andthenwhat?
I'm gonnadoan e mail.
I canfliptotheemailsection, and I justfindbookstobeanincrediblyusefultoolforlearninghowtocode.
I knowitseemsobviously, andagain I'm somebodythatreads a Kindle.
So I readmybooksnormallyon a Kendall.
But I'm tellingyouandCody, I think I thinkbooksarejustthebee's knees.
I wouldreallyargueyougoout.
Youspendthe 20 or $30 for a book, whetherit's a visualquickstartguide, whetherit's somethingelse, theotherthingthatyou'regoingtoneedisyou'regoingtoneedanenvironmenttorunthePHPcode.
Anddoyourememberthat?
PHPcodeis a serversidescriptinglanguage.
Sothatmeansyouneed a serverthatyoucaninstallPHPonorthatPHPisinstalledon.
Andyoualsoneedanhttpserveror a Webservercomponent.
Sowe'retalkingabout a pantryhere, soeitherneedApache.
Uh, I I s possibly, uhuhEngineex.
PossiblySoyouneedoneofthoseWebservers, andthenyouneedtohavePHPinstalls a PHPistheinterpreterforthecode.
SotheWebserverpresentsthewebsiteto a browserandthePHPinterpreterthatgoesinanditreadsthePHPcodeanddoeswhateverthePHPcodeneedsto D'oh.
Soifyouwanttobeabletosetup a serverenvironmentveryeasily, I wouldargueyoushouldthinkaboutdownloading, installingZampa X A M p p.
Sowhatthiswilldoisifyouhave a Windowscomputer, a LennoximputeOriMattcomputer.
Whyam I gonnaspend $5 a monthlevertypemilitaryspending $5 a monthandnothavetoworryaboutcertainthingscanbeveryvaluable.
Sothosearethedifferentwaysyoucandoit.
YoucaneitherinstallZampaontoyourcomputer, runit.
Thatwayyoucanbuildyourownwebserver.
Ifyouwanttodothat, I wouldargueyougowiththesheriffhostingoneofthings.
I willwarnyouisifyouinstallexampleontoyourowncomputeragainyourMacoryourWindowscomputer.
Doyourealizeyouareinstalling a Webserver?
Sothatdoeshavevulnerabilities.
Ifyou'reworriedabouthackingandworriedaboutsecurity, dobecarefulbecauseyou'reliterallyinstalling a webs, a fullyfunctionalWebserverontoyouryouryourdailydriver, yourclientoperatingsystem.
Youdon't havetobuyanyexpensivepackageinorderbeing a codeandPHPjustanythingthatwritestextandallowsyoutosaveinto a dotPHPforbat.
ThefinalthingthatyoumayneedisonFTPclient.
Soifyou'regoingtoberunningyourownserver, uh, orifyou'regoingtobeusing a sharedhostingplanlike I wouldrecommendinordertobe a uploadyourcodetothatserverortwothatsharedhostingplan, youwillhavean F.
You'llneedtouseanFTPclienteithersomethinglikefilesillaorsomethingbuiltintoyouroperatingsystemfor a secandbasicallywhatthatdoesthatthatallowsyoutotakethePHPfilefromyourcomputeranduploadit, moveittotheserver.