Home Web Front-end JS Tutorial Watch tangram js library_javascript skills

Watch tangram js library_javascript skills

May 16, 2016 pm 06:13 PM

Tangram官方网站。
http://tangram.baidu.com/tangram/

围观社区:
简易社区,直接使用tieba。反馈的信息不大多。
按优点、不足、疑问、建议,分开来看。


优点:
本土化与中国特色。
caisonghai:
    tangram 七巧板 很好 支持国产
willstier:
    是纯中文的,对于我们这些英文不够的人来说,可能要更合适一些.
我是套娃:
    百度的工程师拿着百度的工资写着百度类库的中文文档,比业余爱好翻译进口内裤文档的效率要高点

开源给企业形象加分。
后天美丽:
    开源是正道,多做贡献少作恶。(JK:一直不明白,百度作过什么恶。)
willstier:
    希望这个东西能给百度增加一点正面的形象

折分粒度小,可订制。
枪枪_枪手:
    可以订制,这个功能太爽了。这个好像其它的没有。
wuduoyi:
    ……(原文略,大意是能精细订制,jquery无法做到)
andyhonglove:
    看了下,很不错,比JQ体积小多了,感谢百度。(JK:应该是按需订制后的大小。)

不足:
文档问题:
我是套娃:
    围观了一下API文档,整个基础库没什么惊喜的东西,UI库的组件丑,好像也没外观可定制性,代码封装的也不优雅。
xrsf13:
    百度搜不到什么技术文档,如果这个内裤没有亮点,我情愿继续用jq
1‰的爱恋:
    开发文档居然夹杂中英文引号,我只能摊手,表示这玩意还是不用为好
zsl198854:
    还浏览器支持,,,完整拷你一个简单例子都报错!
ishanon:
    官网的文档的文档实在不敢恭维。
(JK:文档,这东东真是个难题。)

“框架”与“框枷”。
宴会面具:
    绑架,完全是一种绑架。学js是必须d.小心被绑架.到时候会死的很难看的

易用性。
苗荣庭:
    操作上,感觉没有JQ和Ext来的精简实用。获取一个DOM,JQ只需要输入$ extjs也只是Ext.Get 而这个需要输入一长串才可以。虽然可以先var一个baidu.dom 但个人感觉,还是太长了。建议精简。 (JK:tangram也有链式调用(Element),不过与jq相比,显得有点粗糙。)

疑问:
网友willstier:
    1.百度是否能够坚持做下去
    2.是否会有足够的周边资源.毕竟JQuery有着丰富的资源.
folyred:
    (相对于jquery等的快速更新)baidu是否会坚持改进和不断更新,如何去整合资源。
我是套娃:
    百度专职做这个项目的工程师有多少?不会是开发产品是这一批人,做tangram项目也是这一批人,百度产品开发繁忙的时候,这条内裤也就几个月不洗。
    现在除了IE,很多浏览器都会自动升级,今天发布一个库,明天浏览器一升级可能就不兼容了,特别是UI组件。这个时候怎么办?
yojeajie
    什么时候百度或者是社区能够提供一个对tangram好的开发环境和本地化的api。

建议。
在社区里面,没看到什么有价值的建议。
------------------------------------------------

 

JK的一些想法:
1。关于tangram的名字。
    很有中国特色的一个名字。
    是一个冷词,对于tangram的用户,在百度或谷歌搜tangram,搜到的结果会符合预期。
    不足是:不便记忆,不大好缩写。
2。关于命名空间baidu。
    其实不大明白,作为一个开源项目,为什么要把命名空间用baidu?而不是用tangram(如果用tangram,需要解决“tangram应该缩写成什么”这个问题)。
3。订制功能/本土化(国人原创,天然本土)是tangram的两大亮点。
4。易使用性/封装技巧/代码结构/扩展方式等,ms还有不少的改进地方。

Using a library will have considerable costs and risks.
Judging from the current situation, tangram still needs a lot of improvements to become a "convenient", "healthy" and "reliable" framework for project developers.
But for some js hobby, it is a good choice to use it as a function library to develop independent components.

Purely my personal opinion, please forgive me if I’m biased

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Replace String Characters in JavaScript Replace String Characters in JavaScript Mar 11, 2025 am 12:07 AM

Detailed explanation of JavaScript string replacement method and FAQ This article will explore two ways to replace string characters in JavaScript: internal JavaScript code and internal HTML for web pages. Replace string inside JavaScript code The most direct way is to use the replace() method: str = str.replace("find","replace"); This method replaces only the first match. To replace all matches, use a regular expression and add the global flag g: str = str.replace(/fi

8 Stunning jQuery Page Layout Plugins 8 Stunning jQuery Page Layout Plugins Mar 06, 2025 am 12:48 AM

Leverage jQuery for Effortless Web Page Layouts: 8 Essential Plugins jQuery simplifies web page layout significantly. This article highlights eight powerful jQuery plugins that streamline the process, particularly useful for manual website creation

Build Your Own AJAX Web Applications Build Your Own AJAX Web Applications Mar 09, 2025 am 12:11 AM

So here you are, ready to learn all about this thing called AJAX. But, what exactly is it? The term AJAX refers to a loose grouping of technologies that are used to create dynamic, interactive web content. The term AJAX, originally coined by Jesse J

10 Mobile Cheat Sheets for Mobile Development 10 Mobile Cheat Sheets for Mobile Development Mar 05, 2025 am 12:43 AM

This post compiles helpful cheat sheets, reference guides, quick recipes, and code snippets for Android, Blackberry, and iPhone app development. No developer should be without them! Touch Gesture Reference Guide (PDF) A valuable resource for desig

Improve Your jQuery Knowledge with the Source Viewer Improve Your jQuery Knowledge with the Source Viewer Mar 05, 2025 am 12:54 AM

jQuery is a great JavaScript framework. However, as with any library, sometimes it’s necessary to get under the hood to discover what’s going on. Perhaps it’s because you’re tracing a bug or are just curious about how jQuery achieves a particular UI

10 jQuery Fun and Games Plugins 10 jQuery Fun and Games Plugins Mar 08, 2025 am 12:42 AM

10 fun jQuery game plugins to make your website more attractive and enhance user stickiness! While Flash is still the best software for developing casual web games, jQuery can also create surprising effects, and while not comparable to pure action Flash games, in some cases you can also have unexpected fun in your browser. jQuery tic toe game The "Hello world" of game programming now has a jQuery version. Source code jQuery Crazy Word Composition Game This is a fill-in-the-blank game, and it can produce some weird results due to not knowing the context of the word. Source code jQuery mine sweeping game

How do I create and publish my own JavaScript libraries? How do I create and publish my own JavaScript libraries? Mar 18, 2025 pm 03:12 PM

Article discusses creating, publishing, and maintaining JavaScript libraries, focusing on planning, development, testing, documentation, and promotion strategies.

jQuery Parallax Tutorial - Animated Header Background jQuery Parallax Tutorial - Animated Header Background Mar 08, 2025 am 12:39 AM

This tutorial demonstrates how to create a captivating parallax background effect using jQuery. We'll build a header banner with layered images that create a stunning visual depth. The updated plugin works with jQuery 1.6.4 and later. Download the

See all articles