Re: VIDEO: Simplifying Plone with tiles and shortcodes
Guido Stevens <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Organization | Cosent -:- social knowledge technology |
| Message-ID | <[email protected]> |
On 15/03/14 01:09, Martin Aspeli wrote: > On Fri, Mar 14, 2014 at 11:13 pm, Dylan Jay > <djay-n0pU0XVUApFWk0Htik3J/[email protected]="mailto:djay-n0pU0XVUApFWk0Htik3J/[email protected]">> wrote: > 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. When watching the video I immediately thought: that's cool and powerful, but of course it's only a prototype and the shortcodes will be hidden behind some visual placeholder soon. The whole raison d'etre for a WYSIWIG editor is to hide the markup language from the end user and replace it with a more intuitive editing interface. To now introduce a second layer of markup language in there (on top of the WYSIWIG-wrapped HTML) is inelegant. I appreciate that a lot of work has been done to get to this point. Would there be many obstacles in factoring the shortcodes into a domain specific language that can be marked up in html? I mean something like e.g. <div class="plone-app-contentlistingtile folder_summary" data-view_template="folder_summary" data-path=".::1"> <div class="control">(change tile parameters)</div> <div class="preview"> ... </div> </div> That would open the route to fully integrate the editing of tiles seamlessly into the WYSIWIG editor itself. I understand that if it would've been easy, it would've been done. But I'm asking specifically: a) what are the obstacles? and b) now that we have a working shortcodes implementation, doesn't that help and make the final leap more attainable? :*CU# -- 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/13534_NeoTech