Git Product home page Git Product logo

ext4seed's Introduction

利用Ext cmd工具生成原始工程

首先,安装cmd环境;然后,切换到工程目录;运行sencha web start启动server;在浏览器中访问1841端口。

Sencha cmd 文档地址

Seed/app

This folder contains the javascript files for the application.

Seed/resources

This folder contains static resources (typically an "images" folder as well).

Seed/overrides

This folder contains override classes. All overrides in this folder will be automatically included in application builds if the target class of the override is loaded.

Seed/sass/etc

This folder contains misc. support code for sass builds (global functions, mixins, etc.)

Seed/sass/src

This folder contains sass files defining css rules corresponding to classes included in the application's javascript code build. By default, files in this folder are mapped to the application's root namespace, 'Seed'. The namespace to which files in this directory are matched is controlled by the app.sass.namespace property in Seed/.sencha/app/sencha.cfg.

Seed/sass/var

This folder contains sass files defining sass variables corresponding to classes included in the application's javascript code build. By default, files in this folder are mapped to the application's root namespace, 'Seed'. The namespace to which files in this directory are matched is controlled by the app.sass.namespace property in Seed/.sencha/app/sencha.cfg.

  1. definition.js 约等于 manifestDefinition.js 都是对类定义的抽象,并且列出了直接require和use的类

  2. definitionAppManifest.js 约等于 definitionLoadOrder.js 后者包含了每一个类的依赖类(直接依赖、间接依赖以及不明显依赖,比如:extend),以及类编号和路径 前者,包含三部分内容: paths —— 命名空间根路径; loadOrder —— 等于definitionLoadOrder.js classes —— 类的名字、编号、别名、备用空间名

    这样,definitionAppManifest.js就把类名、别名、备用空间、路径、所有的依赖类,都包含了进来。

    所以,通过分析definitionAppManifest.js文件,可以满足我们的需求。 下一步,通过写自定义的类,来测试可行性。

  3. manifestFilename.js 等于 filenames.txt 列出来所有类文件的路径

  4. minifextDefinition.js 约等于 definition.js 列出来所有类的定义,以及uses 和 requires

ext4seed's People

Contributors

wangyuelucky avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.