by sroussey · 15y ago · 0 comments
The same thing happened on the server side some time ago when people just wrote some html home pages with some scripting tags (aka PHP). Eventually, when you start to create something complex, people started using some "scripts" and then eventually started doing MVC and the like on the server. Keeping with PHP, this means that people started using Zend Framework, CodeIgnitor, CakePHP, Symphony, YII, etc.
Some people complained that it was too much for lowly HTML, but time and capabilities advanced anyhow. Now that time is coming to the client, thanks to faster browsers, and HTML5 local storage. And mobile. Latency and offline mean storing things locally, and that means business logic at the client.
Prepare to love our JS framework overlords.
To make this tool, I dealt with all the frameworks listed. All have some flaws. ExtJS has copious markup (and CSS), and some non-optimal layout choices. ExtJS4, which you can download a preview of, has dealt with them. I admit, there is some of my ideas in there they ran with. One I did not propose, but (like Closure) they are using in v4 is rendering based on browsers. Old browsers get the copious markup so a real and good looking UI will be possible. And where it can be done in CSS3 instead, they use far less markup. The fast browsers become even faster.
I have to deal with ExtJS at my current job and I know I would never use this bloatware for any of my personal projects.
It is just bloat.
It tries to fool you by giving you a big library of pretty things that do nothing but blind your eyes from the real stuff that is going on. It was probably built by some people that don't understand the web, secretly hate it and need some desktop-programming abstractions to deal with it.
This approach has one limitation: as soon as you try to do something that the framework designers didn't plan for, you'll run into problems and have to write more work-around code than you would need in a straightforward manner.
Also, its documentation sucks:
- it uses JavaScript where it isn't necessary, - it works slow, - it breaks normal browser navigation, - it shows too much information on one page for the components that are already bloated.
Instead of doing something useful, the authors of this documentation chose to build something to show-off.
My advice: if you are building applications with dumb forms -- ExtJS is for you. If you want to build rich applications, customized to your user needs -- avoid it.
Even dumb forms don't work right with ExtJS. One example: there is no sane (or even insane - but documented) way of setting a default option in a combobox, or disabling individual options. Really?!
Seriously if you feel you need to use some big desktop-in-the-browser framework, look at SproutCore, or YUI, or Dojo, or Cappuccino, or....anything else.
If you go beyond a simple page you need a decent "heavyweight" framework, otherwise you just end up with a big ball of mud or writing your own. Extjs happens to work extremely well for experienced JS devs.
Illuminations is an outstanding plugin of serious pragmatic use. Its already paid for itself many times over in my work.
Oh and btw my forms work great - your obviously just a fool who blames the framework instead of your lack of ability which is the real cause.
You just called a group of people haters because they didn't support your ideals. I think this speaks for itself.
What does commercial-grade mean to you? How many users does that mean? How many tested platforms?
Microsoft and Google uses jQuery and not ExtJS, is that commercial-gradish enough for you? or they probably have "little (if any) real experience" according to you.
> If you go beyond a simple page you need a decent "heavyweight" framework, otherwise you just end up with a big ball of mud or writing your own.
This is a dubious claim, because:
- other people may actually be good at writing their own stuff
- ExtJS may not save you from writing custom stuff, because you may need stuff that aren't included
> Extjs happens to work extremely well for experienced JS devs.
> Illuminations is an outstanding plugin of serious pragmatic use.
Can you support these claims or you just wrote them down to justify your ideals?
> Oh and btw my forms work great - your obviously just a fool who blames the framework instead of your lack of ability which is the real cause.
You are obviously someone engaged in a trollish behavior for some reason.
Ive wrote several big ExtJs apps, its not quick nor easy, but the result code is fully customisable, clean and re-usable.
Which framework gives you as much powerful and customisable widgets, with a wide 'projet' approach as ExtJs ?
ExtJS is a library not an API and I fail to see any connection between the JavaScript library you use and web pages or web apps.
> Ive wrote several big ExtJs apps, its not quick nor easy, but the result code is fully customisable, clean and re-usable.
Does it support progressive enhancement? Is it accessible?
> Which framework gives you as much powerful and customisable widgets, with a wide 'projet' approach as ExtJs ?
The use case of a page vs an application should have a huge impact on the library i.e. architecture you select. If it doesn't and you say for example use jQuery for a RIA your on the road to a big ball of mud.
> Does it support progressive enhancement? Is it accessible?
Progressive enhancement is a concept best applied to web pages not applications.
Ext.js 4 has full ARIA & 508a support. Your example of YUI does not.
> http://developer.yahoo.com/yui/
Name one feature YUI has that Ext.js does not ?
YUI does not have any decent RIA architecture support, for example MVC.
YUI like jQuery is good for pages, not complex applications.