Re: tiles/blocks

Victor Fernandez de Alba <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAKGc0N-w5zvTq+Q9LHRgAkj83VDHN1sVT2X1WAD_KM7jnkwMXw@mail.gmail.com>
Hi,
@Andreas: Thanks!

@Asko: I think we have to review how p.a.tiles are related to p.a.blocks
and break blocks functionality in order to use the minimum needed for tiles
to work. I also think that in the long run we should be able to bring
gridlets functionality with tiles and other Plone entities.

@Timo: I've used a tool called quickcast.io. It's using HTML5 video and
webm. Maybe I should try to upload it to YouTube.

@Nathan: Gridster is not responsive, although there are some people that
already done some work towards it. I do not think it would be extremely
complex, however having the gridster functionality in small screens would
be desirable but also a commodity. The rendering of the resultant composite
page does not require any JS, only the "edit" widget does. As Asko points
out, the real power of gridster is the custom serializer.

@Dylan: The abstraction of the CSS is one of the main concerns here. I
agree with Simone and Asko that we can have "generic" CSS classes that
lately would be Diazo-ed and transformed into any the grid system own
classes.

c.gridlets is barely a proof of concept, but I think it's a good start to
build more complete and interesting functionality arround the "composite
page/home page" use case. At least make it serve as a starting point
towards a general tiles/grid/layout pattern.

I'm looking forward to continue this discussion at PLOG next week!

Cheers,
V.

Víctor Fernández de Alba
http://about.me/victorfernandezdealba
g+/Twitter/IRC: sneridagh


On Thu, Apr 17, 2014 at 11:54 AM, Simone Orsi <[email protected]> wrote:

> On Thu, Apr 17, 2014 at 11:52 AM, Asko Soukka <[email protected]> wrote:
>
>> Hi,
>>
>> Dylan Jay wrote:
>> >
>> > But isn't the problem with having grid based layout edit in plone core
>> > is that it will require every front end theme to use that grid system?
>> > For example if it's bootstrap 3 that means all plone 3 themes are
>> > bootstrap 3 based themes
>> >
>>
>> It should not be a too difficult to make the grid system configurable.
>>
>> E.g. if we would have gridster based layout pattern, then the pattern
>> could read from the currnet widget configuration the classes it should
>> use when serializing the gridster-generated layout.
>>
>
>
> ​yep! also: you can replace grid classes via diazo if needed (like we are
> doing with plone grid -> bootstrap grids)
>
>
>
>>
>> -Asko
>>
>> > On 17 Apr 2014 17:58, "Simone Orsi" <[email protected]
>> > <mailto:[email protected]>> wrote:
>> >
>> >     Hi guys,
>> >
>> >     1st of all: nice work Victor!
>> >
>> >     Me and my colleague Giorgio Borelli had done some work on
>> >     composite pages with tiles, using normal tiles and
>> >     plone.app.tiles/blocks for rendering. Rendering tiles on the fly
>> >     it's as simple as using the standard add/edit forms of tiles and
>> >     get the response back via ajax (with good amount of javascript
>> >     around it).
>> >
>> >     In our cases we had a fixed layout with one or two columns but
>> >     using libs such as gridster and alike to get a dynamic layout
>> >     would not require that much work IMO.
>> >
>> >     We are going to give two talks on this at PLOG [1] and we can
>> >     discuss it at the open garden session!
>> >
>> >     Cheers,
>> >     S.
>> >
>> >     [1] http://abstract-technology.com/plog-event-plone-italy
>> >
>> >
>> >
>> >     On Thu, Apr 17, 2014 at 6:54 AM, Asko Soukka <[email protected]
>> >     <mailto:[email protected]>> wrote:
>> >
>> >         Hi,
>> >
>> >         just saw Victor's c.gridlets. It looks awesome, but I'd still
>> >         like to prefer tiles in the long run, because they are so much
>> >         simpler (in every way) than porlets.
>> >
>> >>         I am currently looking at reaching the objectives described
>> >>         by Guido by only using plone.tiles and plone.app.tiles, but
>> >>         not plone.app.blocks, because of the issue discussed here:
>> >>         https://github.com/plone/plone.app.blocks/issues/5
>> >
>> >         It looks like blocks transform is registered for blocks
>> >         browser layer, so why not just:
>> >
>> >         - Leave the p.a.blocks profile unimported.
>> >         - Stamp only those requests rendering pages with tiles with
>> >         the blocks layer (e.g. in view __init__ so that blocks
>> >         transform would only be active for those requests).
>> >
>> >         Seems that you'll have a lot of fun at Sorrento :)
>> >
>> >         Cheers,
>> >         Asko
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> >         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
>> >         <mailto:Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
>> >         https://lists.sourceforge.net/lists/listinfo/plone-developers
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> >     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
>> >     <mailto:Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
>> >     https://lists.sourceforge.net/lists/listinfo/plone-developers
>> >
>> >
>> ------------------------------------------------------------------------------
>> > 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
>>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>

------------------------------------------------------------------------------
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.