Home Technique resource

resource



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.

This article is from the network, does not represent the position of this station. Please indicate the origin of reprint
TOP