Application
InthelaterdevelopmentofOS2andWindowprograms,theconceptofresourceswasofficiallyintroduced.Forexample,Borland'sC++,Delphidividesthedialogboxintotwoparts:onepartisthelogicoftheprogram,andtheotherpartisthesize,position,fontandotherinformationofthedialogboxandthecontrolsonit.Thisinformationistheresource,whichistheconstantconstantintheprogram.Earlyresourcefilesaregenerallyembeddedintheprogram,wecanusesometoolstoreadtheseresourcesindllorexe.
Withtherapiddevelopmentofcomputertechnology,thetypesofresourcesarebecomingmoreandmoreabundant,suchaspictures,audios,videos,andsoon.Fromtheperspectiveofsoftwareinternationalization(Globalization/Localization),resourcescanbedividedintotwocategories:
Oneistheresourcesthatneedtobechangedaccordingtotheuser’slanguage,suchastheChineseversionandEnglishversionofthesoftware.Etc.;
Theothertypeisresourcesthatdonotneedtochangewiththelanguageusedbytheuser,suchasaudio,images,etc.
Fromtheperspectiveofthewayresourcesappear,resourcescanbedividedintothreecategories:
Thefirstcategoryisembeddedintheassembly(Assembliy);
Thesecondtypeisaseparatefilethatappearsonalocalstoragemedium(usuallyaharddisk);
Thethirdtypeisaseparatefilethatexistsonaremotestoragemedium,suchasanetworkharddisk.