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
Ext Js introduction and new features in Ext Js 6
PPTX
Introduction to ExtJS and its new features
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
Ext Js introduction and new features in Ext Js 6
Introduction to ExtJS and its new features
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)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
KodekX | Application Modernization Development
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
Teaching material agriculture food technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation_ Review paper, used for researhc scholars
The Rise and Fall of 3GPP – Time for a Sabbatical?
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
KodekX | Application Modernization Development
NewMind AI Weekly Chronicles - August'25 Week I
Diabetes mellitus diagnosis method based random forest with bat algorithm
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Unlocking AI with Model Context Protocol (MCP)
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Building Integrated photovoltaic BIPV_UPV.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation_ Review paper, used for researhc scholars

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?