Difference between Layer and Tier?

Posted by Gg under Regular Expressions on 7/9/2011 | Points: 10 | Views : 11342 | Status : [Member] | Replies : 9
Hi,

What is the difference between .net version 3.0 and 3.5 and 4.0 ?
What is the difference between Layer and Tier?
What is meaning of Entity Framework?

Thanks,
gg.




Responses

Posted by: Srinath on: 7/9/2011 [Member] Starter | Points: 25

Up
0
Down
difference between layer and Tier?
Layer is completely different from Tier
Layer is the way how we organize the code, that is logical organization code.th e layers are presentation layer (UI), business layer (BL), Data layer (DAL).Here it is a form of organizing the data logically, not physically. It does not imply that on how may processes are included, how many system are included.
And tiers are where our code runs, where we deploy the layers.
One Tier means the three layers are in one system.
Two tier means the user interface is in one system, and BL and DAL is in one system.
Three tier means three layers are in different, different systems
N-Tier means which is having many systems..like a banking project ,suppose a ICICI bank credit card project, which deals with the many locations ,the card holder will swipe somewhere, the bank server is somewhere in the system


Srinath.K

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Srinath on: 7/9/2011 [Member] Starter | Points: 25

Up
0
Down

Entity Framework (EF) is an object-relational mapping (ORM) framework for the .NET Framework.

ADO.NET Entity Framework abstracts the relational (logical) schema of the data that is stored in a database and presents its conceptual schema to the application.
For example in our conventional database oriented systems we will enter customer data information in the customer table and their orders in the order table and their contacts in the contact table. When an application dealing with this table must know which information is which table i.e., relational schema is hard coded in to the application. For example if the schema is changed the application also has to change, it has to perform SQL joins to traverse the relationships of the data elements in order to fine related data. For example here to find the orders of a certain customer, the customer has to select the customer table and this customer table needs to be joined with the order table, and the joined table needs to be queried from the orders that are linked in the customer. So this way of traversing is different from the model used in object oriented programming languages, where the relationships are exposed as properties of the object and accessing the property traverses the relationship.
The Microsoft has introduced the concept of Entity Framework Model where it deals with the database tables as en entity and allows us to write and maintain the code according to the database concepts. Using the entity relationship modeling, developers create the conceptual model of the data and write their code against this model. So we can say "ADO.NET Entity Framework Model allows you to deal with database concepts in your code."



Srinath.K

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Srinath on: 7/9/2011 [Member] Starter | Points: 25

Up
0
Down
Difference between .NET 2.0/3.0/3.5/4.0 Framework

NET framework 2.0:

. Generics
. Anonymous methods
. Partial class
. Nullable type
. The new API gives a fine grain control on the behavior of the runtime with regards to multithreading, memory allocation, assembly loading and more
. Full 64-bit support for both the x64 and the IA64 hardware platforms
. New personalization features for ASP.NET, such as support for themes, skins and webparts.
. .NET Micro Framework

.NET framework 3.0:
. Also called WinFX,includes a new set of managed code APIs that are an integral part of Windows Vista and Windows Server 2008 operating systems and provides
. Windows Communication Foundation (WCF), formerly called Indigo; a service-oriented messaging system which allows programs to interoperate locally or remotely similar to web services.
. Windows Presentation Foundation (WPF), formerly called Avalon; a new user interface subsystem and API based on XML and vector graphics, which uses 3D computer graphics hardware and Direct3D technologies.
. Windows Workflow Foundation (WF) allows for building of task automation and integrated transactions using workflows.
. Windows CardSpace, formerly called InfoCard; a software component which securely stores a person's digital identities and provides a unified interface for choosing the identity for a particular transaction, such as logging in to a website

.NET framework 3.5:

. It implement Linq evolution in language. So we have the folowing evolution in class:
. Linq for SQL, XML, Dataset, Object
. Language- Integrated Query- With the introduction of LINQ; the developers can create and maintain .NET Framework applications that can work well with the data.
. Active directory
. ASP.NET Ajax
. Anonymous types with static type inference
. Paging support for ADO.NET
. ADO.NET synchronization API to synchronize local caches and server side datastores
. Asynchronous network I/O API
. Support for HTTP pipelining and syndication feeds.
. New System.CodeDom namespace.

Referrence : http://24x7aspnet.blogspot.com/2009/05/difference-between-net-203035-framework.html

NET 4.0 Framework

. .NET 4.0 Framework will work side by side along with older versions of .NET. The applications which run with older versions will continue to run with this version. In this version, there are new features that have been implemented are as follows:
. The CLR (Common Language Runtime) and Base Class Library (BCL) have been improved.
. New Numeric types and memory mapped files have also been introduced.
. Data Access and Modeling Improvements
. Enhancements in ASP.NET
. Improved Windows Presentation Foundation(WPF)
. Various dynamic features such as entity templates, new query filters and validation features.
. Task Parallel Support and Parallel Loop Support



Srinath.K

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gg on: 7/11/2011 [Member] Starter | Points: 25

Up
0
Down
Thanks Srinath.

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 7/11/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down

Posted by: Susanthampy on: 7/11/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
http://msdn.microsoft.com/en-us/library/bb387161.aspx

Regards,
Susan

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lakn2 on: 7/12/2011 [Member] Starter | Points: 25
Posted by: Gaur1982 on: 7/25/2013 [Member] Starter | Points: 25

Up
0
Down
What is the difference between “Layers” and “Tiers”? : http://www.planetofcoders.com/what-is-the-difference-between-layers-and-tiers/

Gaurav Agrawal
http://www.planetofcoders.com/

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response