- This topic has 2 replies, 2 voices, and was last updated 18 years, 5 months ago by johnlu_78759.
-
AuthorPosts
-
johnlu_78759MemberWe’re trying to determine if our Web UI folks could make the move from Dreamweaver to Eclipse and the WYSIWYG MyEclipse HTML Designer editor. Thanks in advance for any feedback you may have.
A big potential problem is that our presentation is managed using the Perl Template Toolkit (TT). That means that our UI developers edit .ttl files that contain a mix of good old HTML and special TT directives contained inside the markup tags [% and %]. For example, [% INCLUDE footer.htm %] or [% FOREACH link = webpages %]<p>blah</p>[% END %] . This is conceptually similar to PHP or JSP or ColdFusion, but the main thrust with TT is to separate presentation from implementation.
The two main questions I have are:
1) Is there any hope for the HTML Designer editor to “gracefully” display a Design version of these TTL files? So far, it chokes on my sample TTLs with various “Unsupported Document Construct” messages. Ideally, the TT directives would just show up as black-box glyphs in the Design editor so that editing is still possible.
2) Is is possible to extend the editing interface to create customized interaction with certain page elements? This may be impossible in principle if MyEclipse doesn’t provide any API hooks. But the idea here would be to extend the editor to recognize a few of our TT directives as objects with editable properties, much like it handles standard HTML elements.
If any or all of this is definitely out of reach at present, then I’m interested in anyone’s suggestions of WYSIWYG HTML design extensions or plugins for Eclipse that might support what we need here.
Best Regards,
John
Riyad KallaMember1) Is there any hope for the HTML Designer editor to “gracefully” display a Design version of these TTL files? So far, it chokes on my sample TTLs with various “Unsupported Document Construct” messages. Ideally, the TT directives would just show up as black-box glyphs in the Design editor so that editing is still possible.
Not likely as it will interpret the [% characters literally and doesn’t know they are delimiters. I can ask, but I don’t know that we would support this if it required a good amount of work (this is the first we’ev ever heard of this technology)
2) Is is possible to extend the editing interface to create customized interaction with certain page elements? This may be impossible in principle if MyEclipse doesn’t provide any API hooks. But the idea here would be to extend the editor to recognize a few of our TT directives as objects with editable properties, much like it handles standard HTML elements.
Not at this time, we don’t expose extension points for the designer to contributing plugins.
johnlu_78759MemberRiyad,
Thanks for the reply. It sounds as if there’s no MyEclipse solution for us in the near future, but I will stay tuned to the product as future releases are introduced.
Best Regards,
John -
AuthorPosts