On 9/18/05, Frank Carnovale <[EMAIL PROTECTED]> wrote: > David B. has done Maypole::FormBuilder and Peter S. has proposed > "SuperModel"; I haven't studied these but it sounds like both are great work > but with a lot of common ground.. can you guys let me know if these are > complementary?
They pretty much do the same jobs. FormBuilder is much more powerful and complex too than AsForm. I wanted to dig into it some but I never got the time and had AsForm working for me and the processing so I have to finish up this app with what I have. I really like the simplicity of AsForm and FromCGI and there will have to be pretty compelling reasons to tear me from them. I'm not real sure if they are complimentary. More mutually exclusive now i would say. My system is no different than vanilla Maypole. One routine makes the form inputs, another processes them. I'm not really sure how Daveś get processed but FB objects make the forms. I think we need to put some thought into the interface for the Model's form building an processing. The 2nd rule of good software design (or is it 1st?) : "Program to an interface, not an implementation". It would be nice if people could use whatever implementation they wanted to get the functionality they need and not have to change anything but configurations. Ie , their models could go on calling to_cgi , create_from_cgi , to_field, but these would act different and use data they put in configuration. Like if I prefer to use FB objects in templates rather than hashes of HTML Elements, the interface should be the same that gets the object or hashes there and they should get put into the same template variable (I think anyway) and I hate to say it but that should probably be classmetadata.cgi. Seems as good a place as any to me. (There issue with classmetadata was just about not making cgi for every page right? Or was there more to it than that?) cheers HS^ľéXʞ'˛Ţuźjg˛˘ęÝz÷Ľ˘×!jY^ŹÂ+a ëzş'j ŚŽ÷Ť'×čúŢyŠÝmç§ľęŢvÚ0v¸ÚZ˛fžň˘ęďzź¨Ât¨+f=#Â'$ ęŢśek(mś˙˛Ťqç莧zßŕzş'j)Ę%yׯzYX§XʴÞŚ^uëŢXŹśË(şˇ~ŕzwŰił˙ĺËl˛Ťqç莧zßĺËlţXŹś)ߣůĘ%yׯz
