??????????????????????μ??????????????????????????????????????????????????????????5?????????????????????????????黮???????????????????????????????е?????????????????????????
??????????????
???????ж??????????????????????
?????????????????????????????????????????鲼??????????????????????????????????????????????С????????????????Щ????????????????????????????????????????????????Щ??????????????(????)????????????????????Щ?????д?????????
??????????????????μ????????????????????????????
????????????????????????????-?????
??????????????????????????????????
???????????????CMS?????????????????????????????????????????(???б??????????????)????????????????
?????????????????黮??
????1??REST???????
????????????Sling???WEB????JCR???????????洢????
???????????
????URI??????
???????URI?????????JCR???????http://localhost:80/content/section/news.html??????JCR???/content/section/news???
????GET/POST/DELETE???????????????в???
??????????????????????????
???????????????
???????????????????????????????http://localhost:80/content/section/news.html????????
????http://localhost:80/content/section/news.json???????????JSON??????
????http://localhost:80/content/section/news.pdf????????PDF??
?????????????????
???????JS?????????????????????????
????2???????
????????????JS??Servlet??Domain Model??JCR??
???????JCR?????????????????Domain Model???????????????????????????ж??????????????????Asset?????????


 

????3????????
???????????????????飺Migration??Bundles???????Bundles????Sling?????OSGI???Felix??
????Migration????????????????????????????????CMS????????10?????????????д?????????????????????????????
????Bundles?????????????????????屨????塢???屨????????????????????????????????????????(????????????????????)?????????????
???????????????
????1??Migration?????
?????????????
??????Migration???????????TDD??????
???????????????????xml??????????JCR??????????????????????????????Jackrabbit????????????????????????????????????migration????????????д???xml??jcr????????????????????????????????????????????????????????????????ε?????????????????????????Pair??????????????
???????????
??????xml?????????????????????JCR???????????????????????Bundles??????????????д??????????????????漰???????????????????????????????????????????QA???????????????
??????????????У???????е??????б?????????в???????????????????????????????10????????????????????????(?????04????????????UI???????????)?????????????У????????????????????(09??10??????)???в????????????????UAT?????????????????QA??????????
????2??Bundles?????
?????????????
???????????????????????TDD???????????????;?????Jackrabbit?????????????????????????????????
??????servlet???????????TDD???????м??????(????????servlet?????????)????????ж?request??response????mock;??JS???????????????????selenium??????????и????
????