RIA 服务在创建数据访问和逻辑层时如何帮助我?
在 这个答案他说我可以在创建我的三层解决方案时使用RIA服务,它如何帮助我以及它如何节省我的时间,因为当我在msdn上检查它时,我发现RIA与银光,当我创建一个普通的 ASP.NET 网站时。
in this answer he said that i can use RIA services while creating my 3 tiers solution, how it can help me and how it can save me time, because when i checked it on msdn i found that RIA is something tied to silver light, while i am creating a normal asp.net website.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
区分RIA和RIA服务
从最广泛的意义上讲,RIA(通常是富互联网应用程序)是在Silverlight、Dojo等技术中实现的,在浏览器(第 1 层)
它们通常需要从某个地方获取数据,因此您在某个服务器上编写服务。 (第 2 级)。这实际上可能会进入某个数据库或其他数据源(第 3 层)。
RIA 服务使构建第 2 层(服务层)逻辑的任务变得更加容易。您在那里构建的服务类型原则上可以被许多客户端重用,但实际上您往往会发现某些服务模式特别适合 RIA UI,因此 RIA 服务旨在满足这些需求。
Distringuish between RIA and RIA Services
In the broadest sensse RIA (generally Rich Internet Applications) are implemented in technologies such as Silverlight, Dojo etc, give a really ncie UI experience in the browser (tier 1)
They will usually need to get data from somewhere, so you write service on a server somewhere. (tier 2). That in turn may actually go to some database or other data source (tier 3).
RIA Services is making the task of building that tier 2, service tier, logic easier. The kinds of services you build there are in principle reusable by many clients, but in fact you tend to find that certain patterns of service work particularly well for RIA UIs, and so the RIA Services are targeted at satisfying those needs.