Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 175 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
175
Dung lượng
5,42 MB
Nội dung
[...]... creation of F# web applications and web services that run on Windows Azure Additionally, it provides F# examples for interacting with several of the Azure APIs Lastly, it talks about a few excellent examples of libraries and runtimes that have been built withF# to run on Azure Chapter 4, Constructing Scalable Web andMobileSolutions This chapter goes into more detail on how to use F#with other technologies... make your life easier as a web,cloud,andmobile solution developer Appendix B, Useful Websites This appendix provides a number of links to websites that offer information on F# as well as other tools and libraries that are mentioned in the book Appendix C, Client-Side Technologies That Go Well withF# This appendix briefly explores a few technologies that complement F# web andmobile development Conventions... ASP.NET MVC 4, but are commonly used in conjunction with this framework, will be exemplified Throughout the chapter, features of F# that may seem magical will be demystified The rest of the book will explore additional platforms, technologies, libraries, and fea‐ tures that you can use withF# to create cutting-edge web,cloud,andmobilesolutions 1 The F# ASP.NET MVC 4 Project Templates The developer... author, publisher, and ISBN For example: BuildingWeb,Cloud,andMobileSolutionswithF# by Daniel Mohl (O’Reilly) Copyright 2013 Daniel Mohl, 978-1-449-33376-8.” If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at permissions@oreilly.com Safari® Books Online Safari Books Online (www.safaribooksonline.com) is an on-demand digital library... Chapter 1: Building an ASP.NET MVC 4 Web Application withF# The obj keyword is an F#- type alias for object I will talk more about type aliases in Chapter 2 Models Models can be created with either F# record types or classes Out of the box, F# records work well for read-only data and allow the models to be slightly simpler In F# 3.0, a new attribute called CLIMutable has been added that makes F# records... built with an F# record: namespace FsWeb.Models type Guitar = { Id : Guid; Name : string } Prior to F# 3.0, F# record usage in both read-only and read/write sit‐ uations was possible, but more difficult This is because F# records do not have a parameterless constructor The best solution to this problem (prior to F# 3.0) was to use a custom model binder The second option for building models withF# is... how to get started, and examples are provided for each option This book also features several appendixes that provide information that can help you on your journey toward developing cutting-edge web,cloud,andmobile solutions, but that do not fall directly into the scope of the main concepts covered in the core chapters Appendix A, Useful Tools and Libraries This appendix lists and briefly describes... create scalable solutions that allow reuse by mobileand web frontends The chapter includes information and/ or examples for building web sockets, using SignalR, storing data in various NoSQL databases, and more Chapter 5, Functional Frontend Development This chapter introduces LiveScript, Pit, and WebSharper, which are tools that, among other things, allow the creation of client-side code with a functional... IDbSet member x.Guitars with get() = x.guitars and set v = x.guitars . details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc. Building Web, Cloud, and Mobile Solutions. wish
to learn how to combine F# with other technologies to build better web, cloud, and
mobile solutions. If you are brand new to F#, I encourage you to check