学习OO的一些资料

 不好意思,直接拷贝的英语资料。

 

It's about using object oriented programming techniques, design

patterns, Test Driven Design, Domain Driven Design and the architecture
of solutions to use said technologies, which is based on OOP(s).
 
http://www.dofactory.com/Patterns/Patterns.aspx
http://www.dofactory.com/Framework/Framework.aspx
http://oreilly.com/catalog/9780596007126
 
Also understand what OOPs is because datasets and datatables don't lead
to OOPs.
 
What is Object-oriented-programming?
(OOP) is a programming paradigm that uses "objects" and their
interactions to design applications and computer programs.
The key concepts of OOP are the following:
 
Class
Object
Instance
Method
Message passing
Inheritance
Abstraction
Encapsulation
Polymorphism
Decoupling
 
http://en.wikipedia.org/wiki/Object-oriented_programming
 
No matter what development platform Java, .Net or others OOP is OOP.
 
http://math.hws.edu/eck/cs124/downloads/OOP2_from_Univ_KwaZulu-Natal.pdf
 
What is Domain Driven Design?
 
(DDD) is an approach to the design of software, based on the two
premises [1] that complex domain designs should be based on a model,
and that, for most software projects, the primary focus should be on the
domain and domain logic (as opposed to being the
particular technology used to implement the system).
 
http://en.wikipedia.org/wiki/Domain-driven_design
 
 
What is Test Driven Design?
 
(TDD) is a software development technique that uses short development
iterations based on pre-written test cases
that define desired improvements or new functions. Each iteration
produces code necessary to pass that iteration's tests.
Finally, the programmer or team refactors the code to accommodate changes.
A key TDD concept is that preparing tests before coding facilitates
rapid feedback changes.
Note that test-driven development is a software design method, not
merely a method of testing.
 
http://en.wikipedia.org/wiki/Test-driven_development
 
What is Model –View- Controller?
 
(MVC) is an architectural pattern used in software engineering.
 
Successful use of the pattern isolates business logic from user
interface considerations, resulting in an application
where it is easier to modify either the visual appearance of the
application or the underlying business rules without affecting the other.
In MVC, the model represents the information (the data) of the
application; the view corresponds to elements of the user interface
such as text, checkbox items, and so forth; and the controller manages
the communication of data
and the business rules used to manipulate the data to and from the model.
 
http://en.wikipedia.org/wiki/Model-view-controller
 
 
What is Model –View- Presenter?
 
MVP is a software pattern considered a derivative of the
Model-view-controller.
 
http://en.wikipedia.org/wiki/Model_View_Presenter
 
MODEL-VIEW-PRESENTER
 
http://www.polymorphicpodcast.com/
 
click 'Shows'
 
click 'Design Patterns Bootcamp: Model View * Patterns*
 
view parts 1-5
 
 
Now take note on the word 'object' and OOP(s).
 
What is Object Relational Mapping?
 
(ORM) is a programming technique for converting data between
incompatible type systems in relational databases
and object-oriented programming languages. This creates, in effect, a
"virtual object database,"
which can be used from within the programming language.
There are both free and commercial packages available that perform
object-relational mapping,
although some programmers opt to create their own ORM tools.
 
http://en.wikipedia.org/wiki/O-RM
 
What is Language Integrated Query?
 
LINQ is a Microsoft .NET Framework component that adds native data
querying capabilities to .NET languages.
 
Microsoft LINQ defines a set of query operators that can be used to
query, project and filter data in arrays, enumerable classes,
XML, relational database, and third party data sources.
While it allows any data source to be queried, it requires that the data
be encapsulated as objects.
So, if the data source does not natively store data as objects, the data
must be mapped to the object domain.
Queries written using the query operators are executed either by the
LINQ query processing engine or,
via an extension mechanism, handed over to LINQ providers which either
implement a separate query processing engine or translate
to a different format to be executed on a separate data store (such as
on a database server as SQL queries).
The results of a query are returned as a collection of in-memory objects
that can be enumerated using a standard iterator
function such as C#'s foreach.
 
Many of the concepts that LINQ has introduced were originally tested in
Microsoft's Cω research project. LINQ was released as a part of .NET
Framework 3.5 on November 19, 2007.
 
http://en.wikipedia.org/wiki/Language_Integrated_Query
 
What is Linq-to-SQL?
 
LINQ to SQL, a component of Visual Studio Code Name "Orcas", provides a
run-time infrastructure for managing relational data as objects
without losing the ability to query. It does this by translating
language-integrated queries into SQL for execution by the database,
and then translating the tabular results back into objects you define.
Your application is then free to manipulate the objects while LINQ to
SQL stays in the background tracking your changes automatically.
 
http://msdn.microsoft.com/en-us/library/bb425822.aspx
 
What is ADO.NET Entities framework?
 
ADO.NET Entity Framework is an object-relational mapping (ORM) framework
for the .NET Framework.
This framework is Microsoft's first ORM offering for the .NET Framework.
While Microsoft provided objects to manage the Object-relational
impedance mismatch (such as a DataSet).
 
ADO.NET Entity Framework is included with .NET Framework 3.5 Service
Pack 1 and Visual Studio 2008 Service Pack 1,
released on 11 Aug 2008. It also includes the capability of executing
LINQ against ADO.NET Entity Framework entities
 
http://en.wikipedia.org/wiki/ADO.NET_Entity_Framework
posted @ 2012-04-12 21:10  太平洋的风  阅读(188)  评论(0编辑  收藏  举报