Form library suited for Snap and Heist [closed] - scala

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am looking for a library that helps me create forms using Snap and Heist. There is no "blessed" form library for Snap that I know of, and none of the stray ones on Hackage seem to be particularly suited for the declarative nature of Heist templates.
Since Heist is so very similar to the template system used by the Lift web framework, I was wondering if there's something that would give me similar form support as is available there. If you aren't familiar with it, it would roughly look like this if translated to Heist:
<div class="some-div-in-a-heist-template">
<my-form-splice>
Name: <form-input field="name"/>
<form-error field="name">Errors: <error-string/></form-error>
Password: <form-input field="password"/>
<!-- etc -->
<form-submit/>
</my-form-splice>
</div>
Are there any libraries available that can be glued together to get support for something like this?

There is a form handling library called digestive-functors. It lets you create a correspondence between forms and Haskell data structures in an applicative style. This might provide some of what you're looking for. Since Heist gives you arbitrary DOM manipulation, you should be able to implement the rest as a library of splices and related functions. To my knowledge no splice library like this exists today.

Related

Document Generator for library iphone [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have created one library, and now I want to have its documentation, so Is there any document generator available? If yes, What I have to keep in mind while generating documents.
http://www.doxygen.nl/
Doxygen is probably the most widely used option. Because it's not just for ObjC (doxygen supports many other languages), the development is lively and the community quite strong. HeaderDoc (now an open source project), by comparison appears to have largely stagnated. HeaderDoc only produces HTML output, while doxygen also produces PDF, LaTeX and many other output forms besides HTML. Even seems to recommend doxygen, with this guide to automatically producing documentation sets, compatible with 's help viewer, from within your build process.
It's worth noting that doxygen can read HeaderDoc-style comments, so you can write your documentation in HeaderDoc style and decide later whether to produce the final output using doxygen or HeaderDoc.

Recommend visually appealing table-driven web forms management framework? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Nearly all our work is "by hand" with some excellent in-house frameworks. However, these are for ERP-style applications and are (sometimes too) complex. Working with more business-critical applications, one focuses on function and not pleasantry.
We have a need to bring up some non-trivial "external-facing" data entry forms. There will likely be several+ hundred various form workflows. (e.g. customer, product, store, &c).
Is there a web simple framework where one can define forms in a database table (e.g. field_name, field_length, field_type, &c) and have said framework manage the type validation, date via calendar, POST/GET of the web form records back into the DB for upsert?
Basically a table-driven forms framework?
Would love to have the designers style it with CSS, but low on priority just now.
This seems so 1996/CGI-ish but why can't I find anything like this? Any recommendations for this requirements? We don't need advanced caching and OO mapping, and a lot of that other jazz. PHP | JSP | CGI is fine.
I've done multiple data entry and reporting applications by extending the Django admin application which works in this fashion. Work is mostly declaring tables (models), validation, columns, columns to search/sort/filter by and display etc and you can glue on more complex logic if you want, but you may hit a wall if you are unfamiliar with more advanced aspects of the framework. If you don't mind python, web2py and turbogears2 have similar devices.

Is there a good library in CPAN for filtering out cross-site scripting (XSS)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
Is there a good library in CPAN for filtering out an textfield for all the bad things, like xss?
Your first step should always be to search and browse through the results. It looks like there are lots of potential hits. When I'm looking for something new, I browse through search results and check the docs of modules to see how clear they are and how well built the API is. I also look for reviews (some have, some don't - it's often random) and check bugs. It gives me a sense of what I'm dealing with.
If your question is "Which of these various options is best?", then I'm afraid I don't know in this case. (My initial answer may have been too general.)
Two good places to start a search of CPAN:
Search CPAN
Kobes' search
At the base level you want HTML::Entities, but which escape you chose depends on where in the DOM you're using the values. It won't help at all to html entity encode a user input if you stick it inside a <script> tag, for example.
It's pretty likely that you're using some kind of template to generate the html, so it should have a method to escape the content, HTML::Mason has <% $thing |h %>, Template::Toolkit has [% thing | html %]... but if you're just doing it in your own code you'll need to call encode_entities yourself.

Is there a system or framework for non-programmer form creation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Anyone know of a system or framework for a non-programmer form creation? Not a full implementation, but something that handles the designer aspect and something that handles the displaying for being filled in. All the logic we'll be doing. Maybe just a pair of widgets.
We've got a client-server application into which normal users enter and modify data in a thick client and we want to allow the customers to update and create forms with another thick client application, rather than calling us every time they need a letter changed. We want something to do the display bits while we implement the various hooks and functions the system uses.
We're a java shop, but we expect that we're open to writing these clients in another language if it'll be easier.
Possibly Xopus with a schema for the XForm could work.
http://xopus.com/
Try searching for XForms libraries and tools. XForms is a new-ish standard format for defining forms and there are some libraries and tools available for it. Haven't tried any of these myself.
EDIT:
This looks interesting: http://www.orbeon.com/forms/builder
Well, you're a Java shop so this might not be the best tool for you, but from you description you look like a classic case for Infopath:
http://office.microsoft.com/en-us/infopath/default.aspx

Does anyone have a handy visulization widget that I can use for a web project? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
What I want is lots of nodes which can expand making a mind map.
I'd ideally like to expand and collapse nodes. I would like to be able to navigate by either dragging around the page, or by following expanded nodes.
I have a colleague who needed that kind of functionalities to graph Maven dependencies between projects. He ended up using FreeMind to do the visualization. He just had to write an XML file conforming to the FreeMind format. I even think you can just use OPML as the file format and find a ready to use XSLT to transform it to the FreeMind format. Maybe FreeMind actually supports OPML directly (I havent used it for a long time).
Once you have your data in FreeMind, you can either export them, or use the FreeMind applet to display an interactive MindMap on your website.
Suggest mxGraph.
Suggest protovis, lovely javascript cross-platform visualisation library.
I think you are asking for a component that does what Visio can do, except that it can be displayed on a web page. Most likely you would have to create one from scratch, because mind mapping tools are always released as products per se and not customizable components. I suggest looking for a basic drawing/illustration component, and then putting your mind-mapping logic in it.