[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] CRUD/BREAD style template question


Quite often I have applications that have a "read" mode and an "update"
mode.  This means a template for Update that is filled in via
HTML::FillInForm, and another template for Read that is filled in via my
templating engine (Template Toolkit in my case)

I've found myself spending extra cycles making sure the Read templates
are updated whenever the Update templates are.  Laziness demands that I
consider how to automate that.

Now I could write a simple wrapper that generates the HTML for both,
but that requires that all of my templates look the same, which is very
much not the case here, various apps are highly worked over by the
designer.  I'm thinking more in terms of HTML::FillInForm,
except that I'd need to provide some sort of tagging to mark which
visual elements are associated with which data elements.  Likewise
field-level control would have to exist, as not all fields would be
displayed.

Perhaps it would involve so much configuration work as to not save time,
but I thought I'd send the idea out and see if anyone had already
tackled this problem.

-- 
SwiftOne  /  Brett Sanger
suppressed   

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.