Blueprint changed by Jakub Jankiewicz:

Whiteboard changed:
  Crap, this really effects a lot of things and we can see a lot of nasty bugs 
come from this. Jon
  ###
  
  For each form field, need to be able to specify:
   * data type (text, long text, integer, decimal, date-time, boolean)
   * field caption
   * field tooltip
   * style of the label and of the input control
   * validation (minimum/maximum value, regular expression)
   * default value
  
  ##
  
  also need to allow users to develop their own field types with custom
  validation. and allow users to easily choose what happens when the user
  enters form data (display text/redirect to page/continue in editing) and
  also allow optionally to send all entered values to some e-mail address
  or send an auto-reposponder to the person who filled-in the form.
  
  ##
  
  need to check the lengths of data input through forms and query strings
  and ensure that before you launch a site you check forms will not cause
  errors to be displayed when too many characters are entered.
  
  ###
  
  Basel can you comment on this? We need more developers to get this one
  done. Jon
  
  ###
  
  We need to rewrite spec for field in Admin Panel Form. I propose JSON
  
  [Filed] ->    {"name": 'filename", "permission": "SystemGOD", "label":
  "File Name"}
  
  Right now can be simple input in Admin Panel but need to be changed in
  new Panel.
  
  the same form array should be a JSON no array serialized, JSON is
  better. or split forms into a few tables
  
  aiki_forms 1--------N aiki_forms_field (field_name, validation,
  sanitize, default, label, permission)
  
  @jcubic
  
  ###
  
  we could add form actions/events - onDelete, onUpdate, onInsert - and
  those actions can fire functions like sending email or call extension.
  
  @jcubic
  
  ###
  
  Aiki Forms should be the simplest possible interface to handling CRUD
  for data:  http://en.wikipedia.org/wiki/Create,_read,_update_and_delete
  
  HOw is the rewrite planning going? @rejon
+ 
+ ###
+ 
+ few ideas about Forms:
+ 
+ Use one form for single task and remove permission system from forms;
+ 
+ Right now if you have forms you can put one form in to two places in a
+ widget so you have
+ 
+ normal  |   permission
+ form       |   form
+ 
+ And you can have different user permissions in one form so you can have
+ 4 different forms (You can hove more that one restricted field in Aiki
+ Form so you can have lots of them) displayd for one AIki form ( there
+ should be one form for one Aiki form - you will have form and server
+ side processing for that form)
+ 
+ Most of the time there is only one form for one database table, every
+ task that user do should have separated form (Admin Panel need to fix a
+ way forms are created and handled)
+ 
+ In order to simplify Forms we need to remove permissions from form field
+ and use widget permission system for that.
+ 
+ There'se also need for named forms (need better forms manipulation and
+ list - task for admin panel)
+ 
+ There's also need to extension to forms, sometimes we need to add custom
+ form field and if we can't do that we create our own forms and
+ extensions or external code to do that (like registration on OFLB),
+ there is no way to add custom recapcha, I think that's the reason that
+ code came out, becasue AIki forms was not good enouth and didn't give
+ user control.
+ 
+ 
+ Also Edit In place should rewritten (server side code not markup), right now 
it have some hidden url (nogui=true and such) stuff hard coded in Aiki (I 
didn't look closer to that code) it should be exposed to users (I mean 
developers). Actually I whold be happy if it will be json-rpc (which is 
standard) call to widget for url /rpc/aiki (like rpc extention) that execute 
some API function that do that. Or it can be called to widget that have 
(script( $aiki->[SOME FUNCTION]; )script)
+ 
+ Every time there is some code in Aiki it should alow users to overwrite
+ it nad create their own solution for that if they think built-in is no
+ good and we should alow users to that from Admin Panel.
+ 
+ @jcubic
+ 
+ ###

-- 
Rewrite Aiki Forms
https://blueprints.launchpad.net/aikiframework/+spec/rewrite-aiki-forms

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to