Download presentation
Presentation is loading. Please wait.
Published byDwight Cooper Modified over 6 years ago
1
What your client has: Server(s) running WordPress Zend Framework
Custom database tables Non content framework sites w/ custom database tables What your client has:
2
Sound familiar?
3
How can external database data be efficiently accessed and displayed in a flexible way?
Research Question
4
Your options It is a ... Framework Product Access (external) Databases
Display HtmlList View Helper WP_List_Table Views API Strengths? Flexible Fast & simple (Extremely) Flexible So where is the Bottleneck? Overly flexible Output options limited Slowest to set up Your options
5
The 4 basic steps: Create a typical example (external) database table
Tell the Framework how to access the external database Query the external database table(s) Display the data The 4 basic steps:
6
Set-up Create the example database + table
Install Zend Framework 2 via composer Install WordPress Install Drupal 7 w/ Views API via Drush @todo: link to files Set-up
7
Drupal Additional Drupal modules: Schema Schema views Schema reference
Chart … and your custom module Drupal
8
Mount that database using Zend Framework 2:
@todo: depth-guide/zend-db-sql-zend-stdlib-hydrator.html Mount that database using Zend Framework 2:
9
Mount that database using WordPress:
@todo: Mount that database using WordPress:
10
Mount that database using Drupal:
Edit the settings.php Alternative method is also ok, but Add the code Mount that database using Drupal:
11
Query the table using Zend Framework 2:
@todo: Zend/Db/Select Query the table using Zend Framework 2:
12
Query the table using WordPress:
@todo: Query the table using WordPress:
13
Query the table using Drupal:
Add a custom module Use Schema + supporting modules View the schema Create hook_views_data instance Query the table using Drupal:
14
Mount that database using Drupal:
Edit the settings.php Alternative method is also ok, but Add the code Mount that database using Drupal:
15
Zend Framework Resources
16
WordPress WordPress Resources
17
Drupal Drupal Resources
18
Thank you About the author: Jeremy Chinquist Programmer for APA-OTS
Experienced Drupalist (link to Xing / LinkedIn) Thank you
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.