Index
Symbols
- ! (exclamation point)
- # (hash)
- $ (dollar sign)
- &&& (fan-out) operator, More Sophisticated Fields
- () (parentheses), representing an empty response, Html
- * (asterisk), beginning dynamic multi pieces, Types of pieces
- + (plus sign), indicating dynamic multi pieces, Types of pieces
- . (period), using for class attributes in Hamlet, Attributes
- /<-. (is not member) operator, Select Functions
- /=. (divide and set) operator, Select Functions
- : (colon), using to add attributes in Hamlet, Attributes
- <$> operator, Creating AForms
- <*> operator, Creating AForms
- <-. (is member) operator, Select Functions
- = (equals sign), in attributes in Hamlet, Attributes
- @ (at sign)
- ^. (projection) operator, Esqueleto
- _ (underscore)
- {…}, variable interpolation in Shakespeare, Types
- || (OR) operator, Select Functions
- ʌ (caret)
A
- absolute URLs, Rendering and Parsing URLs
- Accept header, Representations, HasContentType and Representations
- Accept-Encoding header, Other Request Headers
- Accept-Language header, Other Request Headers
- addStaticContent function, External CSS and JavaScript
- aeson package, Non-HTML Responses, JSON Conveniences, JSON Web Service
- AForms, Types
- alreadyExpired function, Response Headers
- ALTER TABLE command, Migrations
- Amazon SES, Email
- AND operator, Select Functions
- AnyMethodR, Generated Code
- aopt function, Optional Fields
- Apache web server, CGI on, CGI on Apache
- API documentation, Haskell, API Documentation
- App type, What About Yesod?
- App {..}, Step 2: Use the Foundation
- Application class, Layers, Hello, Warp
- Application module, Foundation and Application Modules
- application/json mime type, Representations
- applicative forms, Kinds of Forms, Types, Blog: i18n, Authentication, Authorization, and Database
- APPROOT environment variable, Rendering and Parsing URLs
- approot, value of, Rendering and Parsing URLs
- ApprootMaster typeclass, Rendering and Parsing URLs
- ApprootRelative typeclass, Rendering and Parsing URLs
- ApprootRequest typeclass, Rendering and Parsing URLs
- AprootStatic typeclass, Rendering and Parsing URLs
- areq function, Creating AForms
- associated types, What About Yesod?
- at-sign interpolation (@{…}), Resources and Type-Safe URLs, Interpolation
- attoparsec, Server
- attributes
- authentication and authorization, Authentication and Authorization-Summary
- auhorization, Authorization
- authentication example, Authenticate Me
- blog application (example), Blog: i18n, Authentication, Authorization, and Database
- defined, Authentication and Authorization
- email authentication, Email-Authorization
- overview, Overview
- with Yesod typeclass, Authentication/Authorization
- authHttpManager, Authenticate Me
- AuthId type, Overview, Authenticate Me
- authPlugins, Authenticate Me
- authRoute function, Authentication/Authorization, Authorization
- axes, Cursor
B
- badMethod function, Generated Code
- blaze-builder package, Hello, Warp, Server
- blaze-html packages, Types, Hello, Warp, Shakespeare
- blog application, Blog: i18n, Authentication, Authorization, and Database-Blog: i18n, Authentication, Authorization, and Database
- authentication, Blog: i18n, Authentication, Authorization, and Database
- authorization, Blog: i18n, Authentication, Authorization, and Database
- comment on blog post, Blog: i18n, Authentication, Authorization, and Database
- database, Blog: i18n, Authentication, Authorization, and Database
- imports, Blog: i18n, Authentication, Authorization, and Database
- individual blog entry, Blog: i18n, Authentication, Authorization, and Database
- internationalization (i18n), Blog: i18n, Authentication, Authorization, and Database
- language extensions in cabal file, Blog: i18n, Authentication, Authorization, and Database
- routing table, setting up, Blog: i18n, Authentication, Authorization, and Database
- setting up Persistent entities, Blog: i18n, Authentication, Authorization, and Database
- users, tracking, Blog: i18n, Authentication, Authorization, and Database
- widget, Blog: i18n, Authentication, Authorization, and Database
- blog post, form for, Values That Don’t Come from the User
- blogs, multiauthor, Multiauthor Blog
- boundary issue, Introduction
- Bounded type, More Sophisticated Fields
- bracket function, Hello, Warp
- broadcast channels
- BrowserID, Authentication and Authorization, Blog: i18n, Authentication, Authorization, and Database
- build tools
- Builder type, Hello, Warp, Client, Response Body
- buildExcerpts function, Searching, Searching
C
- C preprocessors, Tools
- Cabal, Tools
- cabal clean command, Compiling
- cabal install --only-dependencies command, The Scaffolded Site
- cacheSeconds function, Response Headers
- callbacks, Overview
- canonical URLs, Pieces
- case statement, case
- Cassius, Handler Function, Synopsis
- CGI, Warp, Web Application Interface
- chat subsite (example), Subsite: Data-Master Site: Data
- check function, Validation
- checkBool function, Validation
- checkM function, Validation
- cleanPath function, cleanPath, cleanPath, toWaiApp, toWaiAppPlain, and warp
- clearUltDest function, Ultimate Destination
- client-session-key.aes, Controlling Sessions
- client-side session cookies, server-side encryption for, Files to Deploy
- clientsession, clientsession
- code generation
- combinators (blaze-html), Shakespeare
- comment nodes (XML), The Four Types of Nodes
- Common Gateway Interface (see CGI)
- compiled languages versus interpreted languages, Development Server
- compiling web applications, Compiling
- concatMap function, Streaming xmlpipe Output
- conditionals in Hamlet, Conditionals
- conduit library, Hello, Warp, Server, Response
- configuration, environment variables for, Environment Variables for Configuration-Environment Variables for Configuration
- content nodes (XML), The Four Types of Nodes
- content system (Yesod), types, (To)Content, (To)TypedContent
- Content type, Content, (To)Content, (To)TypedContent
- content types, Html
- ContentBuilder typeclass, (To)Content, (To)TypedContent
- ContentDontEvaluate, (To)Content, (To)TypedContent
- ContentFile typeclass, (To)Content, (To)TypedContent
- ContentSource typeclass, (To)Content, (To)TypedContent
- continuation passing style, Hello, Warp, Hello, Warp, Types
- cookies, Getting Request Parameters
- counters (see visitor counter)
- CRandT monad transformer, Adding a New Monad Transformer
- cross-site request forgery (CSRF) attacks, Running Forms
- CSS
- curl commands, Representations
- CURRENT_TIME function, Attributes
- Cursor module, Cursor
- cursors (XML), Cursor
D
- data constructors, Terminology
- data declarations, Terminology
- data types (see types)
- database migrations, Migrations
- database-driven navbar (example), Example: Database-Driven Navbar
- databases
- backend, selecting, How to Scaffold
- blog application (example), Blog: i18n, Authentication, Authorization, and Database
- data sent to and from, types representing, Types
- database queries in widgets, Database Queries in Widgets
- manipulating data in, Manipulation
- SQLite, for Sphinx-based search, Basic Yesod Setup
- storing information in SQL database, Solving the Boundary Issue
- supported by Persistent, Persistent
- -ddump-splices GHC option, Template Haskell
- debugging, using MonadIO and MonadLogger for, I/O and Debugging
- declarations, generated by Template Haskell code, Template Haskell
- default attribute, Attributes
- defaultClientSessionBackend function, Controlling Sessions
- defaultErrorHandler function, Custom Error Pages
- defaultGetDBRunner, Basic Yesod Setup
- defaultLayout function, Handler Function
- delete function, Delete
- DELETE method, Request Methods
- deleteBy function, Delete
- deleteCookie function, Response Headers
- deleteWhere function, Delete
- dependencies, scaffolded site, How to Scaffold
- deploying web applications, Deploying Your Web App-CGI on lighttpd
- CGI on Apache, CGI on Apache
- CGI on lighttpd, CGI on lighttpd
- compiling, Compiling
- desktop, Desktop
- FastCGI on lighttpd, FastCGI on lighttpd
- files to deploy, Files to Deploy
- Keter, Keter
- Nginx and FastCGI, Nginx + FastCGI
- SSL and static files, SSL and Static Files
- Warp, Warp
- derivePersistentField function, Custom Fields
- development servers, Development Server, Warp, Web Application Interface
- dispatch, Dispatch
- arguments for handler function, Arguments
- complete code for non–Template Haskell approach, Complete Code
- dispatch function, Foundation and Application Modules
- handling for requests, Dispatch
- module for subsite dispatch code, Hello, World
- return type for handler functions, Return Type
- setting up for chat subsite (example), Subsite: Handlers
- Template Haskell generated code, Generated Code
- toWaiApp, toWaiAppPlain, and warp, toWaiApp, toWaiAppPlain, and warp
- using continuation passing style, Hello, Warp
- do notation, using to construct widget pieces, Combining Widgets
- doctype statement, doctype
- drop-down lists, More Sophisticated Fields
- dynamic multi pieces, Types of pieces
- dynamic parameters, Dynamic Parameters
- dynamic single piece, Types of pieces
E
- Either, Overview
- element nodes (XML), The Four Types of Nodes
- else statement, Conditionals
- elseif statement, Conditionals
- email, authentication with, Email-Authorization
- encryption
- Enctype, Types, Running Forms
- English, language codes for, Message Files
- entities
- entity encodings, Types
- Entity typeclass, Fetching by Unique Constraint
- Enum tye, More Sophisticated Fields
- environment information, Layers
- environment variables for configuration, Environment Variables for Configuration-Environment Variables for Configuration
- error messages, monad transformers and, Performance and Error Messages
- Error monad, Monad Transformers, Overview
- error pages, custom, Custom Error Pages
- errorHandler function, Custom Error Pages
- errorMessage function, Validation
- ErrorT monad transformer, Adding a New Monad Transformer, Overview, Intuition
- escapes (in Hamlet), Tags
- Esqueleto, Persistent, More Complex SQL
- switching to streaming response, Streaming
- type-safe DSL for writing SQL queries, Esqueleto
- Event interface, Streaming xmlpipe Output
- events
- exceptions, Short-Circuit Responses
- existingLinks function, Example: Database-Driven Navbar
- Expires header, Response Headers
- expiresAt function, Response Headers
- extensions (Haskell), Language Pragmas
- external files, calling Shakespeare from in Haskell code, Calling Shakespeare
F
- fan-out operator (&&&), More Sophisticated Fields
- FastCGI, Warp, Web Application Interface
- Field type, Types, Creating AForms, Custom Fields
- fieldEnctype function, Custom Fields
- FieldSettings type, Types, Creating AForms, Monadic Forms
- fieldView function, Custom Fields
- FieldView type, Monadic Forms
- file descriptors, Nginx + FastCGI
- FilePath type, A Note About File Paths
- files, serving, Hello, Warp
- Filesystem.Path.CurrentOS module, A Note About File Paths
- fileUpload function, Some Simple Settings
- Filter typeclass, Select Functions
- filtering
- Flush Builder values, Streaming
- forall statement, forall
- FormInput, Types
- FormMessage type, Types, i18n, Blog: i18n, Authentication, Authorization, and Database
- FormResult type, Types, Running Forms
- forms, Forms-Summary, Getting Request Parameters
- categories of, Kinds of Forms
- converting between kinds of, Converting
- creating AForms, Creating AForms
- custom fields, Custom Fields
- for blog application (example), Blog: i18n, Authentication, Authorization, and Database
- input, Input Forms
- internationalization (i18n), i18n
- monadic, Monadic Forms
- more sophisticated fields, More Sophisticated Fields
- naming conventions for form types, Kinds of Forms
- running, Running Forms
- Sphinx-based search (example), Basic Yesod Setup
- types, Types
- validation, Validation
- values not coming from the user, Values That Don’t Come from the User
- foundation data type, The Foundation, Foundation and Application Modules
- blog application (example), Blog: i18n, Authentication, Authorization, and Database
- creating for chat subsite (example), Subsite: Data
- creating for single process pub-sub (example), Foundation Data Type
- creating for visitor counter (example), Visitor Counter
- for wiki master site (example), Master Site: Data
- HelloSub (example), Hello, World
- initializing data in, Initializing Data in the Foundation Data Type-Summary
- uses of, What About Yesod?
- Foundation module, Foundation and Application Modules
- fragments, adding hash fragments to URLs, Query String and Hash Fragments
- FromJSON typeclass, JSON Conveniences
- fromPathPiece function, Types of pieces, Generated Code
- functions
G
- GADT (generalized algebraic data type), Code Generation
- GCC preprocessor, Tools
- generateFormGet function, Running Forms
- generateFormPost function, Running Forms
- generic types, More Complicated, More Generic
- get function, Code Generation
- GET requests, RESTful Content
- get404 function, Integration with Yesod
- getApplicationDev function, Foundation and Application Modules
- getAuthId function, Authenticate Me
- getBy function, Fetching by Unique Constraint
- getContentType function, New Data Types
- getHomeR function, New Data Types
- getMessage function, getMessage, Messages, Blog: i18n, Authentication, Authorization, and Database
- getOnlyGetR function, Generated Code
- getRequest function, Request Information
- getResults function, Searching
- getSession function, Session Operations
- getUrlRender function, Application Information
- getUrlRenderParams function, Application Information
- getXmlpipeR function, Streaming xmlpipe Output
- getYesod function, Application Information
- GHState typeclass, Layers
- Glasgow Haskell Compiler (GHC), Performance, Tools
- gzip, Middleware
H
- Hackage, API Documentation
- Haddock, API Documentation
- Hamlet, Handler Function, Synopsis
- blaze-html packages, Types
- converting a template to an Html value, defaultLayout
- database actions and, Database Queries in Widgets
- i18n interpolation (_{…}), Interpolation
- internationalization in, Alternative Hamlet Types
- syntax, Hamlet Syntax-Lucius Syntax
- types, alternatives to HtmlUrl, Alternative Hamlet Types
- using to construct widgets, Widgets
- variable interpolation in, Types
- hamlet (quasi-quoter), QuasiQuotes
- handler functions, Routing, Layers
- arguments, Arguments
- dealing with content, Content
- defining for subsite route type, Hello, World
- dispatch function and route type, Foundation and Application Modules
- for chat subsite (example), Subsite: Handlers
- Handler modules for, Handler Modules
- in Handler monad, The Handler Functions-Response Headers
- information needed for, Layers
- naming conventions, Handler Function
- return type, Return Type
- search handler, Sphinx-based search, Searching
- short circuiting, Short-Circuiting
- short-circuit responses, Short-Circuit Responses
- specifying for resources, Handler Specification
- streaming responses, Streaming
- using in widgets, Using Handler Functions
- writing, Writing Handlers-Dynamic Parameters
- Handler monad, Yesod’s Monads
- HandlerContents typeclass, Short-Circuit Responses
- HandlerData typeclass, Performance and Error Messages
- HandlerT monad transformer, Handler monad, The Three Transformers, Performance and Error Messages, The HandlerT Monad Transformer-Convenience warp Function
- handlerToWidget . runDB, Example: Database-Driven Navbar
- handlerToWidget function, Using Handler Functions, The Three Transformers, Database Queries in Widgets
- HasContentType typeclass, New Data Types, HasContentType and Representations
- hash fragments, Query String and Hash Fragments
- HashDB, Overview
- Haskell, Preface
- API documentation, API Documentation
- calling Shakespeare from, Calling Shakespeare
- language pragmas, Language Pragmas
- learning, resources for, Haskell
- overloaded strings, Overloaded Strings
- packages and libraries available in, A Solid Foundation
- QuasiQuotes (QQ), QuasiQuotes
- Template Haskell (TH), Template Haskell
- terminology, Terminology
- tools, Glasgow Haskell Compiler (GHC) and Cabal, Tools
- type families, Type Families
- Haskell Platform, Tools
- Haskell.org Hoogle instance, API Documentation
- head tags, external CSS and JavaScript in, External CSS and JavaScript
- headers
- Hello, World application, Hello, World, Hello, World
- hierarchical routes, Alternative Approach: Hierarchical Routes
- Hoogle, API Documentation
- Host header, Other Request Headers
- HTML
- coordination with CSS and JavaScript, Widgets
- generation of, superficial approach to, What’s in a Widget?
- Hamlet templating engine for, Handler Function, Synopsis
- handlers dealing with, Content
- Html response, The HandlerT Monad Transformer
- in widgets, What’s in a Widget?
- Nic editor, Blog: i18n, Authentication, Authorization, and Database
- representations of data, Representations
- result from Sphinx-based search, Searching
- xmltohtml, xml2html
- Html type, Types, Shakespeare
- as return type for handler functions, Html
- HtmlUrl type, Alternative Hamlet Types
- HTTP
- http function, Client, http and httpLbs
- http-conduit package, Client, http-conduit-http and httpLbs
- httpLbs function, Client, http and httpLbs
- HTTPS, SSL and Static Files
I
- i18n (see internationalization)
- identifiers
- IDs
- if statement, Conditionals
- Import module, Import
- Import.hs file, Routes and Entities
- index setting (Sphinx), Sphinx Setup
- indexer, Sphinx Setup
- indexer searcher command, Sphinx Setup
- input forms, Kinds of Forms, Input Forms
- insert function, Code Generation, Insert
- internationalization (i18n), Internationalization-Phrases, Not Words
- blog application (example)
- error messages, Validation
- form messages in blog application (example), Blog: i18n, Authentication, Authorization, and Database
- in blog application (example), Blog: i18n, Authentication, Authorization, and Database
- in forms, i18n
- in Hamlet, Alternative Hamlet Types
- interpolation, Interpolation
- message files, Message Files
- overview, Overview
- RenderMessage typeclass, RenderMessage typeclass
- translating phrases, not words, Phrases, Not Words
- interpolation, Interpolation
- interpreted languages versus compiled languages, Development Server
- invalidArgs function, Short-Circuiting
- IO base monad, Types, Validation, Monad Transformers
- IO Response, Hello, Warp
- iopt function, Input Forms
- IORef typeclass, Performance and Error Messages, Step 1: Define Your Foundation, Visitor Counter
- ireq function, Input Forms
- is member operator (<-.), Select Functions
- is not member operator (/<-. ), Select Functions
- isAuthorized function, Authentication/Authorization, Authorization, Route Attributes
- isLoggedIn function, Subsite: Widget
- IsString type, Overloaded Strings, Creating AForms, Types
- isWriteRequest function, Authentication/Authorization
L
- language pragmas, Language Pragmas
- languages
- languages function, Response Headers
- lazy bytestrings, Response Body
- lift
- functions autolifted with MonadHandler, Example: Request Information
- in chat subsite handlers (example), Subsite: Handlers
- lifting a call to next monad up, Monad Transformers
- lifting IO action to upper monad, Overview
- liftIO, I/O and Debugging
- liftIO getCurrentTime, Blog: i18n, Authentication, Authorization, and Database
- running Handler actions in applicative form, Values That Don’t Come from the User
- using in subsite to get master site defaultLayout, Hello, World
- liftControl function, MonadTransControl
- liftIO function, MonadControlIO
- lighttpd
- LIKE operator (SQL), Persistent: Raw SQL
- limits and offsets, SelectOpt, Select Functions
- Linux, GHC and Haskell Platform packages on, Tools
- LiteApp, LiteApp
- logging
- loginDest, Authenticate Me
- logoutDest, Authenticate Me
- lookupCookie function, Response Headers
- lookupGetParam function, Using Handler Functions
- lookupSession function, Session Operations
- Lucius, Handler Function, Synopsis
M
- Mac OS X, installing GHC and Cabal, Tools
- main function, What About Yesod?
- makeApplication function, Foundation and Application Modules
- makeSessionBackend function, Controlling Sessions
- Manager type, Client, Manager
- many-to-many relationships, Relations
- maximumContentLength function, Some Simple Settings
- maybe
- maybeRoute, The HandlerT Monad Transformer
- message files, Foundation and Application Modules, Message Files
- messages
- meta tags, Constructing Widgets
- MForms, Types, Monadic Forms
- migrate function, Migrations
- migrations (see database migrations)
- mime types, Representations
- mime-mail-ses package, Email
- mixins (in Lucius), Lucius Syntax
- mkMessage function, Specifying Types
- mkMessages function, Foundation and Application Modules
- mkMigrate function, Migrations
- mkPersist function, Code Generation
- mkYesod TH function, Routing, Foundation and Application Modules
- mkYesodData function, Foundation and Application Modules
- mkYesodDispatch function, Foundation and Application Modules
- mkYesodSubData function, Hello, World
- mkYesodSubDispatch function, Subsite: Handlers
- MMVars, Visitor Counter
- Model.hs file, Routes and Entities
- modularity (Yesod), Modularity
- modules for a subsite, Hello, World
- Monad instance (of Widget), Combining Widgets
- monad transformers, Types, Overview
- monad-control, monad-control-More Complicated Cases
- MonadBaseControl typeclass, Writing Handlers
- MonadControlIO typeclass, MonadControlIO
- MonadCRandom typeclass, Adding a New Monad Transformer
- monadcryptorandom package, Adding a New Monad Transformer
- MonadHandler typeclass, Using Handler Functions, Handler monad, Example: Request Information
- monadic forms, Kinds of Forms, Types, Monadic Forms
- MonadIO typeclass, I/O and Debugging, The Three Transformers, Writing Handlers, MonadControlIO
- MonadLogger typeclass, I/O and Debugging, Writing Handlers
- MonadResource typeclass, Performance and Error Messages, Writing Handlers
- monads, Yesod’s Monads-Summary
- MonadTrans typeclass, Writing Handlers, Overview, MonadControlIO
- MonadTransControl typeclass, MonadTransControl
- MongoDB, PersistStore
- mopt function, Monadic Forms
- mpsGeneric, More Complicated, More Generic
- mreq function, Monadic Forms
N
- Name type, Types
- namespaces (XML), Streaming xmlpipe Output, Types
- neverExpires function, Response Headers
- newIdent function, Generating IDs
- newtype declarations, Terminology
- Nginx, Warp
- Nic HTML editor, Blog: i18n, Authentication, Authorization, and Database
- NoImplicitPrelude extension, Import
- notFound function, Short-Circuiting
- Nothing, NULL versus, Uniqueness
- NULL values, uniqueness and, Uniqueness
O
- OAuth, Authentication and Authorization
- one-to-many relationships, Relations
- OpenID, Authentication and Authorization
- optionsEnum function, More Sophisticated Fields
- OR operator, Select Functions
- overlapping in routes, Overlap checking
- OverloadedStrings type, Overloaded Strings, Validation, Hello, World
P
- pagination, Streaming
- ParseRoute class and parseRoute function, Routing
- parsing routes, The HandlerT Monad Transformer
- paseUrl function, Request
- path pieces, Pieces
- pathInfo, Generated Code
- PathMultiPiece typeclass, Types of pieces
- PathPiece typeclass, Types of pieces, Dynamic Parameters
- paths
- performance
- permissionDenied function, Short-Circuiting
- persistence, Initializing Data in the Foundation Data Type
- Persistent, Persistent-Summary
- attributes, Attributes-Attributes
- custom fields, Custom Fields
- database migrations, Migrations
- features, Persistent
- filtering operators, Select Functions
- integration with Yesod, Integration with Yesod
- joins in, Joins
- manipulating database data, Manipulation
- monad transformers, The Three Transformers
- PostgreSQL, working with, Something Besides SQLite
- queries, Queries
- raw SQL, Persistent: Raw SQL
- relationships in data, Relations
- setting up entities for blog application, Blog: i18n, Authentication, Authorization, and Database
- solving the boundary issue, Solving the Boundary Issue
- types, closer examination of, A Closer Look at Types
- uniqueness constraints, Uniqueness
- writing SQL queries in, using Esqueleto, Esqueleto
- PersistEntity typeclass, Types, A Closer Look at Types
- PersistField typeclass, Types
- persistFileWith function, Code Generation
- persistLowerCase quasi-quoter, Code Generation
- PersistStore typeclass, PersistStore, The Three Transformers
- PersistValue typeclass, Types, A Closer Look at Types
- pluralization, Overview
- PORT environment variable, toWaiApp, toWaiAppPlain, and warp
- POST requests, Request Methods
- Post/Redirect/Get, getMessage, Messages, Blog: i18n, Authentication, Authorization, and Database
- PostgreSQL, Solving the Boundary Issue, PersistStore
- preEscapedToHtml, Searching
- Prelude, Import, A Note About File Paths
- printMigration function, Migrations
- processing instructions (PIs), The Four Types of Nodes
- progress, viewing (publish/subscribe example), View Progress
- projections, Esqueleto
- provideJson function, JSON Conveniences
- provideRep function, Representations, HasContentType and Representations
- provideRepType function, New Data Types
- publish/subscribe, single process, Single-Process Pub/Sub-Complete Application
- PUT method, Request Methods
R
- R suffix on resource names, Routing
- race conditions, Update
- radio buttons, More Sophisticated Fields
- rapid prototyping, Development Server
- rawSql function, Joins
- Reader monad, Monad Transformers, Intuition
- ReaderT monad transformer, Monad Transformers, Performance and Error Messages, Adding a New Monad Transformer, Layers, Types
- readTChannel function, View Progress
- record wildcard syntax, Step 2: Use the Foundation
- redirect function, Short-Circuiting, Dynamic Parameters
- redirects, indicated by cleanPath function, cleanPath
- RedirectUrl typeclass, Query String and Hash Fragments
- redirectUrlDest function, Ultimate Destination
- redirectWith function, Short-Circuiting
- relationships in database data, Relations, More Complicated, More Generic
- reload mode, calling Shakespeare from Haskell code, Calling Shakespeare
- renderBuilder function, Streaming xmlpipe Output, Streaming xmlpipe Output
- rendering functions (URL), Type-Safe URLs
- renderMessage function, RenderMessage typeclass
- RenderMessage typeclass, i18n, RenderMessage typeclass
- RenderRoute class, Routing
- renderRoute function, Routing, joinPath, What About Yesod?
- RenderRoute typeclass, joinPath, What About Yesod?
- replace function, Update
- representations, HasContentType and Representations
- Request class, Layers, Hello, Warp, The Interface, Request
- request headers, Other Request Headers
- request methods, Handler Specification, Request Methods
- requests, Understanding a Request-Summary
- auhorization in blog application (example), Blog: i18n, Authentication, Authorization, and Database
- code changes in Yesod 1.2, Understanding a Request
- dispatch, Dispatch
- getting request parameters, Getting Request Parameters
- handlers, Handlers
- handling, The HandlerT Monad Transformer
- representations of data, HasContentType and Representations
- request body (WAI), Request Body
- resources, Resources and Type-Safe URLs
- ResourceT monad transformer, Performance and Error Messages, Layers, Manager
- respondSource API, Streaming
- respondSource function, View Progress
- respondSourceDB function, Streaming
- Response class, Layers, The Interface, Response
- response headers, handler functions generating, Response Headers
- responseFile function, Hello, Warp
- responseLBS function, Hello, Warp
- responses, Hello, Warp
- responseSource function, converting from WAI to Yesod, Streaming
- responseSourceDB function, Streaming xmlpipe Output
- RESTful features in Yesod, RESTful Content-Summary
- Result type, Searching
- returnJson function, JSON Conveniences
- reverse proxy, running Warp via, Warp
- route attributes, Route Attributes-Alternative Approach: Hierarchical Routes
- routeAttrs function, Route Attributes
- routing, Routing, Resources and Type-Safe URLs, Routing and Handlers-Handler Specification
- blog application (example), Blog: i18n, Authentication, Authorization, and Database
- converting requested path into route value, The HandlerT Monad Transformer
- defining routes for chat subsite (example), Subsite: Data
- defining routes for scaffolded site, Routes and Entities
- generating routes for subsites, Generated Code
- generating subsite route data type and parse and render functions, Hello, World
- handler functions for routes, Handler Modules
- handler specification for requests, Handler Specification
- links and, Type-Safe URLs
- mkYesod TH function, Routing
- modeling route data type, Dynamic Parameters
- overlap checking for routes, Overlap checking
- resource names, Resource Name
- route data type, What About Yesod?
- route syntax, Route Syntax
- splitting requested path into pieces, Pieces
- route type and route render function, Foundation and Application Modules
- setting up routes for wiki master site (example), Master Site: Data
- subsite embedded in master site route definition, Hello, World
- using LiteApp, LiteApp
- using Template Haskell, Routing with Template Haskell
- runDB function, Integration with Yesod, The Three Transformers
- runErrorT function, Intuition
- runFormGet function, Running Forms
- runFormPost function, Running Forms
- runFormPostNoToken function, Running Forms
- runHandler function, Short-Circuit Responses
- RunHandlerEnv typeclass, Layers
- RunInBase function, MonadControlIO
- runInputGet function, Input Forms, Subsite: Handlers
- runInputPost function, Input Forms
- runMigration function, Migrations
- runMigrationSilent function, Migrations
- running applications, Running
- runSqlite function, PersistStore
S
- scaffold sites, The Scaffolded Site
- scaffolded site
- scaffolding, Scaffolding and the Site Template
- SCGI, Warp, Web Application Interface
- script tags
- search (debugging utility), Sphinx Setup
- search, Sphinx-based (see Sphinx-based search)
- searchd, Sphinx Setup
- select functions, Select Functions
- SELECT statement, Joins
- SelectOpt typeclass, Select Functions
- selectRep function, Representations, HasContentType and Representations
- sendChunkText function, View Progress
- sendFile function, Short-Circuiting
- sendfile system call, Hello, Warp
- sendFlush function, View Progress
- sendmail executable, Email
- sendResponse function, Short-Circuiting
- sendWaiApplication function, Subsite: Handlers
- sendwaiResponse function, Short-Circuiting
- sessions, Sessions-Summary
- AuthId and, Overview
- clientsession, clientsession
- controlling, Controlling Sessions
- messages, Messages
- operations, Session Operations
- server-side, Overview
- session state, GHState typeclass, Layers
- ultimate destination, Ultimate Destination
- Yesod user session framework, Getting Request Parameters
- setCookie function, Response Headers
- setHeader function, Response Headers
- setLanguage function, Response Headers
- setMessage function, getMessage, Messages, Blog: i18n, Authentication, Authorization, and Database
- setSession function, Session Operations
- Settings types, Settings Types-Settings Types
- Settings.staticRoot function, Nginx Configuration
- setTitleI function, Blog: i18n, Authentication, Authorization, and Database
- setUltDest function, Ultimate Destination
- setUltDestCurrent function, Ultimate Destination
- setUltDestReferer function, Ultimate Destination
- Shakespearean family of template languages, Shakespearean Templates, Shakespeare
- calling Shakespeare from Haskell code, Calling Shakespeare
- getting the most from, guidelines for, General Recommendations
- in widgets, Widgets
- other Shakespeare languages, Other Shakespeare
- synopsis of, Synopsis
- syntax, Syntax
- type-safe URLs, Type-Safe URLs
- types, Types
- URL rendering function, The URL Rendering Function
- shamlet (quasiquoter), Alternative Hamlet Types
- shamletFile function, Alternative Hamlet Types
- share function, Migrations
- short circuiting handler functions, Short-Circuiting, Short-Circuiting
- short-circuit responses, Short-Circuit Responses
- shouldLog function, Some Simple Settings
- simpleHttp function, Concepts
- single process pub-sub (see publish/subscribe, single process)
- sinkNull sink, http and httpLbs
- site template, How to Scaffold
- source setting (Sphinx), Sphinx Setup
- Source type, Streaming
- Source typeclass, Select Functions
- spawn-fcgi program, Nginx + FastCGI
- Sphinx package, Case Study: Sphinx-Based Search
- Sphinx-based search (case study), Case Study: Sphinx-Based Search-Full Code
- SQL
- SQL joins, SQL Joins-Summary
- SqlBackend typeclass, PersistStore, More Complicated, More Generic, The Three Transformers
- SQLite, PersistStore
- sqlSettings function, More Complicated, More Generic
- SSL, Email
- SSL certificates, SSL and Static Files
- Stackage, Tools
- stage restriction, Template Haskell
- statelessness of HTTP, Sessions
- StateT monad transformer, Adding a New Monad Transformer
- static files
- static pieces, Types of pieces
- static root in Settings.hs file, Static Files
- streaming, Streaming
- strings
- style tags, external CSS in, External CSS and JavaScript
- subsites, Creating a Subsite-Hello, World
- creating, Hello, World (example), Hello, World
- for authentication, Authenticate Me
- generated code for dispatch of responses, Generated Code
- generating query string parameters for, Generated Code
- static, Handler Specification
- support for, in dispatch, Dispatch
- system libraries for GHC and Haskell Platform, Tools
- system-filepath package, A Note About File Paths
T
- tags (HTML), Tags
- closing tags furnished by Hamlet, Tags
- Template Haskell (TH), Template Haskell
- templates, Performance
- text
- creating interpolated strings in shakespeare-text, Other Shakespeare
- RenderMessage instance for Text, i18n
- Text.XML module, The Four Types of Nodes, Text.XML
- Text.XML.Cursor module, Cursor
- text/html mime type, Representations
- TH (see Template Haskell)
- timeouts (session), Controlling Sessions
- toContent function, New Data Types
- ToContent typeclass, New Data Types, Content, (To)Content, (To)TypedContent
- ToCss typeclass, Types
- toHtml function, Types
- ToJavascript typeclass, Types
- ToJSON typeclass, JSON Conveniences
- ToMarkup typeclass, Types
- toPathPiece function, Types of pieces, Generated Code, Streaming xmlpipe Output
- toSqlKey function, Searching
- ToTypedContent typeclass, New Data Types, Content, (To)Content, (To)TypedContent
- toWaiApp function, toWaiApp, toWaiAppPlain, and warp, What About Yesod?
- toWaiAppPlain function, toWaiApp, toWaiAppPlain, and warp, What About Yesod?
- toWidget method, Constructing Widgets
- ToWidget typeclass, Constructing Widgets
- ToWidgetBody typeclass, Constructing Widgets
- ToWidgetHead typeclass, Constructing Widgets
- transactions, PersistStore
- translations
- TVars, Visitor Counter
- type constructors, Terminology
- type safety, Introduction
- type variables, Terminology
- type-safe URLs, Resources and Type-Safe URLs, Type-Safe URLs, What About Yesod?
- Typeable type, Blog: i18n, Authentication, Authorization, and Database
- typeclasses, What About Yesod?
- TypedContent typeclass, Html, Representations, New Data Types, (To)Content, (To)TypedContent
- types
- associated, What About Yesod?
- data sent to and from a database, Types
- foundation data type in Yesod, What About Yesod?
- in Haskell, Terminology
- in Persistent, A Closer Look at Types
- in Shakespearean templates, Types
- in whamlet, Types
- module for subsite data types, Hello, World
- monad-control, Types
- new data types representing data, New Data Types
- Settings, Settings Types-Settings Types
- specifying for messages, Specifying Types
- textual data types in shakespeare-text example, Other Shakespeare
- type declarations in Haskell, Terminology
- type families, Type Families
U
- ultimate destination, Ultimate Destination
- unique identifiers, Subsite: Widget
- Unique typeclass, Uniqueness
- uniqueness constraints, Uniqueness
- update function, Update
- Update typeclass, Update
- updateWhere function, Update
- urlEncodeBody function, Request
- urlRenderOverride function, Smarter Static Files, Nginx Configuration
- URLs
- adding information to, with RedirectUrl and Fragment, Query String and Hash Fragments
- interpolation
- pieces, splitting requested path into, Pieces
- rendering and parsing with Yesod typeclass, Rendering and Parsing URLs
- rendering functions, Type-Safe URLs, The URL Rendering Function
- type-safe, Resources and Type-Safe URLs, Type-Safe URLs
- used in linking, types of, Type-Safe URLs
W
- WAI (Web Application Interface), Running, Yesod for Haskellers-Hello, Warp, Hello, Warp, Web Application Interface-Middleware
- handlers, Layers
- Hello, World application (example), Hello, World
- interface, The Interface
- interoperability with, JSON web service server (example), Server
- middleware, Middleware
- pathInfo, Generated Code
- promoting WAI applicaion to a Yesod handler, Subsite: Handlers
- resource allocation, Resource Allocation
- sending raw WAI response, Short-Circuiting
- streaming response, Streaming Response
- support for using WAI applications as subsites, Dispatch
- version 3.0, Web Application Interface
- Yesod interaction with, What About Yesod?-What About Yesod?
- WAI backends, Warp
- wai-conduit helper package, Hello, Warp
- wai-eventsource package, Subsite: Handlers
- wai-handler-launch, Desktop
- wai-handler-webkit, Desktop
- waiRequest function, Request Information
- warp function, toWaiApp, toWaiAppPlain, and warp, Convenience warp Function, Master Site: Running
- Warp web server, Performance, Running, Warp
- warpEnv function, toWaiApp, toWaiAppPlain, and warp, Convenience warp Function
- Web Application Interface (see WAI)
- web development
- WebKit, Warp
- whamlet, whamlet
- whitespace
- Widget monad, Yesod’s Monads
- Widget type synonyms, Types
- widgetFile function, widgetFile
- widgets, Handler Function, Widgets-Summary, Widgets
- capabilities of Widget and Handler, The Three Transformers
- combining, Combining Widgets
- components of, What’s in a Widget?
- constructing, Constructing Widgets
- database queries in, Database Queries in Widgets
- for chat subsite (example), Subsite: Widget
- generating ids for, Generating IDs
- using, Using Widgets
- using handler fuctions in, Using Handler Functions
- using whamlet, whamlet
- Widget type, returned from running forms, Running Forms
- WidgetT monad transformer, Handler monad, The Three Transformers, Performance and Error Messages
- widgetToPageContent function, defaultLayout, Blog: i18n, Authentication, Authorization, and Database
- wihUrlRenderer function, The URL Rendering Function
- wiki (example), Wiki: Markdown, Chat Subsite, Event Source-Summary
- Windows systems, installing GHC and Cabal, Tools
- with statement, with
- withManager function, Client
- withUrlRenderer function, defaultLayout, Blog: i18n, Authentication, Authorization, and Database
- write requests, Authorization, Blog: i18n, Authentication, Authorization, and Database
- Writer monad, Intuition
- WriterT monad transformer, Adding a New Monad Transformer
Y
- Yesod, Preface, Yesod for Haskellers-Details We Won’t Cover
- 1.2 release, Understanding a Request
- code generation, Concise Code
- concise code for web applications, Concise Code
- dynamic parameters, Dynamic Parameters
- handler functions, writing, Writing Handlers-Dynamic Parameters
- HandlerT monad transformer, The HandlerT Monad Transformer-Convenience warp Function
- Hello, Warp application (example), Hello, Warp
- interaction with WAI, What About Yesod?-What About Yesod?
- language pragmas, handling of, Language Pragmas
- modularity, Modularity
- MonadHandler typeclass, Using Handler Functions
- monads (see monads)
- performance advantages of, Performance
- powerful ecosystem available with, A Solid Foundation
- quick start guide for GHC and Cabal, Tools
- scaffold site, The Scaffolded Site
- Shakespeare, Shakespeare
- widgets, Widgets
- yesod add-handler command, Handler Modules
- yesod devel command, The Scaffolded Site, How to Scaffold, Web Application Interface
- yesod executable, How to Scaffold
- yesod init command, The Scaffolded Site, How to Scaffold
- Yesod typeclass, The Yesod Typeclass-Summary, What About Yesod?
- advantages of typeclass over record type, The Yesod Typeclass
- authentication/authorization, Authentication/Authorization
- cleanPath member function, toWaiApp, toWaiAppPlain, and warp
- creating instance for wiki master site (example), Master Site: Instances
- custom error pages, Custom Error Pages
- defaultLayout function, defaultLayout
- documentation, Some Simple Settings
- external CSS and JavaScript, External CSS and JavaScript
- methods handling authorization, Overview
- rendering and parsing URLs, Rendering and Parsing URLs
- simple settings, methods for, Some Simple Settings
- smarter static files, Smarter Static Files
- yesod-auth package, Authentication/Authorization, Overview
- yesod-form package, Forms
- yesod-static command, Static Files
- Yesod.Core, documentation, Controlling Sessions
- Yesod.Core.Types, Performance and Error Messages
- YesodApp typeclass, Layers
- YesodAuth typeclass, Authenticate Me
- YesodAuthPersist typeclass, Blog: i18n, Authentication, Authorization, and Database
- YesodDB monad, Yesod’s Monads, The Three Transformers
- yesodDispatch function, What About Yesod?
- YesodDispatch typeclass, Routing, Dispatch, What About Yesod?, What About Yesod?
- YesodMessage typeclass, Overview
- YesodPersist typeclass, Integration with Yesod
- YesodPersistentBackend typeclass, The Three Transformers
- YesodPersistRunner typeclass, Basic Yesod Setup
- YesodRequest data type, Request Information, Layers
- YesodResponse data type, Layers
- yesodRunner function, Generated Code, The HandlerT Monad Transformer
- YesodRunnerEnv typeclass, Dispatch, What About Yesod?, The HandlerT Monad Transformer
- yesodSubDispatch function, Generated Code
- YesodSubDispatch typeclass, Dispatch
- YesodSubRunnerEnv typeclass, Dispatch
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.