Cross CMS plugin development using AWF

Post on 14-Apr-2017

1.970 views 3 download

Transcript of Cross CMS plugin development using AWF

Cross-CMS Plugin Development using AWF

Presented by Tim Plummer26/10/2015

My Holy Grail

• A framework for building applications that are cross-CMS compatible

Why?

• Single codebase to maintain• Less code = less bugs• Platform independent – let the web developer

choose the best CMS for that particular project.

• Larger potential customer base

How

• Akeeba Web Framework (AWF)

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+

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

What can AWF do for WordPress?

• Object Oriented programming• MVC• ACL• Namespaces• ORM

(This is something a lot of WP developers in the community dream of)

Does it stack up?

• Not quite holy grail, but the closest I’ve seen.• AWF is good for building back end application,

doesn’t help much with front end.• AWF works well as stand alone PHP or in

WordPress, but ironically the Joomla integration doesn’t work well (I recommend still using FOF for Joomla apps).

What I like

• Code is very similar to FOF• MVC• Separation of content from presentation, with

overrides for views and media files• JSON support

What I think is missing

• JForm equivalent – Lot more code required to create form fields etc.

• CSV export• Front end routing

How does it work in WordPress?

• App folder contains AWF, and files for plugin

• Helper files provide wrapper to bootstrap the application

Cpanel view in AWF

List view in AWF

Form view in AWF

AWF for Stand Alone PHP

Stand alone installation

Configuration file

User table

Where do I get AWF?

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

Where do I get AWF?

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

Demo time…

Can you do me a favour?

• I’m looking for people to help me beta test BF Survey for WordPress before I release it. I need your feedback, for example what features should be in free version vs paid version.

• Register via bfsurvey.com

Questions?

Where can I get AWF?

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

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

@bfsurvey