Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9213539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:46:20+00:00 2026-06-18T01:46:20+00:00

I am developing a large-scale RIA application using Ext JS 4. Inside my index.html

  • 0

I am developing a large-scale RIA application using Ext JS 4. Inside my index.html I’ve the following definitions:

<link rel="stylesheet" href="ext/resources/css/ext-all.css">
<link rel="stylesheet" href="ext/src/ux/grid/css/GridFilters.css">
<link rel="stylesheet" href="ext/src/ux/grid/css/RangeMenu.css">
<link rel="stylesheet" href="resources/css/default/index.css">
<link rel="stylesheet" href="resources/css/default/profile/user.css">
<link rel="stylesheet" href="resources/css/default/profile/documents.css">

The problem
In provided code only index.css is present, but each view in my application will have its own CSS stylesheet, which will use its own sprites/images (I’ve added user.css and documents.css in provided code as example). That all will grow into a huge amount of not minified CSS files, which will slow down application loading time significantly.
Also, some styles of Ext JS ‘ux’ components are not included in ext-all.css (GridFilters.css and RangeMenu.css in provided code).

I can write down a script, which will compress all these CSS files into one file, but …

The question

  1. Which is the correct way for styling Ext JS 4 applications? Maybe one should create SCSS files and do all styling there, and compile each time with compass compile to create CSS files and do development?
  2. Is there any way to include styles for ‘ux’ components which comes in standard Ext JS 4 distribution? Some thing like ext-all.css for ‘ux components (something like ext-ux-all.css)

I hope many people are using Ext JS to create great applications and they’ve thought about or solved such problems for themselves. I’ll be grateful for any share of knowledge regarding this topic.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T01:46:22+00:00Added an answer on June 18, 2026 at 1:46 am

    I have a similar situation to yours.

    What I do is to first include the ext css file:

    <link rel="stylesheet" type="text/css" href="resources/css/ext-all-gray.css">
    

    Then all my app css is generated using compass. So there are a multitude of scss files that are compiled into a single css file. You can use compass watch so your css is compiled whenever a scss file changes.

    I have to say that once you get used to compass and sass/scss, it’s very hard to justify plain css files – compass and sass generate better cross-browser css and the scss files are far easier to maintain and customise compared to plain css.

    As for the ux css. I wouldn’t worry about it too much, but you have two options:

    • simply import your ux css files in your main scss file (see this answer);
    • use one of a multitude of css unifiers/mergers/minifiers out there.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a large scale application for iOS 5 using ARC in xcode. The
I am developing a large scale application in C++. The application also maintains a
We are developing an open source and free large scale database driven web application.
We're developing a large desktop application using Windows Presentation Foundation. Currently, the application is
I'm currently re-developing a fairly large-scale PHP web application. Part of this redevelopment involves
I plan to write a rather large-scale web application using JavaScript. I believe I
I am developing large data collecting ASP.Net/Windows service application-pair that uses Microsoft SQL Server
Has anyone had any experiences developing large Java applications using GNU gettext for internationalization?
We are going to be developing a large enterprise desktop application very soon and
I want opinion and views from community. I am developing a large application with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.