<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>JustionPanYe的世界 - .Net技术</title><link>http://blog.csdn.net/justionpanye/category/338685.aspx</link><description>c#.net</description><dc:language>zh-CN</dc:language><lastUpdateTime>Mon, 15 Oct 2007 08:40:17 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>justionpanye</dc:creator><title>petshop4.0 详解之八(PetShop表示层设计) </title><link>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807460.aspx</link><pubDate>Sun, 30 Sep 2007 09:35:00 GMT</pubDate><guid>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807460.aspx</guid><wfw:comment>http://blog.csdn.net/justionpanye/comments/1807460.aspx</wfw:comment><comments>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807460.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/justionpanye/comments/commentRss/1807460.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1807460</trackback:ping><description>摘要：代码中，InsertUser()方法就是负责用户的创建，而在之前则需要判断创建的用户是否已经存在。 &lt;img src ="http://blog.csdn.net/justionpanye/aggbug/1807460.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>justionpanye</dc:creator><title>petshop4.0 详解之七(PetShop表示层设计) </title><link>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807459.aspx</link><pubDate>Sun, 30 Sep 2007 09:34:00 GMT</pubDate><guid>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807459.aspx</guid><wfw:comment>http://blog.csdn.net/justionpanye/comments/1807459.aspx</wfw:comment><comments>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807459.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/justionpanye/comments/commentRss/1807459.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1807459</trackback:ping><description>petshop4.0 详解之七(PetShop表示层设计) &lt;img src ="http://blog.csdn.net/justionpanye/aggbug/1807459.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>justionpanye</dc:creator><title>petshop4.0 详解之六(PetShop表示层设计) </title><link>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807456.aspx</link><pubDate>Sun, 30 Sep 2007 09:33:00 GMT</pubDate><guid>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807456.aspx</guid><wfw:comment>http://blog.csdn.net/justionpanye/comments/1807456.aspx</wfw:comment><comments>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807456.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/justionpanye/comments/commentRss/1807456.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1807456</trackback:ping><description>摘要：表示层（Presentation Layer）的设计可以给系统客户最直接的体验和最十足的信心。一件交付给客户使用的产品，如果在用户界面（User Interface，UI）上缺乏吸引人的特色，界面不友好，操作不够体贴，即使这件产品性能非常优异，架构设计合理，业务逻辑都满足了客户的需求，却仍然难以讨得客户的欢心。本章所关注的表示层设计，还是以架构设计的角度，阐述在表示层设计中对模式的应用，ASP.NET控件的设计与运用，同时还包括了对ASP.NET 2.0新特色的介绍。&lt;img src ="http://blog.csdn.net/justionpanye/aggbug/1807456.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>justionpanye</dc:creator><title>petshop4.0 详解之五(PetShop之业务逻辑层设计) </title><link>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807454.aspx</link><pubDate>Sun, 30 Sep 2007 09:31:00 GMT</pubDate><guid>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807454.aspx</guid><wfw:comment>http://blog.csdn.net/justionpanye/comments/1807454.aspx</wfw:comment><comments>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807454.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/justionpanye/comments/commentRss/1807454.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1807454</trackback:ping><description>摘要：五 PetShop之业务逻辑层设计业务逻辑层（Business Logic Layer）无疑是系统架构中体现核心价值的部分。它的关注点主要集中在业务规则的制定、业务流程的实现等与业务需求有关的系统设计，也即是说它是与系统所应对的领域（Domain）逻辑有关，很多时候，我们也将业务逻辑层称为领域层。作为领域驱动设计的先驱Eric Evans，对业务逻辑层作了更细致地划分，细分为应用层与领域层，通过分层进一步将领域逻辑与领域逻辑的解决方案分离。&lt;img src ="http://blog.csdn.net/justionpanye/aggbug/1807454.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>justionpanye</dc:creator><title>petshop4.0 详解之四(PetShop之ASP.NET缓存) </title><link>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807452.aspx</link><pubDate>Sun, 30 Sep 2007 09:30:00 GMT</pubDate><guid>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807452.aspx</guid><wfw:comment>http://blog.csdn.net/justionpanye/comments/1807452.aspx</wfw:comment><comments>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807452.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/justionpanye/comments/commentRss/1807452.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1807452</trackback:ping><description>摘要：因为Cache的存取速度比内存快，因而引入Cache能够有效的解决CPU与内存之间的速度不匹配问题。硬件系统可以利用Cache存储CPU访问概率高的那些数据，当CPU需要访问这些数据时，可以直接从Cache中读取，而不必访问存取速度相对较慢的内存，从而提高了CPU的工作效率。软件设计借鉴了硬件设计中引入缓存的机制以改善整个系统的性能，尤其是对于一个数据库驱动的Web应用程序而言，缓存的利用是不可或缺的，毕竟，数据库查询可能是整个Web站点中调用最频繁但同时又是执行最缓慢的操作之一，我们不能被它老迈的双腿拖缓我们前进的征程。&lt;img src ="http://blog.csdn.net/justionpanye/aggbug/1807452.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>justionpanye</dc:creator><title>petshop4.0 详解之三(PetShop数据访问层之消息处理) </title><link>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807448.aspx</link><pubDate>Sun, 30 Sep 2007 09:28:00 GMT</pubDate><guid>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807448.aspx</guid><wfw:comment>http://blog.csdn.net/justionpanye/comments/1807448.aspx</wfw:comment><comments>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807448.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/justionpanye/comments/commentRss/1807448.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1807448</trackback:ping><description> 摘要：要提供整个系统的性能，还可以从数据库的优化着手，例如连接池的使用、建立索引、优化查询策略等等，例如在PetShop中就利用了数据库的Cache，对于数据量较大的订单数据，则利用分库的方式为其单独建立了Order和Inventory数据库。在PetShop4.0中，使用了Microsoft Messaging Queue(MSMQ)技术来完成异步处理，利用消息队列临时存放要插入的数据，使得数据访问因为不需要访问数据库从而提供了访问性能，至于队列中的数据，则等待系统空闲的时候再进行处理，将其最终插入到数据库中。&lt;img src ="http://blog.csdn.net/justionpanye/aggbug/1807448.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>justionpanye</dc:creator><title>petshop4.0 详解之二（数据访问层之数据库访问设计） </title><link>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807444.aspx</link><pubDate>Sun, 30 Sep 2007 09:26:00 GMT</pubDate><guid>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807444.aspx</guid><wfw:comment>http://blog.csdn.net/justionpanye/comments/1807444.aspx</wfw:comment><comments>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807444.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/justionpanye/comments/commentRss/1807444.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1807444</trackback:ping><description>摘要：在系列一中，我从整体上分析了PetShop的架构设计，并提及了分层的概念。在PetShop中，系统需要处理的数据库对象分为两类：一是数据实体，对应数据库中相应的数据表。这些实体类都被放到Model程序集中，例如数据表Order对应的实体类OrderInfo，其类图如下： &lt;img src ="http://blog.csdn.net/justionpanye/aggbug/1807444.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>justionpanye</dc:creator><title>petshop4.0 详解之一（系统架构设计） </title><link>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807440.aspx</link><pubDate>Sun, 30 Sep 2007 09:24:00 GMT</pubDate><guid>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807440.aspx</guid><wfw:comment>http://blog.csdn.net/justionpanye/comments/1807440.aspx</wfw:comment><comments>http://blog.csdn.net/justionpanye/archive/2007/09/30/1807440.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/justionpanye/comments/commentRss/1807440.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1807440</trackback:ping><description>前言：PetShop是一个范例，微软用它来展示.Net企业系统开发的能力。本系列试图对PetShop作一个全方位的解剖，依据的代码是PetShop4.0，可以从链接http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/bdasamppet4.asp中获得。&lt;img src ="http://blog.csdn.net/justionpanye/aggbug/1807440.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>