Archive for January, 2007

Customer Interaction

Tuesday, January 30th, 2007

Now-a-days customers are being semester thaen before They always want their satisfaction to the exteant. As the technology have been advanced & one has all the tools that he/she could satisfisfactorily used fored the customer’s rearmament. But it is very important that the customer comes to you will get the right information and assuranceed that he would get his work done with your  you proper guidancely. Therefore I am  giving you 3 basic contents to interact with your client……..

(1) Appearance & Behavior while first marketing :

Here,ar by Appearance I do not mean that one should have a smart, handsome look, I think a customer wants you to look gentle and behave gently. You should be wearing formal dress. There must be an eye contact while talking to the customer. Otherwise he would feel that he is not valuable to you.

(2) Your Speech :

Though you are the master of the web-designing or whatever the work you do everyday, . But if you can’t express how good you can do for the customer, it  will not workthat by sealing the customer will not believe you. Start to talk to the customer very gently. Hence It is said that “ well begin is half done. “ Then Start talking about your work from basic, because he doesn’t know the technical aspects. He will always rely upon your advices. Make him understand what you are speaking, by giving example. So we should represent our views very clearly to our customers.

(3) Be noble & honest to your customers :

As everyone knows “ Honestly is the best Policy. “ According to this statement you can only reach your destination by being noble and honest. Your client will only trust you if you are honest. Dishonesty works for a bit but not all the way to success. The solution is to be honest and maintain credibility at the same time.

Do remember this basic three contents because

success is a journey, It’s Not a destination.

Author:

By Shaunak Mistry

Shaunak Mistry is working as a web developer at Semaphore Infotech Pvt. Ltd, India. He has more than 2 years Experience. You can contact on email: shaunak@semaphore-software.com.

Integration of Web Service in Win Form using Oracle 10g

Tuesday, January 30th, 2007

This article describes how to consume web service with Win Form Application which fetches the data from Oracle 10g Database and how to use that data into your client application. The Win Form Client simply calls a Web Service through SOAP message containing a request for the method. The Web server process particular method called by client and serializes the output in SOAP message and send back to the client in pure XML format.

In first step we create a simple Web Service which connects to Oracle 10g Database and then use it in Windows Form.

1. Create new ASP.Net Web Service Application with name MyWebService.


2. Application contains service.vb and service.asmx files. Service.vb file contains your code for web method and services.asmx file provides interface for web service functionality. It contains one default method HelloWorld() with return type as string that returns “Hello World” to the client. Notice that it contains tag _ on the top of the function. It indicates to the compiler that this method is exposed by the web service. It may also contains some attributes like Description of the method etc.

 Here, we add one more method which access data from Oracle 10g database and returns the Dataset to the client. Here, WebMethod contains Description tag for the method description. You can also manage the session and catching for the web service like EnableSession:=True.


3. You can test the result before using in Windows Forms by running the Web Service Application by pressing F5. Here you can see that, it contain two methods FillDataset() and HelloWorld() with description of both the methods.

Click on FillDataset method and invoke it. It should display the result Dataset in XML Format.

   

4. Now, you have to publish this web service to use it in your windows form application on your web server.

5. Then, go in IIS and select property menu from popup on MyWebService folder and create the Application as shown below to access it in Win Forms.

6. Now, create a new Project using Windows Application to use web service with name TestWebService.

7. Next, add Web Reference in Solution explore as shown below:

In the next screen, type the URL where you have published the web service and click on Go Button. It will show the result as below. Type the name ‘TestWS’ to create the instance for your Win form. It will add the web service in your project.

You can see that TestWS instance is created in Win Form and now it is ready tofor use.

Notice that it contains property ‘Web Reference URL’ which shows the URL where the web service is located. You can also change it at runtime in case of change in location of web service in future.

8. Now in your form put Button called ‘Call Web Service’ and write code like this to call web method.

Here, you have to import TestWebService namespace to use the functionality of web methods.

So, now you can fetch the data from Oracle database through Web Service and use it in your Win Form Application as per requirements like this.

 

 

 

 

 

 

 

 

 

 

In case of change in location of Web Service on the server you can also assign dynamic path to web service from where you want to call it, like :

Conclusion:

So, it is not very difficult to use Web services in the Win Form application. I hope, this article is helpful to all developers who are beginners in using Web Service and it provides them sufficient guidance on how to use the web service in their windows application.

Author:

By Yagnik Jadav

Yagnik Jadav is working as a Senior Software Engineer with Semaphore Infotech Pvt. Ltd, a renowned IT company based at Ahmedabad, India . He has more than 2 years of experience in software development. He is very proficient working in Microsoft Technologies, especially VB.Net. You can contact on email: yagnik@semaphore-software.com

Windows VISTA RC2 build 5744 - from my eye

Tuesday, January 30th, 2007

Friends, I have installed Windows Vista RC2 build 5744 last week and I want to share my experience with you all.

I believe that the operating system is good enough and worth upgrade from XP SP2, yet final edition of Windows Vista is expected in January 2007.

As I clean installed it on a clean partition on Intel Pentium 4 with HT. Windows Vista RC2 build 5744 required more than one hour to be installed. I hope this process will be streamlined and the installation time will be reduced in next final release.

After installation, it takes some time to give you final desktop because of its building data feature, for easy search in future. It gathers file in one centralized data source, so when ever you do search in future, it will go through results veary fast….at the other end its resource hog feature

Now I have installed Vista, I searched for improvements and new features. I found some of them are very useful and it attracted me for various reasons.

Now I got New improved Internet Explorer 7 in windows Vista with great features, great fast engine….spam protection, anti phising, pop up blocker and many more…

Also I got Windows Media Player 11 with really nice look and feel….lot of new features, Sounds Gadgets Connectivity, CD-DVD Ripper and many more…

Windows Photo Gallery is nicely improved, it is much better thant the current gallery of Windows XP.

One good feature is Vista’s Flip 3D function. Using this, you can load up your open windows as 3D view on the screen, you can scroll through them with the mouse.

There is a new and improved GUI-AERO, creating a screen with see-through, 3-D-like elements. Aero would only lash out if your PC is having an outdated graphics card carrying less video memory.

The mailing application is designed with style appeal in mind….Vista’s new Mail system, which replaces Outlook.

I am impressed with the Network and Sharing Center feature. With this you can connect to the Internet very smoothly.

RC2 continues offering the great options that Microsoft must convince home and professional users to upgrade is Vista Gadgets, the eye catching small utilities that are set on the right side of your desktop.

Other great feature is RAM Boost; you can use your PEN Drive or USB Thumb Drive as RAM when ever you need more memory….it sounds great….now no need to buy extra memory for one application.

Microsoft has also improved the control-panel settings. It also appears to selection of aero theme options.

My 128-MB graphics card runs Vista fine. Vista ’s GUI continues to improve. Microsoft is yet changing colors, shapes, opacity, and positions of icons, applications in terms with end-user perspective rather than by developers

Performance-wise, RC2 looks and feels good. In my mid segment system, it works fine enough.

My conclusion is that with RC2, Vista is increasingly looking like a Great combination of Professional functionality and entertainment; it will rock corporate users as well as home users and children. In near future, this OS will overtakecome as one of the best OS in all over the world.

Author:

Yusuf Gandhi

Yusuf Gandhi is working as a project Leader at Semaphore Infotech Pvt. Ltd, India. He has more than 5 years Experience. You can contact on email: yusuf@semaphore-software.com.

How to interact with clients…

Tuesday, January 30th, 2007

In this digital scenario, everybody is people aware of advanced Internet technologies and it’s functionality. Many businesses are going on net through websites without having physical offices. Website creates corporate identity all over the globe. Anyone can easily get knowledge about your business through websites. It will help you in expanding your business globally..

Now-a-days, there are so many visual aids, graphics and multimedia tools to make your site the best. As a web designer, when I start to make design for my client’s site, I have had so many designing tools like Photoshop, Illustrator, Imageready, to make my designs more effective and visual. But the biggest question is that How to interpret with clients and make them him understand how this design is best for themhim.

There is a few tactics to deal with your clients  which may help you in conversion and you can get the end result that could earn the client’s trust and appreciation.

1> To make the vision of the intelligent, and always listen your client carefully.

Listening is not passive; a good listener can take complete control of the conversion and leave the impact of intelligence on people. When you listen well, you earn the trust of your client.

2> Direct Eye Contact.

Your ears may be the receiverptor for the sounds you hear when you are listening, but something else about you is equally important: your eyes. If you are not making good eye contact or are continuouslyally busy moving around, then other person will not “feel” listened too. They will know they have not really been heard. Look directly at the person the whole time while they are talking. If it is a particularly long dissertation, you can look away or look down to jot a note, but only for a second before looking right back at them. When you don’t maintain this direct eye focus, the person will feel that you don’t think what they have to say is valuable to you anyway, so why bother fully answering your questions or coming to you with information.

3> Start with Basic information and add your opinions and color it with imagery.

The client is not aware about technical aspect and hence so start with basics, he only listen what you say and rely open your words he makes his decision. So we should present our views with clarity and honesty.

The fastest way to create learning is to link the unknown with the known. A simile uses the words “like” or “as” to bridge the unknown with the known. Example: This design like “the rainbow”. This will help the people to understand easily by resembling of two things

4> Be honest.

Don’t hide any blackheads to the clients. Honesty should be is the only policy while making presentationen presenting to clients.  At the time of get business discussions, you need to gain theiryour client’s trust for long term business. The solution is to be honest and maintain credibility at the same time. No one can know the answer to every question. It is how the inevitable situation is handled that separates great presenters from amateurs.

5> Reflect client’s exact requirements with your imagination

When the client specified his desire and come to discuss about his requirements, I always paid attention to his viewslistened with dueand respect his view then I reached to the conclusion as tothought what are essential to make a site and which things are left in his view. I broughtdrag his attention to those points and provided him new vision and  tried to reflect his view with my imagination.

Keep the above mentioned se five points in your mind while dealing with clients; it must be a great help in achieving your goal. These four points are ultimately increased your confidence and power of negotiation. 

Author:

Zalak Shah

Zalak Shah is working as a web designer at Semaphore Infotech Pvt. Ltd, India. She has more than 1 year Experience. You can contact on email: zalak@semaphore-software.com.

PHP using Smarty

Tuesday, January 30th, 2007
Till now i developed most of my projects using asp.net. Just last month only i learned PHP (PHP: Hypertext Preprocessor) is a programming language designed for producing dynamic Web pages. PHP is an open source language and considered to be free software by the Free Software Foundation. At this time, i discovered Smarty and have been using it in my projects.

Now the question is why do we use Smarty and what is the purpose of using it…???

Traditionally,  when you make a web application using php, html and php scripts are mixed in one file.
More often than not, a programmer finishes a complete project, and someone suggests that the font and background colors chosenhe/his choose don’t match with their requirement. The programmer would then hasve to search through dozens of php files and alter the HTML that was embedded within simply to change the appearance of the web site and change all other properties. Editing the php files greatly increases the chance of generatinge new errors or bugs. It will much easier when you separate your HTML from your PHP code and will also make it much easier to reuse your PHP code down the road in other projects.

So the above solution can be applied by using Smarty technology as, it allows you to change the appearance of your web site by changing an HTML template file. It also allows you to do simple if statements, dynamic repeating blocks, and variable substitution.

The basic use of Smarty is for separation of business logic and presentation logic, generates web content by the placement of special Smarty tags within a document. So it allows the presentation of a web page to change separately from the back-end, thus allowing applications to be developed in a more organized fashion. Using this development model, designers are hidden from the back-end coding and PHP programmers are hidden from the presentation coding.

Tasks of both designer and programmer  are is as follows :

Programmer’s Tasks:

-> Fetching data from database by firing simple queries to it.
-> Manipulate or validate the data by performing business logic on it.
-> The best thing is that we can change the data access method like from MySql to another without interfering with designer’s work.

Designer’s Task:

->Creating HTML pages without affecting php scripts , only concerned is with placing content elements on the right place where the programmer has agreed to provide.

Some of the attractive features of using smarty areis  as follows :

1) Fast : Smarty is extremely fast by doing Template Compiling, means it reads the templates, creates php scripts and include the php files which is finally compiled by php engine..The best thing is that the templates are parsed only once by smarty if it is not modified again.. this results in to  fast compilation and better performance.

2) Catching : Smarty has built-in catching of your template outputs. It catches the output of the template contents and thus saves the overhead of retrieving the data from data source.

3) Variable Modifiers : Smarty provides variable modifiers in order to modify the contents of a variable like converting string to uppercase or lowercase or truncating etc things like that very easily

4) Template Function : Smarty provides some builtin and custom functions like looping function like if statements or for loops etc.Or just write a simple one line code which will generate a radiobuttons or calendar or other form controls which make things faster and more  simple.r.

Smarty is a great tool for both designers and developers. By using Smarty you can reduce the site development and maintenance times. If you are a developer you no longer need to mix PHP code with HTML code. Just take care of business logic and leave the HTML to the designer

Now the matter of debugging the smarty php scripts. Nusphere provides PHP Editor for editing and debugging..Ii’ss latest verison is PhpEd version 4.6.2 has been released with full support for PHP 5.2.

The definitive resource for learning Smarty is smarty.php.net,where you will get all the stuffs related to Smarty.

I’m still learning about it, so I’m in no way an expert, but if you have any questions, please feel free to ask.

Thank You,

Author:

By Nishant Bharathan

Nishant Bharathan is working as a Jr. Programmer at Semaphore Infotech Pvt. Ltd, India. He has 8 months Experience in .net programming. You can contact on email: nishant@semaphore-software.com.

Overview of the .NET Framework 2.0

Tuesday, January 30th, 2007
The .NET Framework is an integral Windows component that supports developing, deploying and running the applications and XML Web services.

Objectives to be designed in  .NET Framework 2.0:

· To provide a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.

· To provide a code-execution environment that minimizes software deployment and versioning conflicts.

· To provide a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party.

· To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments.

· To make the developer experience consistent across widely varying types of applications, such as Windows-based applications and Web-based applications.

· To build all communications on industry standards to ensure that code based on the .NET Framework can integrate with any other code.

Two main components of .NET Framework 2.0:

1) The common language runtime: The common language runtime is the foundation of the .NET Framework and manages code at execution time, providing core services such as memory management, thread management, remoting, strict type safety, code accuracy.

2) The .NET Framework class library: The class library is a comprehensive, object-oriented collection of reusable types that you can use to develop applications and XML web services.

The .NET Framework can be hosted by unmanaged components that load the common language runtime into their processes and initiate the execution of managed code (Code that targets the runtime is known as managed code, while code that does not target the runtime is known as unmanaged code.) For example, Internet Explorer is an example of an unmanaged application that hosts the runtime (in the form of a MIME type extension). Using Internet Explorer to host the runtime enables you to embed managed components or Windows Forms controls in HTML documents.

The following illustration shows the relationship of the common language runtime and the class library to your applications and to the overall system. The illustration also shows how managed code operates within a larger architecture.

.NET Framework in context

Managed code within a larger architecture

The following sections describe the main components of the .NET Framework. Common Language Runtime

· The common language runtime manages memory, thread execution, code execution, code safety verification, compilation, and other system services. These features are intrinsic to the managed code that runs on the common language runtime.

· The runtime enforces code access security. For example, users can trust that an executable embedded in a Web page can play an animation on screen or sing a song, but cannot access their personal data, file system, or network.

· The runtime also enforces code robustness by implementing a strict type-and-code-verification infrastructure called the common type system (CTS). The CTS ensures that all managed code is self-describing.

· The managed environment of the runtime eliminates many common software issues. For example, the runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors, memory leaks and invalid memory references.

· A feature called just-in-time (JIT) compiling enables all managed code to run in the native machine language of the system on which it is executing.

· The runtime also accelerates developer productivity. For example, Programmers can write applications in their development language of choice, yet take full advantage of the runtime, the class library, and components written in other languages by other developers.

.NET Framework Class Library

· The .NET Framework class library is a collection of reusable types that tightly integrate with the common language runtime. The class library is object oriented, providing types from which your own managed code can derive functionality. This not only makes the .NET Framework types easy to use, but also reduces the time associated with learning new features of the .NET Framework.

· Third-party components can integrate seamlessly with classes in the .NET Framework. For example, the .NET Framework collection classes implement a set of interfaces that you can use to develop your own collection classes. Your collection classes will blend seamlessly with the classes in the .NET Framework.

· As you would expect from an object-oriented class library, the .NET Framework types enable you to accomplish a range of common programming tasks, including tasks such as string management, data collection, database connectivity, and file access.

· You can use the .NET Framework to develop the following types of applications and services:

o Console applications.

o Windows GUI applications (Windows Forms).

o ASP.NET applications.

o XML web services.

o Windows services.

· For example, the Windows Forms classes are a comprehensive set of reusable types that vastly simplify Windows GUI development. If you write an ASP.NET Web Form application, you can use the Web Forms classes.

Author:

By Mitesh Patel

Mitesh Patel is working as a .net Programmer at Semaphore Infotech Pvt. Ltd, India. He has 4 years Experience. You can contact on email: mitesh@semaphore-software.com.



View My Stats