SlideShare ist ein Scribd-Unternehmen logo
1 von 15
XAML &
HTML+CSS
Ahmad Awsaf-uz-zaman
Apr 21, 2016
www.a2z-soft.com
What Is XAML?
 Stands for Extensible Application Markup
Language
 XAML (pronounced "zammel")
 It is an XML-based markup language
developed by Microsoft.
 XAML is the language behind the visual
presentation of an application just as HTML is
the language behind the visual presentation
of a Web page.
www.a2z-soft.com
2
What Is XAML?
www.a2z-soft.com
3
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="ExampleNamespace.ExamplePage">
<Button Click="Button_Click" >Click Me!</Button>
</Page>
XAML Used
 WPF (Windows Presentation Foundation)
 WP7/8 (Windows Phone 7/8)
 UWP (Universal Windows Platform)
 Silverlight
www.a2z-soft.com
4
Supported Platforms
 WPF applications are supported Windows 7 or higher
 Desktop based software
 Windows Tablets
 WP apps are supported Windows Phone 7/8
 Windows Mobile
 UWP applications are supported Windows 8 or higher
 Windows store apps
 Windows 8/10 apps,
 Windows Tablets
 Windows Mobile
 Silverlight
 Web browsers
www.a2z-soft.com
5
Why Is XAML Important?
 XAML is a richer language, offering the ability to create
user interfaces in Windows.
 XAML is very easy to use and ties up tightly with the
underlying .NET Framework and classes.
 Each and every XAML element corresponds to a .NET
Framework class and comes with a collection of
methods, properties, and events.
 Adding a new tag to the XAML file will instantiate the
corresponding object at runtime.
www.a2z-soft.com
6
What Is HTML?
 Stands for Hyper Text Markup Language
 HTML is a computer language devised to
allow website creation.
 HTML tags describe webpage structure & look.
 Each HTML tag describes different document
content
www.a2z-soft.com
7
What Is HTML?
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
www.a2z-soft.com
8
Why Is HTML Important?
 HTML is highly flexible
 HTML is user friendly
 HTML is easily understandable
 HTML is an open technology
 HTML is consistent and efficient
 HTML provides search engine compatible pages
 HTML is easier to maintain and update any site
 HTML does not involve strain on the servers
 HTML takes less time to load the web pages
 HTML is supported on almost every browser
www.a2z-soft.com
9
Difference between XAML and
HTML
XAML HTML
It is a newer, exciting technology It is mature and well understood
It can be handle with C#, VB.NE (Microsoft
Languages)
It can be handle with C#, PHP (Any Languages and
Scripts)
Relatively heavy weighted Light weighted
Target are both web based and desktop based
systems
Main target is web based systems
Usually it is used using C#/VB.NET Usually it is used using CSS and JavaScript
Recommended for big applications i.e. ERP
software
Recommended for website or medium weighted
applications
Not supported cross-platform except Silverlight
applications
Supported Cross-platform
www.a2z-soft.com
10
Similarities between XAML and
HTML
Features XAML HTML+CSS
Type Markup language Markup language
Element Design using tags of XAML Design using tags of HTML
Platforms Depends Cross-platform
Layout
<StackPanel>
<DockPanel>
<WrapPanel>
<Canvas>
<Viewbox>
<div>
With CSS
<Grid> <table>
www.a2z-soft.com
11
Similarities between XAML and
HTML
Features XAML HTML+CSS
Label
<TextBlock >
<Label >
<span>
<i>
<div>
Input control
<TextBox> <input type=“input”>
Password Input Control <PasswordBox> <input> type=“password”
Display Table
<DataGrid>
<ListView>
<table>
Menu <Menu> <ul> + CSS
www.a2z-soft.com
12
Similarities between XAML and
HTML
Features XAML HTML+CSS
Button <Button> <button type="button">
Radio Button <RadioButton> <input type="radio“>
Check Box <CheckBox> <input type="checkbox“>
List Box <ListBox>
<ul>
<ol>
www.a2z-soft.com
13
An example of XAML & HTML
www.a2z-soft.com
14
XAML:
<TextBox Text="Hello, world!" />
HTML:
<input type="text" value="Hello, world!">
Conclusion
There are lots of things to love about XAML.
And lots of UI technologies (like HTML5) have
benefits (especially in Metro). However I
choose XAML especially for Windows
Platforms. If you would like to develop cross-
platform mobile apps, it would better use
HTML. Your choice may be different. If it is, just
be sure that you have reasons for your choice.
Not all choices are equal. Not at all.
www.a2z-soft.com
15

Weitere ähnliche Inhalte

Was ist angesagt?

Regular Expression to Finite Automata
Regular Expression to Finite AutomataRegular Expression to Finite Automata
Regular Expression to Finite AutomataArchana Gopinath
 
Linked stacks and queues
Linked stacks and queuesLinked stacks and queues
Linked stacks and queuesRamzi Alqrainy
 
Hash table in data structure and algorithm
Hash table in data structure and algorithmHash table in data structure and algorithm
Hash table in data structure and algorithmAamir Sohail
 
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manual
Fundamentals of Database Systems 6th Edition Elmasri Solutions ManualFundamentals of Database Systems 6th Edition Elmasri Solutions Manual
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manualtefimetib
 
01 knapsack using backtracking
01 knapsack using backtracking01 knapsack using backtracking
01 knapsack using backtrackingmandlapure
 
Lecture: Regular Expressions and Regular Languages
Lecture: Regular Expressions and Regular LanguagesLecture: Regular Expressions and Regular Languages
Lecture: Regular Expressions and Regular LanguagesMarina Santini
 
1 - Introduction to Compilers.ppt
1 - Introduction to Compilers.ppt1 - Introduction to Compilers.ppt
1 - Introduction to Compilers.pptRakesh Kumar
 
Comparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptxComparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptx42MOHDASIL
 
Greedy with Task Scheduling Algorithm.ppt
Greedy with Task Scheduling Algorithm.pptGreedy with Task Scheduling Algorithm.ppt
Greedy with Task Scheduling Algorithm.pptRuchika Sinha
 
Dijkstra Searching Algorithms.pptx
Dijkstra Searching Algorithms.pptxDijkstra Searching Algorithms.pptx
Dijkstra Searching Algorithms.pptxsandeep54552
 
Ordenamiento con árbol binario
Ordenamiento con árbol binarioOrdenamiento con árbol binario
Ordenamiento con árbol binarioedwinosuna
 
Online algorithms and their applications
Online algorithms and their applicationsOnline algorithms and their applications
Online algorithms and their applicationsVikas Jindal
 

Was ist angesagt? (20)

Regular Expression to Finite Automata
Regular Expression to Finite AutomataRegular Expression to Finite Automata
Regular Expression to Finite Automata
 
Lambda Calculus
Lambda CalculusLambda Calculus
Lambda Calculus
 
Linked stacks and queues
Linked stacks and queuesLinked stacks and queues
Linked stacks and queues
 
Android - Values folder
Android - Values folderAndroid - Values folder
Android - Values folder
 
Hash table in data structure and algorithm
Hash table in data structure and algorithmHash table in data structure and algorithm
Hash table in data structure and algorithm
 
Shift reduce parser
Shift reduce parserShift reduce parser
Shift reduce parser
 
Hashing PPT
Hashing PPTHashing PPT
Hashing PPT
 
Dfs
DfsDfs
Dfs
 
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manual
Fundamentals of Database Systems 6th Edition Elmasri Solutions ManualFundamentals of Database Systems 6th Edition Elmasri Solutions Manual
Fundamentals of Database Systems 6th Edition Elmasri Solutions Manual
 
01 knapsack using backtracking
01 knapsack using backtracking01 knapsack using backtracking
01 knapsack using backtracking
 
Lecture: Regular Expressions and Regular Languages
Lecture: Regular Expressions and Regular LanguagesLecture: Regular Expressions and Regular Languages
Lecture: Regular Expressions and Regular Languages
 
1 - Introduction to Compilers.ppt
1 - Introduction to Compilers.ppt1 - Introduction to Compilers.ppt
1 - Introduction to Compilers.ppt
 
Comparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptxComparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptx
 
Greedy with Task Scheduling Algorithm.ppt
Greedy with Task Scheduling Algorithm.pptGreedy with Task Scheduling Algorithm.ppt
Greedy with Task Scheduling Algorithm.ppt
 
Dijkstra Searching Algorithms.pptx
Dijkstra Searching Algorithms.pptxDijkstra Searching Algorithms.pptx
Dijkstra Searching Algorithms.pptx
 
Ordenamiento con árbol binario
Ordenamiento con árbol binarioOrdenamiento con árbol binario
Ordenamiento con árbol binario
 
Data structure
Data structureData structure
Data structure
 
Slide2
Slide2Slide2
Slide2
 
Data administration
Data administrationData administration
Data administration
 
Online algorithms and their applications
Online algorithms and their applicationsOnline algorithms and their applications
Online algorithms and their applications
 

Ähnlich wie About XAML & HTML+CSS

Introduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniIntroduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniJoseph Khan
 
Introduction To Website Development
Introduction To Website DevelopmentIntroduction To Website Development
Introduction To Website Developmentzaidfarooqui974
 
Windows Presentation Foundation & XAML
Windows Presentation Foundation & XAMLWindows Presentation Foundation & XAML
Windows Presentation Foundation & XAMLAlex Sooraj
 
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with SilverlightRe-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with SilverlightFrank La Vigne
 
Aspnet2.0 Introduction
Aspnet2.0 IntroductionAspnet2.0 Introduction
Aspnet2.0 IntroductionChanHan Hy
 
Introduction to silver light
Introduction to silver lightIntroduction to silver light
Introduction to silver lightjayc8586
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Riaravinxg
 
Web Engineering
Web Engineering  Web Engineering
Web Engineering Al Mamun
 
Online furniture management system
Online furniture management systemOnline furniture management system
Online furniture management systemYesu Raj
 
Technologies Which Can be Helpful for Web Application Development
Technologies Which Can be Helpful for Web Application DevelopmentTechnologies Which Can be Helpful for Web Application Development
Technologies Which Can be Helpful for Web Application DevelopmentAnna Harris
 
Uncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarUncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarAbram John Limpin
 
WebAssembly and .NET
WebAssembly and .NETWebAssembly and .NET
WebAssembly and .NETJoanna Lamch
 

Ähnlich wie About XAML & HTML+CSS (20)

Silverlight Training
Silverlight TrainingSilverlight Training
Silverlight Training
 
Introduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniIntroduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - Zaloni
 
What is Adobe Flex ?
What is Adobe Flex  ?What is Adobe Flex  ?
What is Adobe Flex ?
 
Adobe® Flex™
Adobe® Flex™Adobe® Flex™
Adobe® Flex™
 
Introduction To Website Development
Introduction To Website DevelopmentIntroduction To Website Development
Introduction To Website Development
 
Silverlight
SilverlightSilverlight
Silverlight
 
Windows Presentation Foundation & XAML
Windows Presentation Foundation & XAMLWindows Presentation Foundation & XAML
Windows Presentation Foundation & XAML
 
Wpf 1
Wpf 1Wpf 1
Wpf 1
 
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with SilverlightRe-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
Re-use Your Skills and Code to Expand the Reach of Your Apps with Silverlight
 
Aspnet2.0 Introduction
Aspnet2.0 IntroductionAspnet2.0 Introduction
Aspnet2.0 Introduction
 
Introduction to silver light
Introduction to silver lightIntroduction to silver light
Introduction to silver light
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
 
Flex RIA
Flex RIAFlex RIA
Flex RIA
 
Web Engineering
Web Engineering  Web Engineering
Web Engineering
 
Online furniture management system
Online furniture management systemOnline furniture management system
Online furniture management system
 
Technologies Which Can be Helpful for Web Application Development
Technologies Which Can be Helpful for Web Application DevelopmentTechnologies Which Can be Helpful for Web Application Development
Technologies Which Can be Helpful for Web Application Development
 
Web technology
Web technologyWeb technology
Web technology
 
Uncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight SeminarUncovering Windows - Silverlight Seminar
Uncovering Windows - Silverlight Seminar
 
WebAssembly and .NET
WebAssembly and .NETWebAssembly and .NET
WebAssembly and .NET
 
Adobe Flex
Adobe FlexAdobe Flex
Adobe Flex
 

Kürzlich hochgeladen

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Kürzlich hochgeladen (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

About XAML & HTML+CSS

  • 1. XAML & HTML+CSS Ahmad Awsaf-uz-zaman Apr 21, 2016 www.a2z-soft.com
  • 2. What Is XAML?  Stands for Extensible Application Markup Language  XAML (pronounced "zammel")  It is an XML-based markup language developed by Microsoft.  XAML is the language behind the visual presentation of an application just as HTML is the language behind the visual presentation of a Web page. www.a2z-soft.com 2
  • 4. XAML Used  WPF (Windows Presentation Foundation)  WP7/8 (Windows Phone 7/8)  UWP (Universal Windows Platform)  Silverlight www.a2z-soft.com 4
  • 5. Supported Platforms  WPF applications are supported Windows 7 or higher  Desktop based software  Windows Tablets  WP apps are supported Windows Phone 7/8  Windows Mobile  UWP applications are supported Windows 8 or higher  Windows store apps  Windows 8/10 apps,  Windows Tablets  Windows Mobile  Silverlight  Web browsers www.a2z-soft.com 5
  • 6. Why Is XAML Important?  XAML is a richer language, offering the ability to create user interfaces in Windows.  XAML is very easy to use and ties up tightly with the underlying .NET Framework and classes.  Each and every XAML element corresponds to a .NET Framework class and comes with a collection of methods, properties, and events.  Adding a new tag to the XAML file will instantiate the corresponding object at runtime. www.a2z-soft.com 6
  • 7. What Is HTML?  Stands for Hyper Text Markup Language  HTML is a computer language devised to allow website creation.  HTML tags describe webpage structure & look.  Each HTML tag describes different document content www.a2z-soft.com 7
  • 8. What Is HTML? <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> www.a2z-soft.com 8
  • 9. Why Is HTML Important?  HTML is highly flexible  HTML is user friendly  HTML is easily understandable  HTML is an open technology  HTML is consistent and efficient  HTML provides search engine compatible pages  HTML is easier to maintain and update any site  HTML does not involve strain on the servers  HTML takes less time to load the web pages  HTML is supported on almost every browser www.a2z-soft.com 9
  • 10. Difference between XAML and HTML XAML HTML It is a newer, exciting technology It is mature and well understood It can be handle with C#, VB.NE (Microsoft Languages) It can be handle with C#, PHP (Any Languages and Scripts) Relatively heavy weighted Light weighted Target are both web based and desktop based systems Main target is web based systems Usually it is used using C#/VB.NET Usually it is used using CSS and JavaScript Recommended for big applications i.e. ERP software Recommended for website or medium weighted applications Not supported cross-platform except Silverlight applications Supported Cross-platform www.a2z-soft.com 10
  • 11. Similarities between XAML and HTML Features XAML HTML+CSS Type Markup language Markup language Element Design using tags of XAML Design using tags of HTML Platforms Depends Cross-platform Layout <StackPanel> <DockPanel> <WrapPanel> <Canvas> <Viewbox> <div> With CSS <Grid> <table> www.a2z-soft.com 11
  • 12. Similarities between XAML and HTML Features XAML HTML+CSS Label <TextBlock > <Label > <span> <i> <div> Input control <TextBox> <input type=“input”> Password Input Control <PasswordBox> <input> type=“password” Display Table <DataGrid> <ListView> <table> Menu <Menu> <ul> + CSS www.a2z-soft.com 12
  • 13. Similarities between XAML and HTML Features XAML HTML+CSS Button <Button> <button type="button"> Radio Button <RadioButton> <input type="radio“> Check Box <CheckBox> <input type="checkbox“> List Box <ListBox> <ul> <ol> www.a2z-soft.com 13
  • 14. An example of XAML & HTML www.a2z-soft.com 14 XAML: <TextBox Text="Hello, world!" /> HTML: <input type="text" value="Hello, world!">
  • 15. Conclusion There are lots of things to love about XAML. And lots of UI technologies (like HTML5) have benefits (especially in Metro). However I choose XAML especially for Windows Platforms. If you would like to develop cross- platform mobile apps, it would better use HTML. Your choice may be different. If it is, just be sure that you have reasons for your choice. Not all choices are equal. Not at all. www.a2z-soft.com 15