Re: tiles/blocks
Dylan Jay <djay-n0pU0XVUApFWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CANyGbvd2fHyig8Qpq+mYMNGeeg73UTqdLVFCr-HpUuUCxzqGgw@mail.gmail.com> |
On 18 Apr 2014 04:42, "Victor Fernandez de Alba" <[email protected]> wrote: > > 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. Its more than just abstraction of CSS. If these layouts are a core feature (which I think it should be) then even if we abstract it, we are committing all future themes to use at least some kind of grid system. Just like if we include 4 different table style options in tinymce we are committing all future themes to ensure they work. Maybe assuming the web will always use a grid compatible with out layout editor is a good assumption? Maybe the themes that don't fit we are willing to lose in favour of editor/admin layout control? I think we just need to be aware of thus trade off now rather than much later. Simplifying our theming process so someone can make a theme quickly without a complex grid remapping process would be great right? Saves people time and money and makes plone useful to more people. Another possibility is to make tiles useable with and without grids. Grid layouts could be optionally turned on should the themer decide to include a grid in their theme. Perhaps without grids the layouts are fixed in the diazo theme by the themer and neither editor nor admin gets the ability change the layout, just insert tiles into an existing layout? Or tiles can inserted in the visual editor like images and just normal tinymce to lay it out? Or maybe all three? > > 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