TechBubbles

Service Orientation vs Object Orientation

Services are good communication technique to use across application and platform boundaries. Service-oriented approach always preferred when you are building a distributed application. Object orientation approach provides a view of what a system should look and effective for producing logical models. Object based approach can fail to consider real-world factors like physical distribution and network communication. This post compares the two approaches.

Object Orientation Service Orientation
Suitable in a homogeneous platform and
execution environment.
Suitable in a heterogeneous platform and
execution environment.
Shares types, not schemas. Shares schemas, not types.
Runs in cheap and transparent communication. The cost is variable and requires explicit communication.
Life-time of objects is maintained by the infrastructure. Services are autonomous –Security and failure isolation are necessary.
It requires synchronized deployment of both client and server. It allows continuous, separate deployment of client and server.
Provides no guide-lines for state management and ownership. It maintains and uses the reference state.
You can predict the sequence of events, timeframe and outcome of invocations. Message orientation approach and supports asynchronous and long-running communications.
Goal is to transparently use functions and types remotely. Goal is to provide inter-service isolation and interoperability based on standards.


Share this post :

Related Posts:

No comments

SharePoint Built-in List Types–Announcement List

 

Lists provide an easiest way to store information in SharePoint. SharePoint provides different ways to keep your information in predefined lists. SharePoint stores most of its content information in lists. This post discusses about SharePoint Predefined Announcement List. Lists translates themselves and stores it information in SQL Server database. SP2010

Built-in SharePoint List Types-Announcement List

Content & Data Lists

Content & Data list facilitates the collection and display of information on site. View All Site Content is an example of Content & Data Lists. You can get this list by either clicking on Site Actions button or by clicking list in Quick Access menu which appears on left of your page.

Read more

Related Posts:

No comments

Access Denied error message for SharePoint Visitor group members

 

It is likely that your SharePoint 2010 site returns Access Denied error when user in Visitor group accesses the page in site.

image

First reason for the error message:

The page which user trying to access might not have been published to major version.

For example: If your page has image which got minor version and page got published with (Major Version) then server would deny the access to page and ask for credentials.

Solution: At least one major version of the page should exist on your site. Make sure all resources(Images, Documents) are on the page published with Major Version.

image

You can use “draft check” button on page tab of your page’s ribbon to check the unpublished resource on the page that being used.

image


Share this post :

Related Posts:

No comments

WCF 4.5 Features

 

This post discusses the new features in WCF 4.5. There have been significant improvements in WCF 4.5 on configuration.

Simplifying the generated configuration file in client

A client configuration file is generated when you add a service reference in Visual Studio 2010. The configuration files in earlier version of WCF contained the value of every binding property even if it is a default value. In WCF 4.5 Configuration files contain binding properties that are set to non-default value.

  Example of configuration file generated by WCF 3.0

Read more

Related Posts:

No comments

OData and Windows Azure

 

This post discusses about building a service using CLOUD platform that can reach various devices. What is OData and Where it fits in? OData is a specification that makes very easy to exchange and interact with data on the web. So OData is all about connecting up devices to the CLOUD. This post also discuss how to create a OData Service in Visual Studio 2010 and host it on Windows Azure then explains how to consume the service on Windows phone Mango.

What id OData?

A REST based set of patterns for accessing information via services

It is a great protocol for connecting devices to the CLOUD. The REST API’s which you might have developed having the following common requirements

  • Querying the data
  • Ordering the data
  • Paging the data
  • Filtering the data
  • Even CRUD operations on data

OData provides a common way to do the above operations. If you got your web API and if you use OData then you have got a wide range of options to expose of your data to various client libraries and platforms.

image

Read more

Related Posts:

No comments

Performance Tricks to Metro Style Web Applications

 

What is web performance? It is actually when does the user perform an action it self and when does those results occur on the screen. The three key factors to web performance is Network, CPU and Memory.

image

The web developer has to think about the above three element to improve the performance of a web application. You can measure your web site performance using windows performance toolkit which is the part of windows 7 SDK. You can download the toolkit from here. There is great post how to use this toolkit which you can read from here. We all know these tricks but we ignore sometime which costs severely in web application performance. You can use the below tricks are as check-list while building your web application.

The tricks are

Read more

Related Posts:

No comments

What is new in .NET Framework 4.5

 

Another major release in .NET Framework, .NET 4.5 which allows the developers to use Windows 8 technologies and windows runtime directly from .NET 4.5. It makes easy and natural to write Metro style applications using C# and VB. .NET 4.5 makes your applications run faster eg: Faster ASP.NET startup. .NET 4.5 gives  you easy access to your data with entity framework code first approach and recent SQL Server features. This post discuss these features in detail.

You can download the .NET FW  4.5 Developer preview from here.

Read more

Related Posts:

1 comment

What’s new in Visual Studio 11

This post gives you an overview on new features in Visual Studio 11. Developers constantly looking for better user experience, developer experience and team experience while using the Visual Studio IDE.

The Visual Studio Family

image

Building Windows Applications

Visual Studio 11 is the tool for building Windows 8 Metro Style applications. It is got built-in shared architecture with Expression Blend. Now you can have the basic XAML designer which is in Blend now coming up with Visual Studio 11 IDE.

It is got the XAML editor with intellisense.

Read more

Related Posts:

No comments

WebSockets in ASP.NET 4.5

 

This post discuss about using WebSockets in ASP.NET 4.5. You can read this post to get an understanding about WebSockets. This post shows piece of code which uses WebSockets in ASP.NET 4.5 and the code is related to simple chat application.

The HTML of Web Form chat application looks as below

image 

It contains a text box where you can type your text message and button where it sends a message to the server. You can notice there is <ul> element which shows the list of other messages which are arriving from the server.

Read more

Related Posts:

No comments

Why WebSockets?

 

WebSockets are required to develop the rich and real time web applications. WebSockets can securely enable the real-time web. Before explaining the need of WebSockets we see what current Web is and it’s limitations.

What is Current Web?

image

Read more

Related Posts:

3 comments

« Previous PageNext Page »