Loading...
Please wait, while we are loading the content...
Similar Documents
Electronic Communications of the EASST BX 2013 Lenses for Web Data
| Content Provider | Semantic Scholar |
|---|---|
| Author | Rajkumar, Raghu Lindley, Sam Foster, Nate Cheney, James |
| Copyright Year | 2013 |
| Abstract | Putting data on the web usually involves implementing two transformations: one to convert the data into HTML, and another to parse modifications out of interactions with clients. Unfortunately, in current systems, these transformations are typically implemented using two separate functions—an approach that replicates functionality across multiple pieces of code, and makes programs difficult to write, reason about, and maintain. This paper presents a different approach: an abstraction based on formlets that makes it easy to bridge the gap between data stored on a server and values embedded in HTML forms. We introduce formlenses, which combine the advantages of formlets with those of lenses to provide compositional, bidirectional form-based views of Web data. We show that formlenses can be viewed as monoidal functors over lenses, analogously to formlets, which are applicative functors. Finally, we investigate the connection between linearity and bidirectional transformations and describe a translation from a linear pattern syntax into formlens combinators. |
| File Format | PDF HTM / HTML |
| Alternate Webpage(s) | http://www.cs.cornell.edu/~jnfoster/papers/formlenses.pdf |
| Alternate Webpage(s) | http://homepages.inf.ed.ac.uk/jcheney/publications/drafts/bx13-workshop-final.pdf |
| Alternate Webpage(s) | http://homepages.inf.ed.ac.uk/slindley/papers/formlenses-bx13.pdf |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |