|Anonymous | Login | Signup for a new account||2020-07-13 05:08 BST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000569||SiT!||other||public||2009-03-12 19:57||2012-01-24 13:10|
|Target Version||Fixed in Version|
|Summary||0000569: Framework to create forms|
|Description||As discussed the other day we could do with a framework to create and process forms.|
The thought was to use objects
Parent $item has generateHTML()
need a way for items to be required
|Tags||No tags attached.|
|As mentioned to Ivan, it might be worth using CakePHP's form helper code for this, it seems pointless re-inventing the wheel, it works pretty much exactly as you've said there.|
Just a note from us as we have been looking at creating some plugins to do some forms for us, this framework will be very usefull :-)
We were discussing Cake as well..
CakePHP would be good so long as it meets all our needs, I don't want a repeat of the mess we made with Dojo, where it did lots that we didn't need really well, and not much that we did need not very well. if that makes sense.
I've never used Cake personally, I'd need to see it before making up my mind really, but my initial thoughts are that making forms is such a simple thing re-inventing the wheel to get the kind of wheel we're happy with would be preferable to having to mould SiT into something else.
We can't possibly change every form in one go, there are too many, so whatever solution we choose has to let us smoothly migrate from current to new. That might not be so easy with CakePHP if it doesn't let us make new forms look like old ones.
|If we did use cake, we'd only use the form helper file, so there wouldn't be a dojo situation again. We need to have a look at it but I think if we needed to make changes, it'd be better doing it to cake's code rather than writing our own.|
|Not trying to be argumentative, this is a genuine question coz I don't know cake. When you say 'better' what do you mean? What do we get out of it?|
|It's just speculation, but I'd have thought that cake would have put more thought into making their framework more robust and flexible that we could possibly make ours. We could probably make ours simpler, but we might need that flexibility in the future. People using cake don't hand-code their forms so logically, it should work for 99% of forms.|
I already made several projects with CakePHP, ZendFramework and CodeIgniter. And from my experience I can tell you that it would be a lot easier to take the Zend Form component. In the quick-start tutorial you can see how it is working there:
As you can see it is pretty similar to CakePHP. The positive thing with ZendFramework is that it is a lot easier to use only one component. You are not forced to use the full framework.
|We have agreed that we need some sort of framework but we've not quite settled on what. PaulH has started work on a new framework but we're probably not ready to use this on new forms until it's had a bit more work.|
|2009-03-12 19:57||paulh||New Issue|
|2009-03-12 20:38||kieran||Note Added: 0000777|
|2009-03-13 08:01||nicdev||Note Added: 0000778|
|2009-03-16 10:36||ivan||Note Added: 0000783|
|2009-03-16 11:02||kieran||Note Added: 0000784|
|2009-03-16 11:39||ivan||Note Added: 0000785|
|2009-03-16 11:59||kieran||Note Added: 0000786|
|2009-08-02 20:00||ivan||Relationship added||parent of 0000613|
|2010-03-09 11:39||ivan||Relationship deleted||parent of 0000613|
|2010-03-09 11:40||ivan||Relationship added||child of 0000613|
|2010-04-26 21:00||modir||Note Added: 0003113|
|2012-01-24 13:10||ivan||Note Added: 0004423|
|2012-01-24 13:10||ivan||Status||new => confirmed|
|Copyright © 2000 - 2020 MantisBT Team|