SlideShare una empresa de Scribd logo
1 de 6
Project: PCMS, Pegasus Cargo Management System
Date: 2nd May 2010
Subject: To study different presentation layers technologies in Microsoft .Net framework
Problem Definition:
Suppose you are planning to develop a new application, so the most difficult elements are
architectural and strategic decisions that are related to technology selection from a large
stack of available Group.

Each technology and product has is own pro and corns. So detailed analysis of all aspects
of technology, is must.

Microsoft .Net provide a wide set of technologies and tools for presentation Layer
creation, so right decision to select a tech is very critical for success of a project.

Solution:
List of Presentation layer technologies are as:
     Windows Forms
     ASP .Net
     WPF
     Sliver light

Windows forms are Fat client applications. ASP .Net is thin client application. WPF and
Sliverlight are smart client Applications.
Let differentiate b/w definition of Fat , thin and smart client.

Fat Client, according to Wiki:
A fat client is a computer or computer program in client–server architecture networks
which typically provides rich functionality independently of the central server.

So Windows form application don’t have depency to central server a lot. That is
application runs on client end and uses most of resources from client machine in a client
server Arcchitecture.

Fat Client is also called Rich Client or Thick client.

Thin Client according to Wiki:

A thin client (sometimes also called a lean or slim client) is a computer or a computer
program which depends heavily on some other computer (its server) to fulfill its
traditional computational roles.

So ASP .Net application heavy depends on central Server. Actually ASP .Net application
reside on server (IIS), IIS processes all the application logic and throws only HTML on
client end. Communication between client and server is handled by Request (from
Browser on client end to IIS at Server end) and Response (from IIS at Server end to
Browser on client end).
Smart Client according to Wiki:

Smart Client is a term used to describe an application environment which:
  • delivers applications over a web http connection
  • does not require installation (or provide automated installation and updates)
  • automatically updates without user action
  • has the look and feel of desktop applications

So,The term "Smart Client" is meant to refer to simultaneously capturing the benefits of
a "thin client" (zero-install, auto-update) and a "fat client" (high performance, high
productivity).

Mainly there are four platforms for building Smart client applications :
Flex : from Adobe.
JavaFX : from SUN.
Windows Presentation Foundation (WPF)/SliverLight : for Microsoft
DataSnap/WebServices : from CodeGear.

WPF and SL both provide look and feel of desktop applications, but still runs on browser.
So they combine the features of Thick client and Thin Client , thus called Smart client.

Smart Client is also called "Rich Internet Application" (RIA) and "rich web
application".
SilverLight Vs WPF

1. Silverlight is simply a subset of WPF.

2. Silverlight is meant to be used online, while WPF is for local use.

3. You can use Silverlight applications regardless of the operating system you use, while
WPF applications are restricted to later versions of the Windows operating system.

4. Silverlight lacks access to local resources, while WPF can utilize local resources.

5. Silverlight only has perspective 3D support, while WPF is capable of full 3D images.

Read more:
http://wpfslguidance.codeplex.com/
http://msdn.microsoft.com/en-us/library/cc903925(VS.95).aspx


WPF standalone Vs XBAP Application:
Feature                     Standalone                        XBAP
Installed                   Installed on users computer.      Not installed on the client’s
                                                              computer.
Start Menu                  Appears in Start Menu.            Does not appear in the Start
                                                              Menu.
Control Panel:              Appears in the Add/Remove         Does not appear in the
Add/Remove Programs         Programs.                         Add/Remove Programs.
Installment methods         Installed via XCopy, Windows      Are automatically deployed via
                            Installer (MSI) or ClickOnce.     ClickOnce.

                                                              YourApp.xbap is really a
                                                              ClickOnce deployment
                                                              manifest.
Code Access Security        Runs in Full Trust unless         Runs in Internet Zone .
                            modified by Administrator.
Sandbox restrictions        N/A if run as Full Trust.         See list below.
Process                     Runs in its own standard OS       Runs in PresentationHost.exe
                            window.                           Presentation host is registered
                                                              as the shell and MIME handler
                                                              for *.xbap files.
Automatic Updates           Standalone apps are not           Newer version on server is
automatically updated.           always used.
                            Developer must write auto
                            updating framework or use the
                            Microsoft ClickOnce system.
Offline access              Application works if offline.    Cannot run XBAP application
                                                             unless user can navigate to the
                                                             XBAP URL.
Requirements                .NET 3.0 or later installed on   .NET 3.0 or later installed on
                            user computer.                   user computer.
                                                             Internet Explorer(6.0 or later)
                                                             Firefox (2.0 or later).



References:
http://blog.wpfwonderland.com/2007/01/28/comparing-wpf-applications-and-xbap-
whats-the-difference/




ASP .Net Web Forms vs MVC
OK, Now ASP .Net has been selected, but still there are 2 options to go with ASP .Net
namely, Web forms and MVC.

Advantages of Web Form Model

    1.   Powerfull Tooling/designer support
    2.   Provides RAD development.
    3.   Decarative Syntax
    4.   Strong Third party controls support.
    5.   Easy development model for heavy data-driven LOB applications.
    6.   Event Driven programming Model.
    7.   Similar model for windows form developers.
    8.   BuildinViewState Support
    9.   Buildin PostBack Support.

Advantages of MVC Model

    1.   Enable clean separation of concerns (SoC) .
    2.   Enable full control over the rendered HTML.
    3.   Enable Test Driven Development (TDD) (built with TDD in mind).
    4.   SEO and REST friendly URL.
    5.   Easy integration with JavaScript frameworks.
    6.   Support third-party view engines such as NVelocity, Brail, NHaml.
7. No ViewState and PostBack events.
   8. Follows the stateless nature of web.
   9. Extensible and Pluggable framework.



Project Future Guidelines:

   1. As PCMS, Pegasus Cargo Management System, release 6 is implemented as
      Smart Client application in Windows Presentation Foundation So there is no need
      for a version in Sliver Light which is also a smart client technology.
   2. However there is a need for thin client implementation of PCMS as Release 7,
      which will be implemented in ASP .Net.
   3. As there are two development patterns of ASP .Net, namely Web forms and
      MVC. So read the feature set for each method in section and lets decide the which
      pattern to adopt.
   4. As MVC implementation in ASP .Net is new, so a POC is required to explore the
      complete feature set in terms of programming for MVC.



Related Topics:
   1. Differentiate between Thick client, Think client and smart Client with examples?
   2. Differentiate between ASP .Net Web forms and MVC?
   3. Differentiate between Windows Presentation Foundation and Silver Light of
       Microsoft .Net?
   4. Differentiate between WPF standalone and XBAP Application?

Más contenido relacionado

Destacado

Destacado (10)

Ch1
Ch1Ch1
Ch1
 
Mobile Computing UNIT-I TO III
Mobile Computing UNIT-I TO IIIMobile Computing UNIT-I TO III
Mobile Computing UNIT-I TO III
 
Mobile computing unit 5
Mobile computing  unit 5Mobile computing  unit 5
Mobile computing unit 5
 
IT6601 MOBILE COMPUTING
IT6601 MOBILE COMPUTINGIT6601 MOBILE COMPUTING
IT6601 MOBILE COMPUTING
 
Software Architecture: Styles
Software Architecture: StylesSoftware Architecture: Styles
Software Architecture: Styles
 
Mobile Computing
Mobile ComputingMobile Computing
Mobile Computing
 
Mobile operating system ppt
Mobile operating system pptMobile operating system ppt
Mobile operating system ppt
 
Unit 4
Unit 4Unit 4
Unit 4
 
Layered Software Architecture
Layered Software ArchitectureLayered Software Architecture
Layered Software Architecture
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 

Más de Shahzad

Srs sso-version-1.2-stable version-0
Srs sso-version-1.2-stable version-0Srs sso-version-1.2-stable version-0
Srs sso-version-1.2-stable version-0Shahzad
 
Srs sso-version-1.2-stable version
Srs sso-version-1.2-stable versionSrs sso-version-1.2-stable version
Srs sso-version-1.2-stable versionShahzad
 
Exploration note - none windows based authentication for WCF
Exploration note - none windows based authentication for WCFExploration note - none windows based authentication for WCF
Exploration note - none windows based authentication for WCFShahzad
 
To study pcms pegasus erp cargo management system-release-7 from architectu...
To study pcms   pegasus erp cargo management system-release-7 from architectu...To study pcms   pegasus erp cargo management system-release-7 from architectu...
To study pcms pegasus erp cargo management system-release-7 from architectu...Shahzad
 
To study pcms pegasus erp cargo management system-release-6 from architectu...
To study pcms   pegasus erp cargo management system-release-6 from architectu...To study pcms   pegasus erp cargo management system-release-6 from architectu...
To study pcms pegasus erp cargo management system-release-6 from architectu...Shahzad
 
Pakistan management
Pakistan managementPakistan management
Pakistan managementShahzad
 
Corporate lessons
Corporate lessonsCorporate lessons
Corporate lessonsShahzad
 
What is future of web with reference to html5 will it devalue current present...
What is future of web with reference to html5 will it devalue current present...What is future of web with reference to html5 will it devalue current present...
What is future of web with reference to html5 will it devalue current present...Shahzad
 
Software architecture to analyze licensing needs for pcms- pegasus cargo ma...
Software architecture   to analyze licensing needs for pcms- pegasus cargo ma...Software architecture   to analyze licensing needs for pcms- pegasus cargo ma...
Software architecture to analyze licensing needs for pcms- pegasus cargo ma...Shahzad
 
A cross referenced whitepaper on cloud computing
A cross referenced whitepaper on cloud computingA cross referenced whitepaper on cloud computing
A cross referenced whitepaper on cloud computingShahzad
 
Software architecture case study - why and why not sql server replication
Software architecture   case study - why and why not sql server replicationSoftware architecture   case study - why and why not sql server replication
Software architecture case study - why and why not sql server replicationShahzad
 
Software Architecture New Features of Visual Studio 2010 / .Net 4.0 - Part 1...
Software Architecture New Features of Visual Studio 2010 / .Net 4.0  - Part 1...Software Architecture New Features of Visual Studio 2010 / .Net 4.0  - Part 1...
Software Architecture New Features of Visual Studio 2010 / .Net 4.0 - Part 1...Shahzad
 
From Windows Presentation Foundation To Silverlight
From Windows Presentation Foundation To SilverlightFrom Windows Presentation Foundation To Silverlight
From Windows Presentation Foundation To SilverlightShahzad
 
To Study The Tips Tricks Guidelines Related To Performance Tuning For N Hib...
To Study The Tips Tricks  Guidelines Related To Performance Tuning For  N Hib...To Study The Tips Tricks  Guidelines Related To Performance Tuning For  N Hib...
To Study The Tips Tricks Guidelines Related To Performance Tuning For N Hib...Shahzad
 
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...Shahzad
 
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...Shahzad
 
To Analyze Cargo Loading Optimization Algorithm
To Analyze Cargo Loading Optimization AlgorithmTo Analyze Cargo Loading Optimization Algorithm
To Analyze Cargo Loading Optimization AlgorithmShahzad
 
Whitepaper To Study Filestream Option In Sql Server
Whitepaper To Study Filestream Option In Sql ServerWhitepaper To Study Filestream Option In Sql Server
Whitepaper To Study Filestream Option In Sql ServerShahzad
 
White Paper On ConCurrency For PCMS Application Architecture
White Paper On ConCurrency For PCMS Application ArchitectureWhite Paper On ConCurrency For PCMS Application Architecture
White Paper On ConCurrency For PCMS Application ArchitectureShahzad
 

Más de Shahzad (20)

Srs sso-version-1.2-stable version-0
Srs sso-version-1.2-stable version-0Srs sso-version-1.2-stable version-0
Srs sso-version-1.2-stable version-0
 
Srs sso-version-1.2-stable version
Srs sso-version-1.2-stable versionSrs sso-version-1.2-stable version
Srs sso-version-1.2-stable version
 
Exploration note - none windows based authentication for WCF
Exploration note - none windows based authentication for WCFExploration note - none windows based authentication for WCF
Exploration note - none windows based authentication for WCF
 
To study pcms pegasus erp cargo management system-release-7 from architectu...
To study pcms   pegasus erp cargo management system-release-7 from architectu...To study pcms   pegasus erp cargo management system-release-7 from architectu...
To study pcms pegasus erp cargo management system-release-7 from architectu...
 
To study pcms pegasus erp cargo management system-release-6 from architectu...
To study pcms   pegasus erp cargo management system-release-6 from architectu...To study pcms   pegasus erp cargo management system-release-6 from architectu...
To study pcms pegasus erp cargo management system-release-6 from architectu...
 
Pakistan management
Pakistan managementPakistan management
Pakistan management
 
Corporate lessons
Corporate lessonsCorporate lessons
Corporate lessons
 
What is future of web with reference to html5 will it devalue current present...
What is future of web with reference to html5 will it devalue current present...What is future of web with reference to html5 will it devalue current present...
What is future of web with reference to html5 will it devalue current present...
 
Software architecture to analyze licensing needs for pcms- pegasus cargo ma...
Software architecture   to analyze licensing needs for pcms- pegasus cargo ma...Software architecture   to analyze licensing needs for pcms- pegasus cargo ma...
Software architecture to analyze licensing needs for pcms- pegasus cargo ma...
 
A cross referenced whitepaper on cloud computing
A cross referenced whitepaper on cloud computingA cross referenced whitepaper on cloud computing
A cross referenced whitepaper on cloud computing
 
Software architecture case study - why and why not sql server replication
Software architecture   case study - why and why not sql server replicationSoftware architecture   case study - why and why not sql server replication
Software architecture case study - why and why not sql server replication
 
Software Architecture New Features of Visual Studio 2010 / .Net 4.0 - Part 1...
Software Architecture New Features of Visual Studio 2010 / .Net 4.0  - Part 1...Software Architecture New Features of Visual Studio 2010 / .Net 4.0  - Part 1...
Software Architecture New Features of Visual Studio 2010 / .Net 4.0 - Part 1...
 
From Windows Presentation Foundation To Silverlight
From Windows Presentation Foundation To SilverlightFrom Windows Presentation Foundation To Silverlight
From Windows Presentation Foundation To Silverlight
 
To Study The Tips Tricks Guidelines Related To Performance Tuning For N Hib...
To Study The Tips Tricks  Guidelines Related To Performance Tuning For  N Hib...To Study The Tips Tricks  Guidelines Related To Performance Tuning For  N Hib...
To Study The Tips Tricks Guidelines Related To Performance Tuning For N Hib...
 
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
 
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
 
To Analyze Cargo Loading Optimization Algorithm
To Analyze Cargo Loading Optimization AlgorithmTo Analyze Cargo Loading Optimization Algorithm
To Analyze Cargo Loading Optimization Algorithm
 
Asp
AspAsp
Asp
 
Whitepaper To Study Filestream Option In Sql Server
Whitepaper To Study Filestream Option In Sql ServerWhitepaper To Study Filestream Option In Sql Server
Whitepaper To Study Filestream Option In Sql Server
 
White Paper On ConCurrency For PCMS Application Architecture
White Paper On ConCurrency For PCMS Application ArchitectureWhite Paper On ConCurrency For PCMS Application Architecture
White Paper On ConCurrency For PCMS Application Architecture
 

Último

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 

Último (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Software architecture-to study different presentation layers technologies in microsoft .net framework

  • 1. Project: PCMS, Pegasus Cargo Management System Date: 2nd May 2010 Subject: To study different presentation layers technologies in Microsoft .Net framework
  • 2. Problem Definition: Suppose you are planning to develop a new application, so the most difficult elements are architectural and strategic decisions that are related to technology selection from a large stack of available Group. Each technology and product has is own pro and corns. So detailed analysis of all aspects of technology, is must. Microsoft .Net provide a wide set of technologies and tools for presentation Layer creation, so right decision to select a tech is very critical for success of a project. Solution: List of Presentation layer technologies are as:  Windows Forms  ASP .Net  WPF  Sliver light Windows forms are Fat client applications. ASP .Net is thin client application. WPF and Sliverlight are smart client Applications. Let differentiate b/w definition of Fat , thin and smart client. Fat Client, according to Wiki: A fat client is a computer or computer program in client–server architecture networks which typically provides rich functionality independently of the central server. So Windows form application don’t have depency to central server a lot. That is application runs on client end and uses most of resources from client machine in a client server Arcchitecture. Fat Client is also called Rich Client or Thick client. Thin Client according to Wiki: A thin client (sometimes also called a lean or slim client) is a computer or a computer program which depends heavily on some other computer (its server) to fulfill its traditional computational roles. So ASP .Net application heavy depends on central Server. Actually ASP .Net application reside on server (IIS), IIS processes all the application logic and throws only HTML on client end. Communication between client and server is handled by Request (from Browser on client end to IIS at Server end) and Response (from IIS at Server end to Browser on client end).
  • 3. Smart Client according to Wiki: Smart Client is a term used to describe an application environment which: • delivers applications over a web http connection • does not require installation (or provide automated installation and updates) • automatically updates without user action • has the look and feel of desktop applications So,The term "Smart Client" is meant to refer to simultaneously capturing the benefits of a "thin client" (zero-install, auto-update) and a "fat client" (high performance, high productivity). Mainly there are four platforms for building Smart client applications : Flex : from Adobe. JavaFX : from SUN. Windows Presentation Foundation (WPF)/SliverLight : for Microsoft DataSnap/WebServices : from CodeGear. WPF and SL both provide look and feel of desktop applications, but still runs on browser. So they combine the features of Thick client and Thin Client , thus called Smart client. Smart Client is also called "Rich Internet Application" (RIA) and "rich web application".
  • 4. SilverLight Vs WPF 1. Silverlight is simply a subset of WPF. 2. Silverlight is meant to be used online, while WPF is for local use. 3. You can use Silverlight applications regardless of the operating system you use, while WPF applications are restricted to later versions of the Windows operating system. 4. Silverlight lacks access to local resources, while WPF can utilize local resources. 5. Silverlight only has perspective 3D support, while WPF is capable of full 3D images. Read more: http://wpfslguidance.codeplex.com/ http://msdn.microsoft.com/en-us/library/cc903925(VS.95).aspx WPF standalone Vs XBAP Application: Feature Standalone XBAP Installed Installed on users computer. Not installed on the client’s computer. Start Menu Appears in Start Menu. Does not appear in the Start Menu. Control Panel: Appears in the Add/Remove Does not appear in the Add/Remove Programs Programs. Add/Remove Programs. Installment methods Installed via XCopy, Windows Are automatically deployed via Installer (MSI) or ClickOnce. ClickOnce. YourApp.xbap is really a ClickOnce deployment manifest. Code Access Security Runs in Full Trust unless Runs in Internet Zone . modified by Administrator. Sandbox restrictions N/A if run as Full Trust. See list below. Process Runs in its own standard OS Runs in PresentationHost.exe window. Presentation host is registered as the shell and MIME handler for *.xbap files. Automatic Updates Standalone apps are not Newer version on server is
  • 5. automatically updated. always used. Developer must write auto updating framework or use the Microsoft ClickOnce system. Offline access Application works if offline. Cannot run XBAP application unless user can navigate to the XBAP URL. Requirements .NET 3.0 or later installed on .NET 3.0 or later installed on user computer. user computer. Internet Explorer(6.0 or later) Firefox (2.0 or later). References: http://blog.wpfwonderland.com/2007/01/28/comparing-wpf-applications-and-xbap- whats-the-difference/ ASP .Net Web Forms vs MVC OK, Now ASP .Net has been selected, but still there are 2 options to go with ASP .Net namely, Web forms and MVC. Advantages of Web Form Model 1. Powerfull Tooling/designer support 2. Provides RAD development. 3. Decarative Syntax 4. Strong Third party controls support. 5. Easy development model for heavy data-driven LOB applications. 6. Event Driven programming Model. 7. Similar model for windows form developers. 8. BuildinViewState Support 9. Buildin PostBack Support. Advantages of MVC Model 1. Enable clean separation of concerns (SoC) . 2. Enable full control over the rendered HTML. 3. Enable Test Driven Development (TDD) (built with TDD in mind). 4. SEO and REST friendly URL. 5. Easy integration with JavaScript frameworks. 6. Support third-party view engines such as NVelocity, Brail, NHaml.
  • 6. 7. No ViewState and PostBack events. 8. Follows the stateless nature of web. 9. Extensible and Pluggable framework. Project Future Guidelines: 1. As PCMS, Pegasus Cargo Management System, release 6 is implemented as Smart Client application in Windows Presentation Foundation So there is no need for a version in Sliver Light which is also a smart client technology. 2. However there is a need for thin client implementation of PCMS as Release 7, which will be implemented in ASP .Net. 3. As there are two development patterns of ASP .Net, namely Web forms and MVC. So read the feature set for each method in section and lets decide the which pattern to adopt. 4. As MVC implementation in ASP .Net is new, so a POC is required to explore the complete feature set in terms of programming for MVC. Related Topics: 1. Differentiate between Thick client, Think client and smart Client with examples? 2. Differentiate between ASP .Net Web forms and MVC? 3. Differentiate between Windows Presentation Foundation and Silver Light of Microsoft .Net? 4. Differentiate between WPF standalone and XBAP Application?