SlideShare a Scribd company logo
DEFINE { Mysite, {
VIEW: { Ext JS },
MODEL: { Drupal },
STORE: { Drupal },
TITLE: “
”}};
// @Presenter: Eugene Heng
Theming
Drupal with
Sencha Ext JS
Sencha Ext JS
• JavaScript application framework for building interactive web
applications
• Improve user interaction for your website by providing attractive
graphical interface.
• Complement to core Drupal Theming: some of the graphical Interfaces
(“widgets”) are not provided by Drupal core.
• From same organisation creating Sencha Touch.
GUI in Sencha Ext JS
• http://www.sencha.com/products/extjs/examples/
Ext JS includes a set of GUI-based form controls (or "widgets") for use within web applications:
• text field and textarea input controls
• date fields with a pop-up date-picker
• numeric fields
• list box and combo boxes
• radio and checkbox controls
• html editor control
• grid control (with both read-only and edit modes, sortable data, lockable and draggable
columns, and a variety of other features)
• tree control
• tab panels
• toolbars
• desktop application-style menus
• region panels to allow a form to be divided into multiple sub-sections
• sliders
• vector graphics charts
- “Ext JS” from Wikipedia
Sencha Model-View-Controller (MVC) File
Structure
• Model – View – Controller (MVC)
Framework
• View: Graphical UI
• Model: Data Structure
• Store: Data Source
• Controller: Logic
• http://docs.sencha.com/extjs/4.2.1/
#!/guide/application_architecture
Common Setup for Drupal with Ext JS
• Ext JS as Client Side Frontend providing the GUI
• Drupal as Server Backend supplying the content
• Drupal page can be embedded within Ext JS Panel as HTML
page.
Drupal
Site
nodes.json
Dir
file
file
file
file
B
A
C
My Drupal
page
mysite.php
Request content
Request page
Ext JS code
Ext JS <-> Drupal, using services module
Services
Module
MySQL
Controllers JS
?
Store 1 JS
Model JS
REST
(JSON)
Views
JS
Content
Type 1
Content
Type 2
CT1.json
?
Store 2 JS
B
A
C
Dir
file
file
file
file
Custom
Module
CT2.json
Data 1
Data 2
Model 1 JS
Model 2 JS
Ext Module
EXT
Module
MySQL
Controllers JS
?
Store 1 JS
Model JS
REST
(JSON)
Views
JS
Content
Type 1
Content
Type 2
CT1.json
?
Store 2 JS
B
A
C
Dir
file
file
file
file
Custom
Module
CT2.json
Data 1
Data 2
Model 1 JS
Model 2 JS
Ext Module Functionalities
• Loading of the Ext JS library files.
• Automatic generation of JS code for Ext Model and Store definitions.
• A RESTful services API providing Create, Read, Update and Delete
(CRUD) operations for all Models and Stores.
• Generation of MVC JS files according to JS files structure declared in
custom module.
File Layout for Ext Module
• Custom Module
• Ext JS File Layout
/
Demo
Questions
• Do I need Ext JS on my Drupal site?
• Is Drupal Ext Module necessary for my site?
• How easy will it be to integrate Ext JS on my Drupal site?
• I am a Drupal developer, what other tools do I require?
What is Next?
Extend Ext module to support Sencha Touch code
generation.
Other possible extension: Integrated with Services
API?

More Related Content

PDF
WebsiteStructure
PDF
Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...
PPTX
WriteBackPlugin Presentation
 
PPTX
managing content objects
ODP
DrupalCafe7 CTools AJAX responder
PPT
Higher Productivity With Ase
PPTX
Web Designing
WebsiteStructure
Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...
WriteBackPlugin Presentation
 
managing content objects
DrupalCafe7 CTools AJAX responder
Higher Productivity With Ase
Web Designing

What's hot (17)

PPTX
Introduction to GXC-CMS
PDF
Mobile Offline First
PPTX
Mongo db1
PDF
Tech talk-live-alfresco-drupal
PDF
An introduction to MongoDB
KEY
Next Generation UI
PPT
Dot Net Nuke Presentation
PPTX
SQL vs MongoDB
PPTX
PPTX
Introduction à DocumentDB
PPTX
MongoDB by Emroz sardar.
PPTX
Site building using Drupal 8
PPTX
Big data and polyglot solutions
PPTX
Languages and tools for web programming
PPTX
Sitebuildingdrupal 8
PPTX
Microsoft Azure: Opção de Nuvem para Todo o Desenvolvedor
PPT
Drupal 7 unleashed
Introduction to GXC-CMS
Mobile Offline First
Mongo db1
Tech talk-live-alfresco-drupal
An introduction to MongoDB
Next Generation UI
Dot Net Nuke Presentation
SQL vs MongoDB
Introduction à DocumentDB
MongoDB by Emroz sardar.
Site building using Drupal 8
Big data and polyglot solutions
Languages and tools for web programming
Sitebuildingdrupal 8
Microsoft Azure: Opção de Nuvem para Todo o Desenvolvedor
Drupal 7 unleashed
Ad

Similar to Implemeting Sencha Ext JS in Drupal (20)

PPTX
Building Rich Internet Applications with Ext JS
PPTX
Kickstart sencha extjs
PPTX
Introduction to ExtJS and its new features
PPTX
Ext Js introduction and new features in Ext Js 6
PPTX
Sencha Tech Session
KEY
Drupal 6 JavaScript and jQuery
PPTX
Ext JS Introduction
PPTX
Sencha Products - Coderage Conference
PPT
jQuery and_drupal
PPTX
Lighting talk Sencha Extjs
PDF
Introduction to Node.js: perspectives from a Drupal dev
PDF
DogFoodCon 2014: Building Powerful Enterprise Applications Using Sencha's Tec...
PDF
Seven Versions of One Web Application
PDF
Drupal & javascript
KEY
Introduction to the wonderful world of JavaScript
PPT
ExtJS Sencha Touch
PDF
[Sencha 엔터프라이즈 웹애플리케이션 세미나] Enterprise Level Web Application w_ Ext JS 5
ZIP
Ext JS Meetup Presentation
PDF
JavaScript the Smart Way - Getting Started with jQuery
Building Rich Internet Applications with Ext JS
Kickstart sencha extjs
Introduction to ExtJS and its new features
Ext Js introduction and new features in Ext Js 6
Sencha Tech Session
Drupal 6 JavaScript and jQuery
Ext JS Introduction
Sencha Products - Coderage Conference
jQuery and_drupal
Lighting talk Sencha Extjs
Introduction to Node.js: perspectives from a Drupal dev
DogFoodCon 2014: Building Powerful Enterprise Applications Using Sencha's Tec...
Seven Versions of One Web Application
Drupal & javascript
Introduction to the wonderful world of JavaScript
ExtJS Sencha Touch
[Sencha 엔터프라이즈 웹애플리케이션 세미나] Enterprise Level Web Application w_ Ext JS 5
Ext JS Meetup Presentation
JavaScript the Smart Way - Getting Started with jQuery
Ad

Recently uploaded (20)

PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
KodekX | Application Modernization Development
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Big Data Technologies - Introduction.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Advanced IT Governance
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Advanced Soft Computing BINUS July 2025.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Electronic commerce courselecture one. Pdf
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
KodekX | Application Modernization Development
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Big Data Technologies - Introduction.pptx
MYSQL Presentation for SQL database connectivity
Advanced IT Governance
madgavkar20181017ppt McKinsey Presentation.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Advanced Soft Computing BINUS July 2025.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Monthly Chronicles - July 2025
Advanced methodologies resolving dimensionality complications for autism neur...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Electronic commerce courselecture one. Pdf
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
CIFDAQ's Market Insight: SEC Turns Pro Crypto
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

Implemeting Sencha Ext JS in Drupal

  • 1. DEFINE { Mysite, { VIEW: { Ext JS }, MODEL: { Drupal }, STORE: { Drupal }, TITLE: “ ”}}; // @Presenter: Eugene Heng Theming Drupal with Sencha Ext JS
  • 2. Sencha Ext JS • JavaScript application framework for building interactive web applications • Improve user interaction for your website by providing attractive graphical interface. • Complement to core Drupal Theming: some of the graphical Interfaces (“widgets”) are not provided by Drupal core. • From same organisation creating Sencha Touch.
  • 3. GUI in Sencha Ext JS • http://www.sencha.com/products/extjs/examples/ Ext JS includes a set of GUI-based form controls (or "widgets") for use within web applications: • text field and textarea input controls • date fields with a pop-up date-picker • numeric fields • list box and combo boxes • radio and checkbox controls • html editor control • grid control (with both read-only and edit modes, sortable data, lockable and draggable columns, and a variety of other features) • tree control • tab panels • toolbars • desktop application-style menus • region panels to allow a form to be divided into multiple sub-sections • sliders • vector graphics charts - “Ext JS” from Wikipedia
  • 4. Sencha Model-View-Controller (MVC) File Structure • Model – View – Controller (MVC) Framework • View: Graphical UI • Model: Data Structure • Store: Data Source • Controller: Logic • http://docs.sencha.com/extjs/4.2.1/ #!/guide/application_architecture
  • 5. Common Setup for Drupal with Ext JS • Ext JS as Client Side Frontend providing the GUI • Drupal as Server Backend supplying the content • Drupal page can be embedded within Ext JS Panel as HTML page. Drupal Site nodes.json Dir file file file file B A C My Drupal page mysite.php Request content Request page Ext JS code
  • 6. Ext JS <-> Drupal, using services module Services Module MySQL Controllers JS ? Store 1 JS Model JS REST (JSON) Views JS Content Type 1 Content Type 2 CT1.json ? Store 2 JS B A C Dir file file file file Custom Module CT2.json Data 1 Data 2 Model 1 JS Model 2 JS
  • 7. Ext Module EXT Module MySQL Controllers JS ? Store 1 JS Model JS REST (JSON) Views JS Content Type 1 Content Type 2 CT1.json ? Store 2 JS B A C Dir file file file file Custom Module CT2.json Data 1 Data 2 Model 1 JS Model 2 JS
  • 8. Ext Module Functionalities • Loading of the Ext JS library files. • Automatic generation of JS code for Ext Model and Store definitions. • A RESTful services API providing Create, Read, Update and Delete (CRUD) operations for all Models and Stores. • Generation of MVC JS files according to JS files structure declared in custom module.
  • 9. File Layout for Ext Module • Custom Module • Ext JS File Layout /
  • 10. Demo
  • 11. Questions • Do I need Ext JS on my Drupal site? • Is Drupal Ext Module necessary for my site? • How easy will it be to integrate Ext JS on my Drupal site? • I am a Drupal developer, what other tools do I require?
  • 12. What is Next? Extend Ext module to support Sencha Touch code generation. Other possible extension: Integrated with Services API?