文件名称:Agile Web Development With Rails, Fourth Edition.pdf
文件大小:7.54MB
文件格式:PDF
更新时间:2022-09-03 07:12:09
Agile Web Development Rails Fourth
WhenDaveaskedmetojoinasacoauthorofthethirdeditionofthisbook, Iwasthrilled.Afterall,itwasfromthefirstprintingofthefirsteditionof thisbookthatIhadlearnedRails.DaveandIalsohavemuchincommon. AlthoughheprefersEmacsandMacOSXandmypreferencestendtowardVim andUbuntu,webothsharealoveforthecommandlineandgettingourfin- gersdirtywithcode—startingwithtangibleexamplesbeforedivingintoheavy theory. Sincethetimethethirdeditionwaspublished(and,infact,sincethefirst,sec- ondandthirdeditions),muchhaschanged.Railsisintheprocessofbeingsig- nificantlyrefactored,mostlyinternally.Anumberoffeaturesthatwereusedin previousexampleshavebeeninitiallydeprecatedandsubsequentlyremoved. Newfeatureshavebeenadded,andmuchexperiencehasbeenobtainedas towhatthebestpracticesareforusingRails.RailsalsoworksonRuby1.9, thoughsomeoftheexampleshadtobemodifiedinorderforthistowork. Additionally,Railshasexplodedfrombeingapopularframeworktoanactive andvibrantecosystem,completewithmanypopularpluginsanddeepinte- grationintothirdpartytools.Intheprocess,Railshasbecomemainstream, attractingamorediversesetofdeveloperstotheframework. Thishasledtoareorganizationofthebook.ManynewcomerstoRailshave nothadthepleasureofbeingintroducedtoRuby,sothissectionhasbeen promotedfromanappendixtoachapterinthefirstsection.Wefollowthis sectionwithastep-by-stepwalkthroughofbuildingarealapplication,which hasbeenupdatedandstreamlinedtofocusoncurrentbestpractices.Butthe biggestchangeisinthefinalsection:asitisnolongerpracticaltocoverthe entireecosystemofRailsgivenbothitsbreadthandrateofchange,whatthis sectionisnowfocusedonistoprovideanoverallperspectiveofthelandscape, enablingyou,thereader,toknowwhattolookforandwheretofindplug- insandrelatedtoolstoaddresscommonneedsthatgofarbeyondwhatthe frameworkitselfcontains.