Posts Tagged ‘enterprise-it’

Architectural Patterns and Styles

September 7, 2012 Leave a comment

Architectural Patterns and Styles

Architectural Styles and Patterns are set of principles that shape the application. These styles describe different aspects of applications. For example, some architectural style describe deployment pattern, some describe communication , some describe structural and design issues .therefore, typical applications use a combination of more than one style.

The following table lists the major areas of focus and the corresponding architectural styles

Category Architectural Styles
Communication Service Oriented Architecture (SOA ) – Message Bus
Deployment Client/Server, N-Tier , 3-Tier
Domain Domain Driven Design
Structure Object-Oriented , Layered Architecture , Component – Based

The following table list architectural styles and brief description about of each style

Architecture style Description
Client\Server Segregates the system into 2 applications ,where the clients make requests to the server
Component-Based Architecture Decomposes the application into multiple logical components that expose a well- defined communication interfaces
Domain Driven Design An object-oriented architectural style focused on modeling a business domain and defining business objects based on entities within the business domain.
Layered Architecture Partitions the concerns of the application into stacked layers
Message Bus An architecture style that prescribes use of a software system that can receive and send messages using one or more communication channels, so that applications can interact without needing to know specific details about each other.
N-Tier/3-Tier Segregates functionality into separate segments in much the same way as the layered style, but with each segment being a tier located on a physically separate computer.
Object-Oriented A design paradigm based on division of responsibilities for an application or system into individual reusable and self-sufficient objects, each containing the data and the behavior relevant to the object.
Service-Oriented Architecture( SOA) Refers to applications that expose and consume functionality as a service using contracts and messages.

Visio Services and SharePoint 2010

March 13, 2012 1 comment

In SharePoint 2010, Microsoft has taken the Visio Services to the next level by allowing rendering of Visio diagrams and charts within the browser. Users can now use the out of the box Visio web parts to render the Visio diagrams and bring in the seamless integration of business intelligence between Visio, SharePoint and back end data.

Let me show you an example:

Lets create a simple Visio diagram which fetches values from external data:


This diagram is using the SupplyChain SQL database and the Suppliers table:

I can now save this as a Visio Web Diagram (.vdw) and upload to a document library in my Business Intelligence site.

Now, I can go to my dashboard and insert the Visio web diagram using the Visio Web Access web part.

This will add the Visio Web Access web part to the dashboard page where you can specify the Visio file to render:

Below is the rendered Visio web diagram in the web part:


You can see that the external data is also fetched in the diagram!

Notice there is also an option to enable refresh!

You can pan and also zoom into the diagram using the zooming controls (its very interactive!):

You can configure some of the default behaviour of the web part from its web part options pane:

The Real Deal

Lets go to SQL and change the Assembly Time value for the Bevel Assembly from 45 to 55

Lets go back to our dashboard page and refresh the Visio web diagram:

We now have the updated value!

Configuring Visio Services

The Visio Services is managed by the Visio Graphics Service service application (Central Administration | Application Management | Manage Service Applications)

references :