gsthatholdup
ourhousesbuildi
gsbridgesa
di
deedourselveswhe
weareo
stiltsThisisa
excelle
tdescriptio
oftheroleStrutsplaysi
developi
gwebapplicatio
sWhe
raisi
g
physicalstructuresco
structio
e
gi
eersusestrutstoprovidesupportforeachfloorofa
buildi
gLikewisesoftwaree
gi
eersuseStrutstosupporteachlayerofabusi
ess
applicatio
3Whatareapplicatio
frameworks
Aframeworkisareusablesemicompleteapplicatio
thatca
bespecializedtoproduce
customapplicatio
sJoh
so
Likepeoplesoftwareapplicatio
saremorealiketha
theyarediffere
tTheyru
o
thesamecomputersexpecti
putfromthesamedevices
outputtothesamedisplaysa
dsavedatatothesameharddisksDevelopersworki
g
o
co
ve
tio
aldesktopapplicatio
sareaccustomedtotoolkitsa
ddevelopme
t
e
viro
me
tsthatleveragethesame
essbetwee
applicatio
sApplicatio
frameworks
buildo
thiscommo
grou
dtoprovidedeveloperswithareusablestructurethatca
serveasthefou
datio
fortheirow
productsAframeworkprovidesdeveloperswithaset
ofbackbo
ecompo
e
tsthathavethefollowi
gcharacteristics
_Theyarek
ow
toworkwelli
otherapplicatio
s
_Theyarereadytousewiththe
extproject
_Theyca
alsobeusedbyotherteamsi
theorga
izatio
Frameworksaretheclassicbuildversusbuypropositio
Ifyoubuildityouwill
u
dersta
ditwhe
youaredo
ebuthowlo
gwillitbebeforeyouca
rollyourow
If
youbuyityouwillhavetoclimbthelear
i
gcurvea
dhowlo
gisthatgoi
gtotake
Thereis
orighta
swerherebutmostobserverswouldagreethatframeworkssuchas
Strutsprovideasig
ifica
tretur
o
i
vestme
tcomparedtostarti
gfromscratch
especiallyforlargerprojects
31Othertypesofframeworks
Theideaofaframeworkapplies
oto
lytoapplicatio
sbuttoapplicatio
compo
e
tsas
wellThroughoutthisbookwei
troduceothertypesofframeworksthatyouca
usewith
第3页
共19页
f郑州大学信息工程学院科技文献翻译
StrutsI
Actio
StrutsThesei
cludetheLuce
esearche
gi
etheScaffoldtoolkittheStrutsvalidator
a
dtheTilestaglibraryLikeapplicatio
frameworksthesetoolsprovidesemicomplete
versio
sofasubsystemthatca
bespecializedtoprovideacustomcompo
e
tSome
frameworkshavebee
li
kedtoaproprietarydevelopme
te
viro
me
tThisis
otthe
casewithStrutsora
yoftheotherframeworksshow
i
thisbookYouca
usea
y
developme
te
viro
me
twithStrutsVisualAgeforJavaJBuilderEclipseEmacsa
d
Textpadareallpopularchoicesamo
gStrutsdevelopersIfyouca
useitwithJavayou
ca
useitwithStruts
32E
abli
gtech
ologies
Applicatio
sdevelopedwithStrutsarebasedo
a
umberofe
abli
g
tech
ologiesThesecompo
e
tsare
otspecifictoStrutsa
du
derlieeveryJavaweb
applicatio
Areaso
thatdevelopersuseframeworkslikeStrutsistohidethe
r