Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Dear Monks, I've got a Catalyst application that I started building at one time with HTML::Widget. However with a change in project author it is now deprecated with HTML::FormFu in the works as a replacement (in svn and described here, based in part on HTML::Widget and discussion going on in the H::W mailing list). (A Catalyst controller exists for it too). FormFu seems maybe alpha or beta quality (API changing) but bugs show up as they did with H::W.

When I tried to copy some code to make a new form using H::W the as_xml() function outputted all the form elements jammed into one line which is discouraging.. I think I had this problem once before too but even if I solve it, I remember H::W was not all that easy, it was tough to extend and there was this container kludge that didn't work for me. I backed off the mailing list about when radio button grouping was being discussed.

Now I have to build an admin interface with, and since I found H::W hard to use as well, I am looking once again at Catalyst::Controller::FormBuilder (based on CGI::FormBuilder). It has YAML-like syntax which FormFu also seems to be aiming towards.

If anybody has experience/recommendations they would be much appreciated. Constraint checking, validation and printing of errors are really icing on top, mainly it has to be quick and easy to make forms, repopulate the form, and if possible link to DBIx::Class in Catalyst to some extent. It seems H::W requires too much code (hence the YAML development I presume). How do you like FormBuilder, especially with Catalyst / DBIx::Class ? Anybody using FormFu and think it is best? Each form will be for a number of fields from a given class with some other elements possibly from other classes.


In reply to Choosing a Catalyst form widget by mattr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (17)
    As of 2014-07-30 13:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (234 votes), past polls