On Fri, 27 Jan 2012 04:09:35 +0200 Bassel Safadi <[email protected]> wrote:
> On Thu, Jan 19, 2012 at 3:47 PM, Jakub Jankiewicz <[email protected]> > wrote: > > > If you think out something put it here > > http://aikiframework.org/wiki/Aiki_forms_2 > > > > We can remove aiki_forms table and put forms into a widget > > > > (form( add { > > "table": "aiki_users", > > "pkey": "userid", > > "username": {"label": "Your Name:", "field": "username"}, > > "password": {"label": "Your Password:", "field": "username"}, > > "confirm_password": {"label": "Confirm Password", <<< HOW TO > > REF>>}, "recaptcha": { ??? } > > })form) > > > > maybe instead of "form" "database", but if we have > > UPDATE/DELETE/INSERT in (sql( who will need those? If users know > > SQL why force them to use such a beast? > > > > I think that only thing is needed in forms it it's server side part > > the html forms users can do themself. > > > > well, the whole reason of why aiki started in the beginning is to > simplify this task and stop creating html forms, users can also build > there own CMS from scratch. > current aiki forms need improvement but not removal. why aiki then? > remove forms and images, what left? the widget structure? replace with The reason I wanted templates is that is a pain if you have 10 widgets which is responsible for layout of your page and you need to add another widget with the same widget structure, you need to manually edit 10 widgets and add new url to them. This suppose to be simple task. And for images is it even documented? > templates and you end up with something totally new and not aiki, > which is also fine, anyone can fork aiki and rebrand it. i'm not > against that. > > > > > > (if( $_POST['submit'] == 'add' && > > $aiki->forms->fields_set('name', 'password') { > > > > (sql( INSERT INTO aiki_users (username, password) > > VALUES('POST[name]', 'POST[password]') { > > > > <p>Your account was created successfully</p> > > )sql) > > > > }else{ > > > > <form method="post"> > > <input name="user"/> > > <input name="password"/> > > <input type="submit" name="add" value="create user"/> > > </form> > > > > })if) > > > > > > On Thu, 19 Jan 2012 21:10:25 +0800 > > Jon Phillips <[email protected]> wrote: > > > > > And they need a rewrite. In building a site they are by far the > > > biggest and slowest piece. We need real CRUD bad. I'm thinking > > > about now and how we can attack. > > > > > > [email protected] > > > http://fabricatorz.com > > > +1.415.830.3884 > > > +86.187.1003.9974 > > > > -- > > Jakub Jankiewicz > > twitter: @jcubic > > www: http://jcubic.pl > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~aikiframework-devel > > Post to : [email protected] > > Unsubscribe : https://launchpad.net/~aikiframework-devel > > More help : https://help.launchpad.net/ListHelp > > -- Jakub Jankiewicz twitter: @jcubic www: http://jcubic.pl _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : [email protected] Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp

