26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

√<br />

√<br />

Payment<br />

Invoicing<br />

All the four modules when built at initial stage where built completely independent. The<br />

main interaction between all these subsystems is customer placing order. This functionality<br />

can be attained by using all these subsystems, which involves complex interaction between<br />

them.<br />

There’s where FAÇADE comes in to action. We have built a FAÇADE called as<br />

“FACADEORDER” which sits on the top of all these subsystem and fulfills our<br />

functionality.<br />

(I) How can we implement observer pattern in .<strong>NET</strong>?<br />

Observer patterns can be implemented using “Delegates” and “Events”. I leave this to<br />

the readers to implement one sample code for observer patterns.<br />

(B)What is three tier architecture?<br />

The three tier software architecture emerged in the 1990s to overcome the limitations of<br />

the two tier architecture.<br />

There are three layers in when we talk about three tier architecture:-<br />

User Interface (Client) :- This is mostly the windows user interface or the Web interface.<br />

But this has only the UI part.<br />

Mid layer: - Middle tier provides process management where business logic and rules are<br />

executed and can accommodate hundreds of users (as compared to only 100 users with<br />

the two tier architecture) by providing functions such as queuing, application execution,<br />

and database staging.<br />

Data Access Layer: - This is also called by the famous acronym "DAL" component. It has<br />

mainly the SQL statement which do the database operation part of the job.<br />

The three tier architecture is used when an effective distributed client/server design is<br />

needed that provides (when compared to the two tier) increased performance, flexibility,<br />

maintainability, reusability, and scalability, while hiding the complexity of distributed<br />

processing from the user.<br />

157

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!