需要反馈:新的PHP模板引擎 [英] Feedback wanted: new PHP template engine

查看:56
本文介绍了需要反馈:新的PHP模板引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


过去几个月我一直在制作模板引擎,因为

那些没有服务的我的需要。我想每个人都知道

Smarty并对此有意见;我喜欢很多关于它的事情,但

不喜欢其他许多人。我做的事情被称为''Farty''(对不起,我在名字上吮吸了

)并且在很多方面都是Smarty的简单版本。它保持良好(编译到php文件,清理语法)并修复坏的

(必须学习一门新语言,灵活性有限)。我还添加了一些非常漂亮的可扩展性功能,我甚至写了一些文档!

我相信现在它和Smarty一样强大,除了

对于一些缺少预先打包的模板函数 - 否则它应该已经相当成熟了。


无论如何,我犹豫了有一段时间,因为那是我的害羞男人,

但我现在真的想要一些反馈,看看PHP

社区是否认为这是一个继续进行的项目工作(也许是一个更好的名字。)


因此,任何评论,无论好坏,无论是在这里还是在网站上,

将非常感激。


网址 http://e.teeselink.nl/farty


非常感谢任何反馈!

解决方案

Egbert Teeselink写道:


大家好,


过去几个月我一直在制作模板引擎因为

那些出来的没有满足我的需求。我想每个人都知道

Smarty并对此有意见;我喜欢很多关于它的事情,但

不喜欢其他许多人。我做的事情被称为''Farty''(对不起,我在名字上吮吸了

)并且在很多方面都是Smarty的简单版本。它保持良好(编译到php文件,清理语法)并修复坏的

(必须学习一门新语言,灵活性有限)。我还添加了一些非常漂亮的可扩展性功能,我甚至写了一些文档!

我相信现在它和Smarty一样强大,除了

对于一些缺少预先打包的模板函数 - 否则它应该已经相当成熟了。


无论如何,我犹豫了有一段时间,因为那是我的害羞男人,

但我现在真的想要一些反馈,看看PHP

社区是否认为这是一个继续进行的项目工作(也许是一个更好的名字。)


因此,任何评论,无论好坏,无论是在这里还是在网站上,

将非常感激。


网址 http://e.teeselink.nl/farty


非常感谢任何反馈!



我真的很有经验的Smarty用户,我必须说我喜欢你的

语法,而不是Smarty使用的语法。 />

我喜欢标签库语法。


我没有测试Farty,但绝对要求适合我:

1.编译失败时出现错误消息

2.稳定性

3.能够在模板中使用对象(在网站中不可见或<样本中的


4.方法链接


你要尽快更改名称。这是一场营销灾难。


Joe


我没有测试Farty,但绝对要求适合我:


>

1.编译失败时出现错误消息

2.稳定性

3.能够在模板中使用对象(在网站中不可见或样本中的


4.方法链接


感谢您的反馈!

1现在是一场灾难,基本上任何东西都会被编译,

可能会导致错误的PHP代码,导致在

编译文件中出现解析错误。会对那个问题有所帮助。


2和3应该没问题,虽然很难说明

课程的稳定性


方法链是什么意思?根据定义,使用

结果调用另一个方法是可能的,因为表达式

代码只是PHP代码..


然后你尽快改名。这是一场营销灾难。



是的,我应该。任何建议,任何人?我真的很尴尬,

所以坚持一个糟糕的笑话。不知怎的,我想保留一个Smarty参考

,因为它受到了Smarty的启发 - 没有听起来好像

就像一个ripoff ..


Egbert Teeselink schreef:


>我没有测试Farty但是绝对要求适合我:

1。如果编译失败,则会出现错误消息
2。稳定性
3。能够在模板中使用对象(在网站中不可见或样本中的

4。方法链接



感谢您的反馈!

1现在是一场灾难,基本上任何东西都会被编译,

可能导致错误的PHP代码,导致

编译文件中的解析错误。会对那个问题有所帮助。


2和3应该没问题,虽然很难说明

课程的稳定性


方法链是什么意思?根据定义,使用

结果调用另一个方法是可能的,因为表达式

代码只是PHP代码..


>并且您尽快更改名称。这是一场营销灾难。



是的,我应该。任何建议,任何人?我真的很尴尬,

所以坚持一个糟糕的笑话。不知怎的,我想保留一个Smarty参考

,因为它受到了Smarty的启发 - 没有听起来好像

就像一个ripoff ..



派对?


问候,

Erwin Moller

Hi all,

The last few months I''ve worked on making a template engine because
the ones out there didn''t serve my needs. I guess everybody knows
Smarty and has an opinion on it; I like many things about it, but
dislike many others. The thing I made is called ''Farty'' (sorry, I suck
at names) and is in many ways a simpler version of Smarty. It keeps
the good (compiling to php files, clean syntax) and fixes the bad
(having to learn a new language, limited flexibility). I also added
some pretty nifty extensibility features, and I even wrote some docs!
I believe that right now it''s just about as powerful as Smarty except
for some missing pre-packaged template functions - otherwise it should
be pretty mature already.

Anyway, I''ve hesitated for a while because that''s the shy guy I am,
but I''d really want some feedback on it now, and see if the PHP
community thinks that this is a project work continuing (and given a
better name, maybe).

As such, any comments, good or bad, either here or on the website,
will be more than appreciated.

The URL is http://e.teeselink.nl/farty

Any feedback is very appreciated!

解决方案

Egbert Teeselink wrote:

Hi all,

The last few months I''ve worked on making a template engine because
the ones out there didn''t serve my needs. I guess everybody knows
Smarty and has an opinion on it; I like many things about it, but
dislike many others. The thing I made is called ''Farty'' (sorry, I suck
at names) and is in many ways a simpler version of Smarty. It keeps
the good (compiling to php files, clean syntax) and fixes the bad
(having to learn a new language, limited flexibility). I also added
some pretty nifty extensibility features, and I even wrote some docs!
I believe that right now it''s just about as powerful as Smarty except
for some missing pre-packaged template functions - otherwise it should
be pretty mature already.

Anyway, I''ve hesitated for a while because that''s the shy guy I am,
but I''d really want some feedback on it now, and see if the PHP
community thinks that this is a project work continuing (and given a
better name, maybe).

As such, any comments, good or bad, either here or on the website,
will be more than appreciated.

The URL is http://e.teeselink.nl/farty

Any feedback is very appreciated!

I''m a really experienced Smarty user and i must say that i like your
syntax more than the syntax Smarty uses.

I like the tag libary syntax.

I didn''t testet Farty but absolute requirements are for me:

1. Good error messages if a compile failed
2. Stability
3. Ability to use objects in the template (not visible in the website or
in the samples)
4. Method chaining

And you shold change the name asap. It''s a marketing disaster.

Joe


I didn''t testet Farty but absolute requirements are for me:

>
1. Good error messages if a compile failed
2. Stability
3. Ability to use objects in the template (not visible in the website or
in the samples)
4. Method chaining

Thanks for the feedback!
1 is a disaster right now, as basically anything will get compiled,
possibly into erroneous PHP code, resulting in a parse error in the
compiled file. will work on that one.

2 and 3 should be fine, though it''s hard to tell about stability of
course

What do you mean by method chaining? Calling one method with the
results of another is possible by definition, because the expression
code is simply PHP code..

And you shold change the name asap. It''s a marketing disaster.

True that, I should. Any suggestions, anyone? I really suck at this,
so stuck with a bad joke. Somehow I''d like to keep a Smarty reference
because of how much it''s been inspired by Smarty - without sounding
like a ripoff..


Egbert Teeselink schreef:

>I didn''t testet Farty but absolute requirements are for me:

1. Good error messages if a compile failed
2. Stability
3. Ability to use objects in the template (not visible in the website or
in the samples)
4. Method chaining


Thanks for the feedback!
1 is a disaster right now, as basically anything will get compiled,
possibly into erroneous PHP code, resulting in a parse error in the
compiled file. will work on that one.

2 and 3 should be fine, though it''s hard to tell about stability of
course

What do you mean by method chaining? Calling one method with the
results of another is possible by definition, because the expression
code is simply PHP code..

>And you shold change the name asap. It''s a marketing disaster.


True that, I should. Any suggestions, anyone? I really suck at this,
so stuck with a bad joke. Somehow I''d like to keep a Smarty reference
because of how much it''s been inspired by Smarty - without sounding
like a ripoff..

Party?

Regards,
Erwin Moller


这篇关于需要反馈:新的PHP模板引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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