JSP的強大優勢在于把一種應用的商務邏輯和它的介紹分離開來。用 Smalltalk的面向對象的術語來說, JSP鼓勵MVC(model-view-controller)的web應用。JSP的classes 或 beans 是模型, JSP 是這個視圖, 而Servlet是控制器。這個例子是一個簡單的留言板
上傳時間: 2013-12-20
上傳用戶:003030
MVC設計模式早在面向對象語言Smalltalk-80中就被提出并在此后得到業界的廣泛接受。它包括三類對象:(1)模型(Model)對象:是應用程序的主體部分。(2)視圖(View)對象:是應用程序中負責生成用戶界面的部分。(3)控制器(Control)對象:是根據用戶的輸入,控制用戶界面數據顯示及更新Model對象狀態的部分。本程序嘗試用MVC模式制作了一個簡單的貪吃蛇游戲。
上傳時間: 2015-05-02
上傳用戶:evil
模型-視圖-控制器(MVC)是Xerox PARC在八十年代為編程語言Smalltalk-80發明的一種軟件設計模式,至今已被廣泛使用。最近幾年被推薦為Sun公司J2EE平臺的設計模式,并且受到越來越多的使用 ColdFusion 和 PHP 的開發者的歡迎。模型-視圖-控制器模式是一個有用的工具箱,它有很多好處,但也有一些缺點。
上傳時間: 2015-07-17
上傳用戶:stewart·
許多開發者和用戶都在尋找Java程序中訪問數據庫的便捷方法。由于Java是一個健壯,安全,易于使用的, 易于理解且可以從網絡中自動download ,所以它成為開發數據庫應用的一種良好的語言基礎。它提供了C, C++,Smalltalk, BASIC, COBOL,and 4GLs的許多優點
上傳時間: 2013-12-16
上傳用戶:hj_18
軟件開發工程是有趣的、多產的,甚至是大膽的。同時,它也能源源不斷地帶來商業價值,并保持在我們的掌控之下。 極限編程(XP)的構思和發展是針對小型團隊進行軟件開發時,在面對不確知的、變化的需求時所產生的特定需要的。這一新的、輕量級的方法學對許多傳統思維提出了挑戰,這其中包括一個一直以來的假設,即在軟件開發過程中,對軟件進行一個小小的改動就必然會使其開發成本大大增加。極限編程認可軟件開發工程應該節約成本,而且一旦實現了某種節約就應該加以開發利用。 你可以喜歡XP,也可以恨它,但是本書將會使你對如何開發軟件有一個全新的認識。KentBeck擁有并經營著First Class軟件公司,在這里他把主要精力放在兩個最大的興趣上——模式和極限編程。他一直在研究軟件開發的先驅模式、CRC卡、HotDraw畫圖編輯器框架、xUnit單元測試框架以及測試為先的編程。他發表了五十多篇關于編程的文章,并出版了《The Smalltalk Best Practice Patterns》(Prentice-Hall出版社)和《Kent Beck’s Guide to Better Smalltalk:A Sorted Collection》(劍橋大學出版社)兩本著作,同時他還是超級暢銷書《重構——改善既有代碼的設計》(中英文版皆由中國電力出版社出版)的特約撰稿人。
上傳時間: 2015-10-02
上傳用戶:邶刖
Patterns of Enterprise Application Architecture is written in direct response to the stiff challenges that face enterprise application developers. The author, noted object-oriented designer Martin Fowler, noticed that despite changes in technology--from Smalltalk to CORBA to Java to .NET--the same basic design ideas can be adapted and applied to solve common problems. With the help of an expert group of contributors, Martin distills over forty recurring solutions into patterns. The result is an indispensable handbook of solutions that are applicable to any enterprise application platform
標簽: Architecture Application Enterprise challenge
上傳時間: 2013-12-12
上傳用戶:ywqaxiwang
DESIGN PATTERNS JAVA COMPANION Design patterns began to be recognized more formally in the early 1990s by Helm (1990) and Erich Gamma (1992), who described patterns incorporated in the GUI application framework, ET++. The culmination of these discussions and a number of technical meetings was the publication of the parent book in this series, Design Patterns -- Elements of Reusable Software, by Gamma, Helm, Johnson and Vlissides.(1995). This book, commonly referred to as the Gang of Four or “GoF” book, has had a powerful impact on those seeking to understand how to use design patterns and has become an all-time best seller. We will refer to this groundbreaking book as Design Patterns, throughout this book and The Design Patterns Smalltalk Companion (Alpert, Brown and Woolf, 1998) as the Smalltalk Companion.
標簽: recognized COMPANION PATTERNS patterns
上傳時間: 2016-02-27
上傳用戶:大三三
數據庫的一種完全面向對象設計模式 面向對象(OO)方法這個名字早已深入人心,它的科學性和合理性也已毋庸置疑。 正在裝載數據…… 人們動輒將自己開發的軟件冠以“采用面向對象方法設計”以示其先進性就是一個極好的證明。然而,一個先進的方法學必須有相應的工具支持才能實現,它的概念和方法如不落實程序實現上,就不能真正掌握它的精髓而在實踐中運用。誠然,Smalltalk語言已被公認是一個面向對象語言,但是它對于開發者來說是多么的陌生!C 也可以說是一個OO語言,不過從名字就可以看出他是C語言的一個變種。它實現了從過程式編程到面向對象編程的一個較好的過渡。但是許多聲稱用C 制作的軟件其實仍舊是C軟件!這是因為沒有真正掌握OO方法的緣故。
上傳時間: 2016-04-06
上傳用戶:lxm
Java technology is both a programming language and a platform. The Java programming language originated as part of a research project to develop advanced software for a wide variety of network devices and embedded systems. The goal was to develop a small, reliable, portable, distributed, real-time operating platform. When the project started, C++ was the language of choice. But over time the difficulties encountered with C++ grew to the point where the problems could best be addressed by creating an entirely new language platform. Design and architecture decisions drew from a variety of languages such as Eiffel, Smalltalk, Objective C, and Cedar/Mesa. The result is a language platform that has proven ideal for developing secure, distributed, network-based end-user applications in environments ranging from network-embedded devices to the World-Wide Web and the desktop
標簽: programming language Java technology
上傳時間: 2014-01-03
上傳用戶:huangld
英文版 這本書在國外出的比較早,當時refactoring的工具還沒有成熟,或者僅限于Smalltalk圈子,所以文章中作者對每個重構細節都交代的比較清楚,具體的步驟都一一交代,到了現在這本書被翻譯成中文的時候,已經時過境遷了,就像gigix都說看完了之后就完全甩開了這本書(我想他寫的代碼沒有我多,我說的話沒有他多),因為很多細節特別是查找代碼中變量、函數的引用已經被IDE工具代勞了,所以中間有很多文字已經差不多是廢話了。 為什么很多人看英文版的不能繼續下去呢?因為文章中的原理本來就不復雜,更多的是操作,國人又對閱讀英文沒有那么大的把握,所以看的有些心虛,想搞本中譯本的,但本人以為這本書完全沒有買的必要,絕對沒有,大致瀏覽一下英文版就夠了。
上傳時間: 2014-11-18
上傳用戶:zycidjl