什么是“流体供电的TYPO3"?并推荐吗? [英] What is "Fluid powered TYPO3" and is it recommended?

查看:72
本文介绍了什么是“流体供电的TYPO3"?并推荐吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以流体供电的TYPO3"(如 http://fedext.net/所述)应理解的内容是什么?整合带来的好处?

What is to be understood by "Fluid powered TYPO3" (as stated by http://fedext.net/) and what are its benefits for the integration?

对于TYPO3 6.x,还有其他现代模板方法可以最好地转换为现在吗?

Are there other modern templating approaches for TYPO3 6.x that would be best practice to switch to now?

我不了解当前所处的不同系统,我需要澄清一下.

I don't understand the different systems that are around at the moment and I need some clarification.

问题的背景,我要寻找的是什么

The background of the question, what I am looking for:

  • 不要使用Templavoila
  • 保持简单,很少的编码开销
  • 这就是为什么我仍然使用标记的原因!
  • 在后端启用自定义内容项,例如电视中的FCE
  • TYPO3中的结构化内容"方法:预定义的输入和详细的呈现与任何内容"一样,如css_styled_content

https://github.com/Ecodev/bootstrap_package 又如何呢?值得推荐吗?

And what about https://github.com/Ecodev/bootstrap_package ? Is it recommendable?

推荐答案

Fluid提供了一种将模板逻辑与显示逻辑和控制器逻辑分开的更简洁的方法.当使用可能性流体和提到的扩展名(如vhs)(如布局和局部代码)时,您的结果会结构得更好.

Fluid offers a much cleaner approach of dividing template logic from display logic and controller logic. Your result will be structured much better when using the possibilities fluid and the mentioned extensions like vhs provide (like layouts and partials).

用法实际上非常简单,但仍可以与老式标记方法结合使用(您可以执行<f:cObject typoscriptObjectPath="lib.marks.MAIN-MENU"/>之类的操作).如果您需要像电视一样的后端灵活性,那么(当然)您必须自己编写一些代码.

The usage is actually very simple but can still be combined with the oldschool marker approach (you can do things like <f:cObject typoscriptObjectPath="lib.marks.MAIN-MENU"/>). If you need more flexibility in the backend like in TV, you (of course) have to code some things yourself.

最简单的方法是使用由在后端建模的扩展创建的扩展可以满足您的自定义需求,但是您也可以通过使用印刷文字和给定的字段(例如pages.layoutheader_layoutsection_frame等)来调整页面和/或默认内容元素的呈现.

The easiest way is to use an extension which is created by modelling it in the backend to fit your custom needs, but you can also adjust the rendering of pages and/or default content elements by using typoscript and the fields given (like pages.layout, header_layout, section_frame and so on).

因此,您始终可以在详细输入(扩展库扩展对象)之间进行选择,也可以将TYPO3默认属性(如页面属性和RTE配置)与某些拼写法(css_styled_content)结合使用.

So you always have the choice between detailed inputs (extbase extension objects) and using the TYPO3 default things like page properties and RTE config in combination with some typoscript magic (css_styled_content).

因此,结论我强烈建议您使用流畅的模板以及诸如vhs之类的其他扩展,因为它们提供了很多(附加)功能和可重复使用的模板,同时仍然允许您使用标记(如果需要) .就个人而言,我也更喜欢在后端中增强或限制RTE,以便为实现类似FCE的结果编写过多的特殊代码.

So as a conclusion I strongly recommend using fluid templates and additional extensions like vhs as they provide a lot of (additional) power and reusable templates while still let you use markers if you want to. Personally, I also prefer to enhance or limit the RTE in the backend in favor of writing too much special code for an FCE-like result.

BTW:通过在您的IDE中使用 fedext.net 中的DTD/XSD,它们具有非常好的自动完成功能.模板编程要快得多(例如25%).

BTW: There are very good autocomplete features by using the DTDs/XSDs from fedext.net in your IDE which made my template programming much faster (like 25%).

这篇关于什么是“流体供电的TYPO3"?并推荐吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆