AWF is a new framework for developing plugins for WordPress, that can also run as standalone PHP applications and Joomla! components. Presented by Tim Plummer at WordCamp Sydney, 27th September 2014.
2. Who is Tim Plummer?
Coordinator of JoomlaDay Sydney
Oct 10th-12th 2014
@ UTS Haymarket
Sydney.joomladay.org.au
Convenor of Sydney JUG
Author of Learning
Joomla! 3 Extension
Development
4. I recently started experimenting with WordPress
Plugin Development
I’ve got a new framework to show you that
could potentially have a big impact for
WordPress Plugin developers
5. What if I told you that you could
write a WordPress plugin that can
also be used as a standalone PHP
application, or Joomla component
using the same codebase.
6. Why would a WP developer do this?
• Save yourself time
• Opening your WordPress plugin to another
community of site builders who are already
happy to purchase extensions
• Make it easier for your users to customise
your plugin
7. Introducing AWF
(Akeeba Web Framework)
A web application framework for single source
standalone web applications, Joomla!
components and WordPress plugins.
• WordPress 3.8.0 or greater
• GPL
• Requires PHP 5.3+
8. AWF for WordPress
• Object Oriented programming
• MVC
• ACL
• Template and media overrides
• Namespaces
• ORM
(These are things a lot
of WP developers in
the community
dream of)
9. AWF for Standalone PHP
• For those 56% (approx) of websites using PHP
but not using WordPress or Joomla
• Comes with it’s own user management
10. How does it work?
• Boot file defines dir names,
registers activation hook,
and adds actions
• Helper files provide
wrapper to bootstrap the
application
• Application folder contains
AWF, and files for plugin
11. Who wrote AWF?
• Written by Nicholas Dionysopoulos from
akeebabackup.com who also has a WordPress
blog http://www.dionysopoulos.me/
• September 2014 – public release of AWF
12. AWF is currently in public beta. There
are no documentation or examples
written just yet.
13. Each theme club has it’s own framework to
support both WordPress & Joomla
Let’s not make the same mistake with plugins
14. AWF could be the standard
We can share:
• Documentation
• Bug fixes
• Unit tests
• Examples and tutorials
WordPress and Joomla developers can work
together for mutual benefit!
15. Where do I get AWF?
• http://akeebabackup.com/download.html
• https://github.com/akeeba/awf
16. Where can I find out more about AWF?
I’ll be talking more about AWF, and showing
examples in my “Extension Developer Secrets”
talk at JoomlaDay Sydney, Sat 11th October @
UTS (Haymarket)
http://sydney.joomladay.org.au/program