Download - Rapid application development for WordPress using AWF

Transcript
Page 1: Rapid application development for WordPress using AWF

Rapid Application Development for WordPress using AWF

Presented by Tim Plummer27/09/2014

Page 2: Rapid application development for WordPress using AWF

Who is Tim Plummer?

Coordinator of JoomlaDay SydneyOct 10th-12th 2014 @ UTS HaymarketSydney.joomladay.org.au

Convenor of Sydney JUG

Author of Learning Joomla! 3 Extension Development

Page 3: Rapid application development for WordPress using AWF

Why is this Joomla guy at WordCamp?

Page 4: Rapid application development for WordPress using AWF

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

Page 5: Rapid application development for WordPress using AWF

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.

Page 6: Rapid application development for WordPress using AWF

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

Page 7: Rapid application development for WordPress using AWF

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+

Page 8: Rapid application development for WordPress using AWF

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)

Page 9: Rapid application development for WordPress using AWF

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

Page 10: Rapid application development for WordPress using AWF

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

Page 11: Rapid application development for WordPress using AWF

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

Page 12: Rapid application development for WordPress using AWF

AWF is currently in public beta. There are no documentation or examples

written just yet.

Page 13: Rapid application development for WordPress using AWF

Each theme club has it’s own framework to support both WordPress & Joomla

Let’s not make the same mistake with plugins

Page 14: Rapid application development for WordPress using AWF

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!

Page 15: Rapid application development for WordPress using AWF

Where do I get AWF?

• http://akeebabackup.com/download.html• https://github.com/akeeba/awf

Page 16: Rapid application development for WordPress using AWF

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

Page 17: Rapid application development for WordPress using AWF

Questions?

Page 18: Rapid application development for WordPress using AWF

Where can I get AWF?

• https://www.akeebabackup.com/download.html

• https://github.com/akeeba/awfTim Plummerwww.timplummer.com.au

@bfsurvey