Re: VIDEO: Simplifying Plone with tiles and shortcodes
"Martin Aspeli" <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <1394842194667.6609ba48@Nodemailer> |
Hi! — Sent from Mailbox for iPhone On Fri, Mar 14, 2014 at 11:13 pm, Dylan Jay <[email protected]="mailto:djay-n0pU0XVUApFWk0Htik3J/[email protected]">> wrote: On 15 Mar 2014 08:06, "Martin Aspeli" <[email protected]> wrote: > > > > > On 14 March 2014 21:04, Nathan Van Gheem <[email protected]> wrote: >> >> Martin, >> >> I think a couple things are different AFAIK: >> >> - no more folder type, pages are folderish(branch of plone.app.contenttypes) > > > Yeah, that makes sense, although it technically doesn't have anything to do with c.tinymcetiles ;) > >> >> - shortcode syntax > > > I suppose this is instead of the image placeholder? I wonder how well this user tests: do people inadvertently mess up the shortcodes? Otherwise, it's probably nicer than the image thing which always felt a bit hacky. > Sorry I should have given attribution to you and tinymcetiles as it is the same idea. no worries, I was just curious. The two big changes is now it doesn't assume persistent tiles Did it before, really? I remember (vaguely!) spending a lot of time making the add forms in p.a.tiles work with transient tiles. In any case, transient tiles are way better. I kind of regret ever creating the persistent tile thing.and the shortcode syntax. The intention was to use image placeholders originally but we needed a way to identify and preview the contents of a tile so I came up with this idea instead. You are exactly right that it has the downside that a single char missing can disable the tile. I considered that a lot. On balance I think short codes are better because they allow power users to cut and paste and make quick changes by hand. Agree. I am a bit worries that to very nontechnical users this may seem like "programming" and scary, but I don't know. It needs testing. I've used mikkos plonetemplates product in production and that did result in users breaking the code. However since this should result in shorter codes I'm hoping its less likely be accidentally broken in practice. I did ask some WordPress developers how many times they get complaints of people messing up functionality when shortcodes are used. We need to ask more. Also we need to user test this. >> >> - updates to listing tile > > > Again, not really a c.tinymcetiles point, but good. > >> >> Otherwise, I think your ideas are mostly used. > > > Is it the same code? Or put differently, where does the sprint outputs live? We created branches of tinymcetiles, contentlistingtile and p.a.contenttypes. Listing tile i changed a lot to create a new shorter way to serialize the query string args. Tinymce tiles still has some work to go. You can't yet reedit a tile or have two tiles on the same page. But what you see in the video does have tests. > > Martin > > ------------------------------------------------------------------------------ > 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/13534_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/13534_NeoTech _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers