- 1、本文档共18页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
The Service Layer!!! - MD ColdFusion Users Group服务层!!!- MD ColdFusion用户组.ppt
The Service Layer!!! Sharing Data Between ColdFusion Applications A Warning… We’re going to totally rethink how we build applications, it’s totally new, completely different and nothing like what we’re already doing…. What’s the Service Layer? Set of services usable as a foundation for applications. Provides services, but not application behavior. What’s the difference between the Model Layer? In traditional ColdFusion application design… nothing. The Evolution of Application Design… Shared Service Layer Benefits of Sharing Code and Behavior Reuse Easily achieved by shared code base… but no coordination or instance reuse. Simplifies Adding new features and modules Allows rapid “scripting” Quick tasks don’t need entire applications. Modules are Applications Core Features EQ Individual Applications Wikis, Blogs, Schedulers, … Scales well to large projects Developers can work on applications separately. Only worry about shared services changing Prevents Stale Service Code What Tools? ColdFusion’s Application.cfc Transparent Front Controller Supports “extension” already. ColdSpring Singleton Objects/ Services Nice Configuration Imports are awesome. Extension mechanism for transparent usage Model-Glue (Fusebox??) ColdSpring support built in. Provides MVC with little work. Scripting Often overkill to create an entire application to solve a simple request On unix you write “shell scripts” Why not CF Scripts? With this scripting is transparent. No extra leg work. Save your time for better things… This is Craziness… All conference applications are a single CF application. All share LIVE Models, Services, Login, … Lets See it! Disadvantages? Can’t scale to huge load if you’re not careful. Bad to depend too much on shared data. Encapsulate as much as possible. Facades around scopes. Must always remember thread safety… everywhere! More testing Subsystem changes may require testing every application all over again… It’s All Good. Saves tons of time. Allows really neat
您可能关注的文档
- 软件中间件技术UNIT12汇总.ppt
- adaptation major issue of discussion prospect of :讨论的主要问题,展望适应.ppt
- 成本管理第1章总论[企业成本管理].ppt
- 北师大版数学七年级上册《月球上有水么》 课件.ppt
- 高一数学课件(1.4.1正弦函数、余弦函数的图象).ppt
- 高绩效组织建设与团队管理技能[打造高绩效管理目标与团队].ppt
- 第二章环境监测的质量保证【质量精品】.ppt
- 英语:unit4《Sharing》课件-writing(新人教选修7).ppt
- (苏教版生物)2012届高三一轮《创新设计》课件:2-3单元综合提升.ppt
- 《闽、海西、闽文化》课件-苏文菁主讲.ppt
文档评论(0)