资源描述:
《[HTML5.Architecture(Early.Release)].Wesley.Hales.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、O’ReillyMedia,Inc.3/9/20122I♥TheMobileWebIt’sestimatedthattherewillbeonebillionHTML5-capablephonessoldin2013.ThegroundswellofsupportforHTML5overnativeishereandtoday’sdevelopersareflippingtheirprioritiestonowputmobiledevelopmentfirst—whichiswhythischaptercomesf
2、irst[note:itmayactuallybesecondtechnicallyspeaking].Whetheryou’reanHTML5,W3CStandardslovin’,OpenWebexpertorjustcomingfreshoffHTML1,thischapterwillequipyouwiththelatestcode,trends,andmarketresearchtoguideyouonmakingtherightdecisionforyournextmobilewebproject.Th
3、eMobileWebreferstobrowser-basedapplicationscreatedformobiledevices,suchassmartphonesortablets,whichare(atsomepoint)connectedwirelessly.Since2008,thewebhasshiftedtowardsfocusingonmobilebrowsers,whicharedeliveringanoverallbetterqualityoflifefortoday’swebdevelope
4、rsandusers.However,thisbetterqualityoflifeissometimesshortlivedafteryougoaroundtestingyournewmobilewebapponthemyriadofdevicesandbrowsers.Thereisahugequestionof“WhatissupportedandwhichHTML5featuresshouldIbuildmyappwith?”.Thischaptertriestoanswerthetoughquestion
5、sweareallfacedwithasmobilewebdevelopers.Thosequestionswhichwillhaveaprofoundimpactonyournewinitiativeforyearstocome.Sowhatareyouwaitingfor?Levelup!MobileFirstFirst,let’sgetourprioritiesstraight.Prioritizingmobiledesignanddevelopmentoverthedesktopwasoncelaughab
6、le.Injustafewyears,mobilefirsthastakenover,givingwebdevelopersabreathoffreshairintermsofHTML5basedAPIstowardshardwareaccessonmobiledevices.Apartfromtheobvious,therearemultiplereasonsforthinkingmobilefirst:•Developingsitesforconstraineddevicesandresolutionswill
7、forceyoutocreatemorefluid/flexiblecontent.1O’ReillyMedia,Inc.3/9/2012•Devicefeatures,suchasaccelerometerandgeolocationhardware,presentnewbusinessopportunitieswithtechnologieslikeAugmentedReality.•Overall,mobilefirstrequiresyoutothinkinacodequalitymindset.Today
8、,it’srequiredfordeveloperstoworryaboutthingslikebatterylifewhendoinghardwareacceleratedanimationswithCSS;Thisqualityofdevelopmentnotonlybringsbetterperformingapps,butitalsoencourag