Active
Project:
Ext
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Plan
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2011 at 04:45 UTC
Updated:
11 Aug 2025 at 00:40 UTC
Jump to comment: Most recent
A new version of the ext module is being written which will provide a relatively comprehensive integration framework for Ext 4. A road map is being worked on at the moment, it can be viewed here.
Please feel free to leave feedback, suggestions and requests in the comments.
Once the road map is finalised tasks will be created in the issue queue. Let us know if you'd like to help out!
Comments
Comment #0.0
OliverColeman commentedAdded invitation to leave feedback
Comment #1
ckngNot sure how this is best implemented.
But have you consider the possibility of using Ext.Direct
or Views + Views Datasource?
Comment #2
OliverColeman commentedThanks for suggestion ckng. Views Datasource looks interesting, however unfortunately I don't think it will be of much use for this rewrite. The rewritten ext module does use Views as a data source for Ext Stores and Models (depending on the row style plugins used for each View), but most of the code for doing this has already been written and isn't particularly substantial (so the Views Datasource module looks like it would be overkill even if it does provide a useful API for dealing with Views data).
Comment #3
OliverColeman commentedThe MVC portion of the rewrite is nearing completion, the following has been implemented and tested, and the APIs are now pretty stable:
termand file. Provide the supporting code for full CRUD operations on them via the REST interface.I think this should be very useful for anyone implementing an Ext UI with a Drupal backend. This module is being developed to power a fairly complex application and has proven to be very useful. Give it a go!
Note that Ext 4.1.x is required.
The hook API can be viewed here: http://drupalcode.org/project/ext.git/blob_plain/refs/heads/6.x-2.x:/ext...
The other proposed parts of the rewritten module, an API to enable including Drupal page elements and content in Ext, will be started on soon...
I'm not so sure when the API to enable including Ext components in Drupal content will be started on as we probably won't be using this for the project this module is being developed for, but ironically it should be one of the easier parts to implement (shout out if you want to help ;)).
Comment #4
hestros commentedThere seams that Views 3 (D7) draws a clear path of integration ExtJS with drupal.
Views can be used as models (data) or configurable Layouts, parsing fields and expose formatted json (picked up by page's url) and as templates with fine tuning outputs (styling ctr).
There could be written an initial module for the basic requirements of the library (extjs) and maybe some generic views (code views) for application structure or module structure. Application views for example would have two handler, model and view (equivalent to MVC structure of ExtJS) and plugins to serve as Controllers.
Then it could be possible for users (web masters) to create their views based on fields of core entities or customized witch Views 3 has became quite efficient to handle.
Then other modules that hooked on the initial module will produce more extensions (like those in the samples folder in extjs 4). No need for extra logic accept maybe entity_info if that is vital.
The path is there and I can hear already the fuzz. All we have to do is take it. :)
This is not a road map rather a rough idea, but in my opinion is the most "drupal" way to ExtJS I can see right now.
I don't have any code to suggest right now as I have to comprehend overall the way Views is build (and execute and display) rather to replicate existing (third party modules or native views 3 ) views, handlers and plugins, 'cause my guess is that the plugins must be very carefully designed to serve their purpose and right now most of them are loaded with many unnecessary data (very fat arrays). And since views 3 has no documentation, studding previous version docs it sound redundant, as best is to study the actual code.
Maybe someone with compound understanding of CTools can suggest a non views approach, but it is likely to end up on the same point as we have to invent fields handling.
Any thoughts?
Comment #5
OliverColeman commentedI haven't looked at Drupal 7 and Views 3 at all (would love to, but projects I've been working on have been stuck at D6 for various reasons and I haven't had any spare time!). It sounds like the implied suggestion is that because in D7 (almost) everything is built from fieldable entities, and Views 3 can handle retrieval and display of any fieldable entity (correct me if I'm wrong), we can use it as the main engine behind an ext integration module, at least for Ext JS Models and Stores, and perhaps also in a more direct way to determine what fields get rendered (and perhaps how they're rendered) in some Ext JS Views (eg Ext JS Grids and Charts). Assuming this is correct, this does sound like a good idea. :) In any case, Drupal 7 should make the Models and Stores aspect of integration a lot easier with its uniform Fields API.
Comment #6
dabeast commentedsubscribe
Comment #7
dabeast commentedsubscribe
Comment #8
nicopace commentedsubscribe
Comment #9
erique.bomfim commentedI'm very happy on to see Drupal + ExtJS integration!!
The best thing to do ever!
Comment #10
Higer commentedAnyone knows how to use ExtJs in Drupal 7 ?
Comment #10.0
Higer commentedFixed cut off link.
Comment #11
avpaderno