[html-formfu] sample JSON formatted config file

Manu Kaul manu.kaul at gmail.com
Fri Mar 20 08:38:36 GMT 2009


Can you recommend any more links that run through beginning form creation
etc with FormFu? Would love to see more in-depth tutorials talking about
validators etc and talking to the Model.
Cheers and thanks for the support so far,
M

On Fri, Mar 20, 2009 at 8:36 AM, Manu Kaul <manu.kaul at gmail.com> wrote:

> Thanks Carl. I am not utilizing DBIC so will have to use my own MODEL lay=
er
> using Perl DBI and Stored Procs anyway.
>
>
> On Fri, Mar 20, 2009 at 8:34 AM, Carl Franks <fireartist at gmail.com> wrote:
>
>> 2009/3/20 Manu Kaul <manu.kaul at gmail.com>:
>> > Hi guys,
>> > I am just about to start my first FormFu form to insert an entry into
>> the
>> > DB. Was going to follow
>> > --> http://www.catalystframework.org/calendar/2007/20 as a tutorial.
>> > Guys I was planning to write my configuration file in JSON format. Is
>> there
>> > something special that I have to do in Catalyst to load a config file =
of
>> > format .json or would it automatically
>> > understand that the config file is in JSON format and use that for
>> FormFu?
>>
>> FormFu uses Config::Any - so any file type it knows about will load.
>> Any it doesn't, it's quite easy to write a Config::Any extension for.
>>
>> Be aware some things have changed since that tutorial...
>>
>>    $form->save_to_model
>> is now
>>    $form->model->update
>>
>>    $form->defaults_from_model
>> is now
>>    $form->model->default_values
>>
>> Carl
>>
>> _______________________________________________
>> HTML-FormFu mailing list
>> HTML-FormFu at lists.scsys.co.uk
>> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>>
>
>
>
> --
>
> The greater danger for most of us lies not in setting our aim too high and
> falling short; but in setting our aim too low, and achieving our mark.
> - Michelangelo
>



-- =


The greater danger for most of us lies not in setting our aim too high and
falling short; but in setting our aim too low, and achieving our mark.
- Michelangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20090320/9d=
fa22d5/attachment.htm


More information about the HTML-FormFu mailing list