Sencha Architect协同开发
程序员文章站
2024-02-01 16:30:46
...
Sencha Architect 号称html5 web app的终极开发IDE.如果您不了解sencha touch是什么请跳过此文。
architect开发web app确实非常快速,现在我们团队都使用这个IDE来构建web app.但是发现architect有一套自己的项目管理结构,不能像之前用eclipse+js插件的形式用svn托管,共享代码。
要实现使用architect协同开发需要管理工程文件夹下*.xds和metadata,.sench目录。当然外部资源文件和文件夹也是要使用到的。
通过修改metadata目录下相应文件的内容就可以将修改同步到IDE中。
metadata目录下的文件都不带文件类型,其实也只是文本文件,用记事本或者其他文本编辑器打开。样式如:
{ "type": "Ext.Panel", "reference": { "name": "items", "type": "array" }, "codeClass": null, "userConfig": { "cls": [ "yd-background" ], "designer|userAlias": "AppDoor", "designer|userClassName": "AppDoor", "itemId": "appDoor", "layout": "fit" }, "designerId": "c6d2d73f-522c-47f7-8a52-8819d96ddf0e", "cn": [ { "type": "Ext.Panel", "reference": { "name": "items", "type": "array" }, "codeClass": null, "userConfig": { "cls": [ "yd-background" ], "itemId": "loginPanel", "style": null }, "designerId": "aa913960-da6f-441a-8054-e5ccde7987c4", "cn": [ { "type": "Ext.Button", "reference": { "name": "items", "type": "array" }, "codeClass": null, "userConfig": { "border": 0, "cls": [ "yd-button-background" ], "iconCls": null, "itemId": "showLoginButton", "margin": 20, "padding": 20, "style": null, "text": "登录" }, "designerId": "165fcac7-2a2f-4427-9de6-8bb50444905b" }, { "type": "Ext.Button", "reference": { "name": "items", "type": "array" }, "codeClass": null, "userConfig": { "border": 0, "cls": [ "yd-buttong-no" ], "iconCls": null, "itemId": "showRegisterButton", "margin": 20, "padding": 20, "style": null, "text": "注册" }, "designerId": "87d07c59-f761-4de5-ab26-d2d9f9d82c05" }, { "type": "Ext.Container", "reference": { "name": "items", "type": "array" }, "codeClass": null, "userConfig": { "container|align": "center", "container|pack": "center", "docked": "bottom", "layout": "hbox", "margin": "0 0 10 0", "padding": 2 }, "designerId": "5f8ea01b-6c39-40dd-a605-a14ba1e4fae4", "cn": [ { "type": "Ext.Label", "reference": { "name": "items", "type": "array" }, "codeClass": null, "userConfig": { "docked": null, "html": "<span style=\"align:center;\">有点意思科技有限公司旗下产品</span>", "layout|flex": null, "padding": 2 }, "designerId": "2f18f96d-fd18-40d3-b5af-ef4304d9046c" } ] } ] } ] }
metadata目录下的文件才是正真意义上的源文件,而app目录下是由architect生成的代码。
上一篇: epoll学习笔记
推荐阅读
-
Sencha Architect协同开发
-
sencha architect 2 官方实例 第一个实例
-
sencha architect 2 官方实例 Linked Instances
-
[Phonegap+Sencha Touch] 移动开发24 打包wp8.1的App,运行时输入框聚焦弹出软键盘之后,界面上移而不恢复原位的解决办法
-
Winform中在使用VS+svn进行协同开发时添加引用时的相对路径和绝对路径的问题
-
HTML5开发实战——Sencha Touch篇(1)
-
iOS 协同开发 问题
-
百度云率先提出ScreenX技术 给力多屏协同开发
-
本田和京都大学合作开发人类协同式AI
-
HTML5开发实战——Sencha Touch篇(2)