FCI-Helwan blog

Just another FCI-H weblog

Smart Client Applications Part 2

Types of Smart Clients

Smart client vary in design and implementation so they can take many different forms and styles. These forms can divide into three categories:
· Windows smart client applications
· Office smart client applications
· Mobile smart client applications

It’s common that smart client applications target on one or more of these platforms, depending on the users and functionality required .such flexibility is one of the strength keys of the smart client applications.

Windows Smart Client Applications

To develop a rich client application, you may think to develop applications that uses available system resources and that provides a rich user interface.
Windows smart client applications represent an evolution of traditional rich client applications.

A Windows smart client application is suitable in situations where an application needs to be deployed and accessed as a familiar desktop-type application. These types of applications typically provide the majority of their functionality themselves but can integrate with or coordinate other applications when appropriate. They provide application functionality tuned to particular tasks to provide specific or high-performance processing or graphical capabilities. Windows smart client applications are typically most suitable for applications that run on desktop, laptop, or tablet PCs.

These kinds of Windows smart client applications can be used in a wide variety of situations, for instance as LOB, financial, scientific, or collaborative applications.
Examples of these kinds of applications are Microsoft Money and the Microsoft Outlook® messaging and collaboration client.

February 8, 2007 Posted by fcihelwanblogger | Smart Client Applications | | No Comments Yet

What’s new in C# 3.0 ? Part 1

in the name of ALLAH

Sorry for being late to write this article.
as c# 3.0 came with many new features, i will discuss every one in a single post.

First i will discuss the difference between the static languages and dynamic languages
coz there are many of people say ( C# 3.0 became dynamic language ) and sure this is wrong

static lang. : – every variable has its own data type, and we can’t give the variable any value not compatible with its type, eg .. if int x=8; we can’t say x=”fci-h”; this will raise an error.
examples for the static langs. : – c++ , java and c#.

dynamic langs. : – where the data type of any variable can be changed Automatically during the running time according to the value of this variable.
examples for the dynamic langs. : – python.

now lets start :D

implicitly typed local variables (using Var keyword)

In the implicitly typed local variables the data type is being inferred by the initialization value of this variable during the compilation time, eg…
var i = 5; //= int i = 5;
var s = “Hello”; //= string s = “Hello”;
var d = 1.0; //= double d = 1.0;
var numbers = new int[] {1, 2, 3}; //= int[] numbers = new int[] {1, 2, 3};

and so on, but we must consider that all of this variables are local variables.

Some of implicitly typed local vaiables restrictions

1 : – it must be initialized during its declaration.
eg … var x; // Error, no initializer to infer type from.

2 : – the initialization value can’t be object or Collection value it can be new expression of objects or collection by using new keyword.
eg .. Var y = {1, 2, 3}; // Error, collection initializer not permitted.
var numbers = new int[] {1, 2, 3}; // Valid

3 : – it can’t set to be null during the Compile time.
eg .. var z = null; // Error, null type not permitted.

4 : – we can’t use var as a return type of any method.
Public var add ( int x,int y); // invalid.

That’s it.
See you in the Next Part isA

February 8, 2007 Posted by fcihelwanblogger | C# | | 1 Comment