thecrgrt Posted August 4, 2011 Posted August 4, 2011 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. PS. Too many files copying are take a long time, even if each file is so small. Quote
Administrators Farshad Mohajeri Posted August 4, 2011 Administrators Posted August 4, 2011 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. Quote
thecrgrt Posted August 7, 2011 Author Posted August 7, 2011 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? Quote
Administrators Farshad Mohajeri Posted August 7, 2011 Administrators Posted August 7, 2011 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? Yes, there are many files that never used! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.