English 中文(简体)
在“ j”中生成的许多条码。 寻找更好的途径
原标题:A lot of html-code generated in jQuery. Searching for better ways

目前,Im公司正在撰写一些 j-Stuff,与js生成的超文本一起工作。 自2006年以来 I m在一队工作,想搜索 j岩模版发动机。 在另一方面,业绩非常重要,我认为 j的模版发动机可能吃太多。

什么样的最佳(最可维持和最能干的)解决办法能够与在酒类中形成重复的html编码相配合? 我听到了 j和 j。 你会建议什么?

最佳回答

我在。 Query official Templates plugin,我认为这是这方面的最佳选择。 其依据是贵图书馆创建者撰写的法典,以便你相信。

如今,权利是幸运的,但可以毫无问题地加以利用。 我已经对大型项目进行了测试,没有问题。

希望会有所助益。

问题回答

Have a look at jQuery Templates plugin. Currently it s beta only but it will become part of jQuery. For better performance make sure that the template is compiled only once.

我还认为,j Query模板的原始图形是一种粗心的文字。 Afaik通过Reig s Microtemplating办法,这种办法已经是冷却。

不管怎么说,如果性能直线事项,任何客户都不会提供发动机,今天都能够用服务器提供发动机。 您仍然可以通过使用一台服务器,使您能够利用JSON将完全重新编辑的超文本和其他(备选)数据传送给客户。 我认为,这种技术相当常见。

Ref:





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签