SlideShare una empresa de Scribd logo
1 de 16
Getting Started with F# Web Development  October 21, 2010 1
Daniel MohlC# MVP and F# Insider October 21, 2010 2 dmohl@yahoo.com www.twitter.com/dmohl blog.danielmohl.com
What Are We Doing? Why F#? F# Primer/Review F#/C# Silverlight Example F# Silverlight Example F#/C# ASP.NET MVC 2 Example WebSharper Example What Wasn’t Covered? Wrap it Up October 21, 2010 3
Why F#? Simple Code to Solve Complex Problems Terse Yet Readable Less Errors Features Not In Other Mainstream Languages Staying Ahead of the Competition October 21, 2010 4
Why F# for Web Dev? Asynchronous Workflows and Reactive Programming F#/JavaScript Commonalities Easier to support next generation web development  Silverlight HTML5 (Web Sockets, Canvas)  Twitter Feed Sample (Reactive Programming) Web Socket Example Canvas Example October 21, 2010 5
F# Primer/Review Whitespace Matters The let Keyword Pattern Matching More During the Demos October 21, 2010 6
Whitespace Matters October 21, 2010 7 //F# open System let doSomethingval =  val + val Console.WriteLine    (doSomething 1) //C# using System; namespace ConsoleApplication1 { class Program { static intdoSomething(intval) { return val + val; } static void Main(string[] args) { Console.WriteLine( doSomething(1));             } } }
The let Keyword October 21, 2010 8 //F# open System let val2 = 1 let doSomethingval =  val + val2 Console.WriteLine    (doSomething 1) //C# using System; namespace ConsoleApplication1 {  class Program {    static int val2 = 1; static intdoSomething(intval) { return val+ val2; } static void Main(string[] args) { Console.WriteLine( doSomething(1));             } } }
Pattern Matching October 21, 2010 9 Kind of like a switch/case statement, but so much more!
F#/C# Silverlight Example http://visualstudiogallery.msdn.microsoft.com/en-us/64f3d710-04c1-42d2-9e5d-4e20a19a7666 October 21, 2010 10
F# Silverlight Example http://visualstudiogallery.msdn.microsoft.com/en-us/f0e9a557-3fd6-41d9-8518-c1735b382c73 October 21, 2010 11
F#/C# ASP.NET MVC2 Example http://visualstudiogallery.msdn.microsoft.com/en-us/c36619e5-0d4a-4067-8ced-decd18e834c9 October 21, 2010 12
WebSharper Example http://visualstudiogallery.msdn.microsoft.com/en-us/288b94ea-0ea7-4dde-8906-f72eb22fbe1b October 21, 2010 13
What Wasn’t Covered? October 21, 2010 14 Lots of F# Features Other F# Web Frameworks Bistro Suave Frank and Frack
More Information October 21, 2010 15 Books - http://msdn.microsoft.com/en-us/fsharp/gg262865.aspx F# MSDN - http://msdn.microsoft.com/en-us/fsharp/gg262865.aspx Blogs Twitter Ask – F# has the greatest community around
Daniel MohlC# MVP and F# Insider October 21, 2010 16 dmohl@yahoo.com www.twitter.com/dmohl blog.danielmohl.com

Más contenido relacionado

Similar a Getting Started with F# Web Development

Building Better Web Apps with F#
Building Better Web Apps with F#Building Better Web Apps with F#
Building Better Web Apps with F#
Dan Mohl
 
What the math geeks don't want you to know about F#
What the math geeks don't want you to know about F#What the math geeks don't want you to know about F#
What the math geeks don't want you to know about F#
Kevin Hazzard
 
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And DxlBp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
dominion
 

Similar a Getting Started with F# Web Development (20)

Building Better Web Apps with F#
Building Better Web Apps with F#Building Better Web Apps with F#
Building Better Web Apps with F#
 
Bay NET Aug 19 2009 presentation ppt
Bay  NET Aug 19 2009 presentation pptBay  NET Aug 19 2009 presentation ppt
Bay NET Aug 19 2009 presentation ppt
 
Practical F#
Practical F#Practical F#
Practical F#
 
Functional webapplicaations using fsharp and suave
Functional webapplicaations using fsharp and suaveFunctional webapplicaations using fsharp and suave
Functional webapplicaations using fsharp and suave
 
Getting+started+with+f#+web+development
Getting+started+with+f#+web+developmentGetting+started+with+f#+web+development
Getting+started+with+f#+web+development
 
JMP208 The Never Ending Integration Story: How to Integrate Your Lotus Notes,...
JMP208 The Never Ending Integration Story: How to Integrate Your Lotus Notes,...JMP208 The Never Ending Integration Story: How to Integrate Your Lotus Notes,...
JMP208 The Never Ending Integration Story: How to Integrate Your Lotus Notes,...
 
Lotusphere 2011 - Jmp208
Lotusphere 2011 - Jmp208Lotusphere 2011 - Jmp208
Lotusphere 2011 - Jmp208
 
What the math geeks don't want you to know about F#
What the math geeks don't want you to know about F#What the math geeks don't want you to know about F#
What the math geeks don't want you to know about F#
 
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And DxlBp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
Bp308 Ibm Lotus Domino Web Facelift Using Ajax And Dxl
 
EF Core (RC2)
EF Core (RC2)EF Core (RC2)
EF Core (RC2)
 
C# Introduction brief
C# Introduction briefC# Introduction brief
C# Introduction brief
 
Characteristics of c#
Characteristics of c#Characteristics of c#
Characteristics of c#
 
Bp205
Bp205Bp205
Bp205
 
3iGlobal Pvt. Ltd. - Presentation on Web 2.0 Technologies
3iGlobal Pvt. Ltd. - Presentation on Web 2.0 Technologies3iGlobal Pvt. Ltd. - Presentation on Web 2.0 Technologies
3iGlobal Pvt. Ltd. - Presentation on Web 2.0 Technologies
 
3iGlobal Pvt. Ltd. - Presentation on Web 2.0 Technologies
3iGlobal Pvt. Ltd. - Presentation on Web 2.0 Technologies3iGlobal Pvt. Ltd. - Presentation on Web 2.0 Technologies
3iGlobal Pvt. Ltd. - Presentation on Web 2.0 Technologies
 
WPF Applications, It's all about XAML these days
WPF Applications, It's all about XAML these daysWPF Applications, It's all about XAML these days
WPF Applications, It's all about XAML these days
 
Progressive f# tutorials nyc don syme on keynote f# in the open source world
Progressive f# tutorials nyc don syme on keynote f# in the open source worldProgressive f# tutorials nyc don syme on keynote f# in the open source world
Progressive f# tutorials nyc don syme on keynote f# in the open source world
 
IE9: Power, Peformance and Standards
IE9: Power, Peformance and StandardsIE9: Power, Peformance and Standards
IE9: Power, Peformance and Standards
 
11 Reasons Why C# is the Right Choice for Your Next Project
11 Reasons Why C# is the Right Choice for Your Next Project11 Reasons Why C# is the Right Choice for Your Next Project
11 Reasons Why C# is the Right Choice for Your Next Project
 
A developer's first impressions for windows 8
A developer's first impressions for windows 8A developer's first impressions for windows 8
A developer's first impressions for windows 8
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Getting Started with F# Web Development

  • 1. Getting Started with F# Web Development October 21, 2010 1
  • 2. Daniel MohlC# MVP and F# Insider October 21, 2010 2 dmohl@yahoo.com www.twitter.com/dmohl blog.danielmohl.com
  • 3. What Are We Doing? Why F#? F# Primer/Review F#/C# Silverlight Example F# Silverlight Example F#/C# ASP.NET MVC 2 Example WebSharper Example What Wasn’t Covered? Wrap it Up October 21, 2010 3
  • 4. Why F#? Simple Code to Solve Complex Problems Terse Yet Readable Less Errors Features Not In Other Mainstream Languages Staying Ahead of the Competition October 21, 2010 4
  • 5. Why F# for Web Dev? Asynchronous Workflows and Reactive Programming F#/JavaScript Commonalities Easier to support next generation web development Silverlight HTML5 (Web Sockets, Canvas) Twitter Feed Sample (Reactive Programming) Web Socket Example Canvas Example October 21, 2010 5
  • 6. F# Primer/Review Whitespace Matters The let Keyword Pattern Matching More During the Demos October 21, 2010 6
  • 7. Whitespace Matters October 21, 2010 7 //F# open System let doSomethingval = val + val Console.WriteLine (doSomething 1) //C# using System; namespace ConsoleApplication1 { class Program { static intdoSomething(intval) { return val + val; } static void Main(string[] args) { Console.WriteLine( doSomething(1)); } } }
  • 8. The let Keyword October 21, 2010 8 //F# open System let val2 = 1 let doSomethingval = val + val2 Console.WriteLine (doSomething 1) //C# using System; namespace ConsoleApplication1 { class Program { static int val2 = 1; static intdoSomething(intval) { return val+ val2; } static void Main(string[] args) { Console.WriteLine( doSomething(1)); } } }
  • 9. Pattern Matching October 21, 2010 9 Kind of like a switch/case statement, but so much more!
  • 10. F#/C# Silverlight Example http://visualstudiogallery.msdn.microsoft.com/en-us/64f3d710-04c1-42d2-9e5d-4e20a19a7666 October 21, 2010 10
  • 11. F# Silverlight Example http://visualstudiogallery.msdn.microsoft.com/en-us/f0e9a557-3fd6-41d9-8518-c1735b382c73 October 21, 2010 11
  • 12. F#/C# ASP.NET MVC2 Example http://visualstudiogallery.msdn.microsoft.com/en-us/c36619e5-0d4a-4067-8ced-decd18e834c9 October 21, 2010 12
  • 14. What Wasn’t Covered? October 21, 2010 14 Lots of F# Features Other F# Web Frameworks Bistro Suave Frank and Frack
  • 15. More Information October 21, 2010 15 Books - http://msdn.microsoft.com/en-us/fsharp/gg262865.aspx F# MSDN - http://msdn.microsoft.com/en-us/fsharp/gg262865.aspx Blogs Twitter Ask – F# has the greatest community around
  • 16. Daniel MohlC# MVP and F# Insider October 21, 2010 16 dmohl@yahoo.com www.twitter.com/dmohl blog.danielmohl.com