学习CSLA.NET框架

发布于 2024-09-17 10:17:49 字数 28 浏览 3 评论 0原文

这将是学习 CSLA 框架的一个良好起点。

What will be a good start point for learning CSLA framework.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

心病无药医 2024-09-24 10:17:49

摘自一篇文章 -

CSLA 很酷 - 我总是告诉人们要记住的是我所认为的核心理念,即所有业务逻辑都应该封装在业务对象中(在实际可能的范围内,至少)。 CSLA 中的“业务逻辑”包括从验证到持久化的所有内容——对象需要知道如何验证它们自己的属性,以及如何持久化它们自己。考虑到这一点,CSLA 框架为您提供了大量工具,帮助您轻松地将大量业务逻辑封装在业务对象中。我喜欢 CSLA,因为它有助于加强 OO 设计的严谨性。

就资源而言,我建议您查看 Rocky Lhotka 制作的“Dot Net Rocks TV”剧集——它们是截屏视频,他在前几集浏览了与 CSLA 一起提供的参考应用程序,然后进入具体架构的详细实现在后面。

有关 CSLA.NET 2.0 的信息肯定仍然相关,3.5 主要只是在基本架构的上下文中利用新的 3.5 框架功能(WCF 等)。

文章原文出自这里——
http://forums.asp.net/t/1307040.aspx

Excerpt from an article -

CSLA is cool -- the thing I always tell folks to keep in mind is what I see as its central philosophy, that ALL business logic should be encapsulated in business objects (to as great an extent as is realistically possible, at least). "Business logic" in CSLA includes everything from validation to persistence -- objects are required to know how to valdate their own properties, and also how to persist themselves. With this in mind, the CSLA framework gives you lots of tools to help make it less painful to encapsulate this amount of business logic in business objects. I like CSLA because it helps enforce rigor in OO design.

As far as resources, I'd recommend checking out the "Dot Net Rocks TV" episodes that Rocky Lhotka has done -- they are screencasts, and he goes through the reference app that he ships with CSLA in the first few, then goes into detailed implementations with specific architectures in later ones.

The information on CSLA.NET 2.0 is definitely still relevant, 3.5 is primarily just leveraging the new 3.5 framework features (WCF, etc.) in the context of the basic architecture.

Orignal article is from here -
http://forums.asp.net/t/1307040.aspx

悲念泪 2024-09-24 10:17:49

我想购买这本书将是一个开始。这就是我们所做的。

I guess buying the book would be a start. That's what we did.

初吻给了烟 2024-09-24 10:17:49

买本书非常有用。您不仅会获得有关如何使用 CSLA.net 的信息,而且 Rocky 还会解释他的决定和动机。
请注意,当前(4.0)版本没有书籍。对于 3.8 版本,您可以在此处找到这本书。
3.8 和 4.0 之间在验证规则方面存在一些重大变化。
您可以在 Rocky 博客 上找到有关这些更改的一些说明。

此外,因为他的框架是完全免费的,所以购买这本书是赞助 Rocky 通过创建框架所做的工作的好方法

Buying the book is very useful. Not only will you get information about how to use CSLA.net but also Rocky explains his decisions and his motives.
Note that there is no book for the current (4.0) release. For the 3.8 relase you can find the book here.
There are some major changes between 3.8 and 4.0 regarding the validation rules.
You can find some explanations about these changes on Rocky's Blog.

Furthermore, because his framework is completely free, buying the book is a good way to sponsor the work Rocky is doing by creating the framework

惟欲睡 2024-09-24 10:17:49

我会购买 Rocky 的书“Expert C# 2008 Business Objects”,其中涵盖了 CSLA 3.6。

对于 CSLA 4,Rocky 推出了一系列您可以购买的电子书。您可以在此处找到摘要 - http://www.lhotka.net/weblog/UsingCSLA4SeriesOutline.aspx< /a>.第一本提供 CSLA 4 概述的电子书可在此处获取:http://www.lhotka.net /weblog/UsingCSLA4CSLANETOverviewAvailable.aspx

Rocky 还在他的网站上提供了视频系列可供购买,其中包括 3.8 系列和带有 MVVM 的 4 系列。

I would purchase Rocky's book 'Expert C# 2008 Business Objects' which covers CSLA 3.6.

For CSLA 4, Rocky has started a series of ebooks which you can purchase. You can find a summary here - http://www.lhotka.net/weblog/UsingCSLA4SeriesOutline.aspx. The first ebook which provides an overview of CSLA 4 is available here: http://www.lhotka.net/weblog/UsingCSLA4CSLANETOverviewAvailable.aspx.

Rocky also has video series available for purchase on his site, which include a 3.8 series, and a 4 with MVVM series.

Bonjour°[大白 2024-09-24 10:17:49

此处详细描述了 CSLA。新的视频 是一个很好的起点。作为对这本书的极大赞美,我建议您查看我们的CSLA 3.8 和 4.0 模板。它们有 VB.NET 和 C# 风格。

Rocky 建议使用代码生成器,我们拥有领先的模板集,可以让您立即启动并运行。

谢谢
-Blake Niemyjski(CodeSmith CSLA 模板 的作者)

CSLA is described in detail here. The new book and videos is a great starting point. As a great compliment to the book I would recommend checking out our CSLA 3.8 and 4.0 templates. They come in both a VB.NET and a C# flavor.

Rocky recommends using a Code Generator, and we have the leading set of templates, that will get you up and running in no time.

Thanks
-Blake Niemyjski (Author of the CodeSmith CSLA Templates)

污味仙女 2024-09-24 10:17:49

没有什么比截止日期和用户想要看到的东西更重要的了……设定一个目标,获取一个工作演示,然后“返工”成您需要的内容。如果您从 2011 年 1 月开始使用 versio 4,则拥有 2008 年的书(如果您使用 3.8x)或 PDF 版本。

如果您在 3 年前使用带有跟踪器应用程序(WPF 和 ASP)的 3.8 对我来说足够简单,并且是我的开始(我们为我的业务构建了复杂的 WPF 和 Silverlight 添加)。

祝你好运

Nothing like a deadline and a user wanting to see something .... Set a target, get one of the working demos and 'rework' into what you need. Have the 2008 book (if your using 3.8x) or PDF just being release if your going with versio 4 from now Jan 2011.

If your using 3.8 with tracker app (WPF and ASP) where easy enough for me 3 years ago, and were my start (we've built complex WPF and Silverlight add for my business).

Good luck

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文