VulneroIntroducing a Zend Framework library that allows you develop applications on top of               WordPress.       ...
Why They Want WordPress.             Like it or not,             When your             (boss|client|friend)             ne...
Why We Want WordPress.Because it’s documented, has a vast community, and is extendible.
It can be difficult.  Plugins typically have …  • Global and procedural functions  • Lots of ugly, deprecated code  • Bias...
The Benefits of Using a Framework.• More secure, reliable applications• APIs to vendors like Google and Amazon• Supports p...
What do I need Vulnero for?require_once ‘Zend/Application/Bootstrap/Bootstrap.php’;                          vs
Share Common Resources.        Routing Requests    Add your own routes (/myapp)                  Layouts   Render views in...
Add your own routes.myapp.type = Zend_Controller_Router_Routemyapp.route = myapp/:controller/:actionmyapp.defaults.module ...
Shared Layout.Duplicate Layouts for your Website/App:• Takes time and effort• Changes mean double the updates• APIs/code n...
Widgets work like Controllers.Becomes:
Create admin pages the same way.Becomes:
Store key/value pairs.
Working with the WordPress API.Vulnero accesses WordPressfunctionality through a broker class:• Responses can be standardi...
Vulnero can simulate and imitate WordPress.Responses might be simulated for:• Unit tests• Command line scriptsResponses mi...
It’s open source. Vulnero 1.01 ready for download.
Links and Resources.Project Site:     http://www.vulnero.com    GitHub:       https://github.com/andrew-kandels/vulnero   ...
Upcoming SlideShare
Loading in...5
×

WordPress and Zend Framework Integration with Vulnero

3,910

Published on

Vulnero is a WordPress plugin that transforms WordPress into an object-oriented CMS by implementing a Zend Framework application that interfaces with its API.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
3,910
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

WordPress and Zend Framework Integration with Vulnero

  1. 1. VulneroIntroducing a Zend Framework library that allows you develop applications on top of WordPress. By Andrew Kandels
  2. 2. Why They Want WordPress. Like it or not, When your (boss|client|friend) needs a (blog|website), they’re probably going to ask about WordPress.
  3. 3. Why We Want WordPress.Because it’s documented, has a vast community, and is extendible.
  4. 4. It can be difficult. Plugins typically have … • Global and procedural functions • Lots of ugly, deprecated code • Bias toward simplicity
  5. 5. The Benefits of Using a Framework.• More secure, reliable applications• APIs to vendors like Google and Amazon• Supports popular Web 2.0 functionality• Familiar to other developers• Benefit from the community Saves time.
  6. 6. What do I need Vulnero for?require_once ‘Zend/Application/Bootstrap/Bootstrap.php’; vs
  7. 7. Share Common Resources. Routing Requests Add your own routes (/myapp) Layouts Render views in WordPress themes with widgets and menus Configuration Shared configuration Caching Cache expensive work Database Leverage the WordPress MySQL DB Authentication Authentication and access control using WordPress sessions and user recordsYou don’t have to use the WordPress API to build on WordPress.
  8. 8. Add your own routes.myapp.type = Zend_Controller_Router_Routemyapp.route = myapp/:controller/:actionmyapp.defaults.module = defaultmyapp.defaults.controller = indexmyapp.defaults.action = index• Application routes take precedence• Requests that don’t match a route are handled by WordPress• Matched requests are served through Zend_Application’s controllersTransparent to users who know controllers, views and routing in the Zend Framework.
  9. 9. Shared Layout.Duplicate Layouts for your Website/App:• Takes time and effort• Changes mean double the updates• APIs/code needed to shared contentUsing the same layout means:• Lots of themes for WordPress• Take advantage of plugins• Reuse menus and widgets for content Your WordPress theme works just like Zend_Layout (more transparency).
  10. 10. Widgets work like Controllers.Becomes:
  11. 11. Create admin pages the same way.Becomes:
  12. 12. Store key/value pairs.
  13. 13. Working with the WordPress API.Vulnero accesses WordPressfunctionality through a broker class:• Responses can be standardized• More object-oriented• Additional filters/permissions Opens the door for other CMS integrations… Drupal? Ick, but maybe.
  14. 14. Vulnero can simulate and imitate WordPress.Responses might be simulated for:• Unit tests• Command line scriptsResponses might be imitated for:• Database migration scripts• Workers and message queues• Cronjobs for emails, notifications or background processing Vulnero can imitate WordPress for bootstrapping the database, caching and stored key/value pairs.
  15. 15. It’s open source. Vulnero 1.01 ready for download.
  16. 16. Links and Resources.Project Site: http://www.vulnero.com GitHub: https://github.com/andrew-kandels/vulnero Me: Andrew Kandels akandels [at] gmail.com @andrewkandels http://andrewkandels.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×