惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Palo Alto Networks Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
Schneier on Security
Engineering at Meta
Engineering at Meta
I
InfoQ
L
LangChain Blog
Cyberwarzone
Cyberwarzone
T
Tenable Blog
WordPress大学
WordPress大学
P
Privacy & Cybersecurity Law Blog
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Jina AI
Jina AI
C
CERT Recently Published Vulnerability Notes
Scott Helme
Scott Helme
博客园 - 三生石上(FineUI控件)
酷 壳 – CoolShell
酷 壳 – CoolShell
Know Your Adversary
Know Your Adversary
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Last Watchdog
The Last Watchdog
Last Week in AI
Last Week in AI
Cloudbric
Cloudbric
S
SegmentFault 最新的问题
爱范儿
爱范儿
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 叶小钗
AI
AI
T
Tor Project blog
I
Intezer
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
Visual Studio Blog
N
News and Events Feed by Topic
Latest news
Latest news
S
Security Affairs
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog RSS Feed
C
Cybersecurity and Infrastructure Security Agency CISA
Hugging Face - Blog
Hugging Face - Blog
小众软件
小众软件
S
Securelist

Backbone.js

渣渣想请教下有关backbone的一点入门理解问题 关于BackboneJS中extend实现的理解 - V2EX Backbone.js的兼容性怎么样?ie6能支持吗 - V2EX backbone.js的例子问题 - V2EX 有用过Backbone的吗,backbone在不同路由跳转的时候可以从服务器取模板吗?还是说要所有的模板都要取回来? 请问国内有什么关于Backbone.js的社区么? - V2EX
js模板过于集中的问题
leeyupeng · 2011-10-21 · via Backbone.js

Backbone supplies structure to JavaScript-heavy applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.

这是一个创建于 5349 天前的主题,其中的信息可能已经有所发展或是发生改变。

最近在用backbone改一个后台管理(web端用的django),结果导致很多的js模板,类似<script type="text/template" id="xxx">之类的都放到了同一个.html里,但对于每个不同的router来说,不是所有的模板都需要,这样页面加载完后其实多了很多无用的js模板。

不知道这是不是单页应用的固有问题,还是说有别的解决方法?

  • 模板
  • JS
  • 端用

    5 条回复    1970-01-01 08:00:00 +08:00

    lainuo

    3

    lainuo      2011 年 10 月 22 日

    没办法吧...Jammit好像是用来管理打包的吧...

    放HTML里看着不舒服的话, 扔JS里压掉就不碍眼了...

    panlilu

    4

    panlilu      2011 年 10 月 22 日

    有没有不需要django的类似的包管理库?