Re: tiles/blocks

Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CANyGbvdGeC5NKXmW9a87jp8broiOVu8Cn1CaOS=Tg9LaNBVe5g@mail.gmail.com>
On 17 Apr 2014 01:59, "Guido Stevens" <[email protected]> wrote:
>
> On 16/04/14 15:58, Dylan Jay wrote:
>>
>> On 14 Apr 2014, at 4:34 pm, Guido Stevens <[email protected]>
>> wrote:
>>
>>>
>>> As a designer I want to define a coherent vocabulary of page
>>> layouts and block widgets in order to support a consistent user
>>> experience.
>>>
>>> As a developer I want to dynamically combine multiple information
>>> streams in order to render a context-sensitive personalized user
>>> interface.
>>>
>>> As a user I want to select and prioritize information sources and
>>> presentation in order to maximize my effectivity and minimize
>>> information overload.
>>>
>>> Does that clarify?
>>
>>
>> Getting closer but still confused :)
>
>
> Let's try some more :-)
>
>
>> as you point out one source of confusion is the word 'tiles'. I've
>> been using it to refer to plugin functionality a user can insert into
>> a page, but that includes square shaped html such as inline text such
>> as something that renders the last updated date and time.
>> plone.app.tiles allows for this but the word tile was chosen at a
>> time where deco and grids was how this was going to be implemented...
>> which I'm not sure is certain anymore. Limi's original word is widget
>> which is perhaps better. There might be a better one. What you seem
>> to want is the widget + grid type idea where the html generated is
>> always in square blocks. is that right?
>
>
> Yes, well not square but rectangular. An html element display:block.
>
>
>> It's clear the developer creates these widgets. Whats not clear is
>> how you need the relationship between designer/themer, admin of a
>> site and editor of a page to work. to clarify, I define
>
>
>> - the Themer to the person who uses diazo and creates some tinymce
>> styles to be used with diazo. This is done normally once in advance.
>
>
> No TinyMCE involved in my use case.
>
>
>> - the Admin is the person who comes in to set site policies such as
>> deciding what goes on the home page (should that able to be changed
>> by theme. The themer can sometimes constrain them).
>
>
>> - the editor as the person who changes content. Maybe not have access
>> to change all parts of the content including home pages.
>
>
>>
>> It looks to me like you want something that the admin (rather than
>> the themer) to be able to create a layout with some kind of
>
>
> No, I want *the system* to select and fill a layout grid at runtime.
Based on coded logic of course.
>
>
>> constraints and the layout to be grid based. Something like a landing
>> page that has certain slots in it in fixed positions where the
>
>
> Something where every page can behave that way.
>
>
>> positions are determined by the admin? Like collective.portletpage
>> except the layout can be rearranged by the admin instead of the
>
>
> Layout rearranged by logic. Not static positions but possibly rearranged
per request.
>
>
>> themer? Can the editor insert multiple widgets into any slot? Can the
>> admin constrain the set of widget the editor can use? I think if you
>> can work out what contraints is giving the editing via the layout,
>
>
> Constraints part of coded logic.
>
>
>> that would help. the collective.tinymcetiles product I was working
>> with assumes the editor has complete control over layout, which
>> doesn't seem to be the problem you have.
>
>
> You're framing all of this as editing. For me, it's not about editing.
It's about having a grid/tile based rendering system with maximal runtime
flexibility.

Runtime flexibility for who? The viewer (ie responsive)

> Specifically, I'm aiming for layouts configured by code acting on an API,
not by a human editor acting on a GUI.
>

If all you want is a grid layout the deco isn't relevant. You are saying
there is no editor so no Ui that change aspects of the layout or what is in
it. The layouts and tiles are worked out during the theming process only?
In which case that sounds more like the idea that was tossed around to be
able to insert tiles into diazo themes via rules like
<replace theme:CSS=cellupperleft href=@mytile/blah/>
This is similar to what martins snippets implementation does except you as
a themer can use a library of preinstalled tile plugins.
And you would be able to make the editor be able to select which of these
layouts they want from a page.
The grid part can come from 960js , bootstrap or any other grid the themer
chooses.

Still not sure that is what you are asking for though :(

> Of course having such a grid renderer would also support the deco goals
of having editable tile based layouts. But my core use case is not about
"editable". Just about the tile based layouts.
>
> Where our efforts intersect is in the need to have a good set of tiles
and a good infrastructure for integrating tiled blocks. How these tiles are
rendered does not involve TinyMCE in my strategy.
>
> :*CUE
>
> --
>     Guido Stevens  |  +31.43.3618933  |  http://cosent.nl
>
>     s o c i a l   k n o w l e d g e   t e c h n o l o g y
>

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.