Jump to content

Recommended Posts

Posted

How much number of ExtJS files were used by UniGUI?

There are so many files were included in ExtJS directory,

is it possible to reduce a number of files for only neccessary files?

 

I notice Raudas has only an ExtJS base class (ext-all.js), resources (CSS and Images) and locale files.

Of course, ext-sync-x.y.z-min.js, ext-unigui-x.y.z-min.js and unicanvas-x.y.z-min.js are neccessary but for others,

there are used for what? For example, since UniGUI has not supported for codemirror, why's it there?

 

Some people's asked to me, what are files has been changed? why i need to redeploy all files? :(

IMO, only for neccessary files are easier to deploy. :lol:

 

PS. Too many files copying are take a long time, even if each file is so small.

  • Administrators
Posted

Easy!

 

Right click on your page and select View Source.

 

 

<link rel=stylesheet href="ext-3.3.0/resources/css/uni-ext.css" />
<link rel=stylesheet href="ext-3.3.0/resources/css/ext-all.css" />
<script src="ext-3.3.0/adapter/ext/ext-base.js"></script>
<script src="ext-3.3.0/ext-sync-1.3.1-min.js"></script>
<script src="ext-3.3.0/ext-all.js"></script>
<script src="ext-3.3.0/examples/ux/ux-all.js"></script>
<link rel=stylesheet href="ext-3.3.0/resources/css/xtheme-blue.css" />
<link rel=stylesheet href="ext-3.3.0/examples/ux/css/ux-all.css" />
<style>body { background: #004080; }</style>
<script src="ext-3.3.0/codemirror-0.8/js/codemirror.js"></script>
<link rel=stylesheet href="ext-3.3.0/codemirror-0.8/css/csscolors.css" />
<script src="ext-3.3.0/codemirror-0.8/js/Ext.ux.CodeMirror.js"></script>
<script src="ext-3.3.0/ext-unigui-1.3.1-min.js"></script>

 

You can see files that are used by your particular app which is almost the same for all uniGUI apps.

 

Note1: CSS themes loads lots of images so you must deploy the images folder too.

Note2: If you use syntax highlighter then codemirror folder must be fully deployed.

Posted

Thank you, and sorry for my late reply.

 

One more question:

That's mean there are some files never been used by framework, aren't them?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...