I still think the best plan is to simplify the widgets like so:

Widgets
   id
   name
   widget_type

Widget_type
   id
   name
   db_table (like Widget_HTML)

Widget_HTML
    id
    widget_id
    widget_type
    custom_fields for this type of widget
    ...

Widget_CSS
    id
    widget_id
    widget_type
    custom_fields for this type of widget
    ...

Widget_Permissions
    id
    widget_id
    widget_type
    custom_fields for this type of widget
    ...


And so on...the concept of widgets should be made very generic and
simple so that they are more of buiding blocks rather than
overdetailed turd balls, like at present.

Css should just be a type of widget, just like HTML or Markdown, or
even SQL, should be a type of widget.

I have a proposal for this, but this all just waits upon me to write
up and then someone to code it ;)

The best ideas are simple. Aiki widgets, the concept is simple, the
implementation is hacked together functionality.

Roger, one thing that would help is that if we make some of these big
changes, that you can help to make sure that the updater will keep
sites from the past upgraded to the future. So far your upgrader seems
to help this very much. Do you have any thoughts on that or can you
let us know if there is a best way to make sure we maintain
compatibilty when making big changes to aiki design or db structure?

Cheers

Jon

On Mon, Feb 27, 2012 at 9:38 PM, Roger Martín <[email protected]> wrote:
> Hi all!!
>
> I new engines i only use two fields: css and widget. In web, design (css)
> and content (html) must be separated; i prefer maintain the field css, but
> this is a personal opinion.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~aikiframework-devel
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~aikiframework-devel
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Jon Phillips 王✳爻气 http://fabricatorz.com ✳ skype: kidproto ✳ irc: rejon
+1.415.830.3884 (global) ✳ +86-187-1003-9974 (beijing)

_______________________________________________
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