Cross CMS plugin development using AWF

22
Cross-CMS Plugin Development using AWF Presented by Tim Plummer 26/10/2015

Transcript of Cross CMS plugin development using AWF

Page 1: Cross CMS plugin development using AWF

Cross-CMS Plugin Development using AWF

Presented by Tim Plummer26/10/2015

Page 2: Cross CMS plugin development using AWF

My Holy Grail

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

Page 3: Cross CMS plugin development using AWF

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

Page 4: Cross CMS plugin development using AWF

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+

Page 5: Cross CMS plugin development 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 6: Cross CMS plugin development using 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)

Page 7: Cross CMS plugin development using AWF

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).

Page 8: Cross CMS plugin development using AWF

What I like

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

overrides for views and media files• JSON support

Page 9: Cross CMS plugin development using AWF

What I think is missing

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

• CSV export• Front end routing

Page 10: Cross CMS plugin development using AWF

How does it work in WordPress?

• App folder contains AWF, and files for plugin

• Helper files provide wrapper to bootstrap the application

Page 11: Cross CMS plugin development using AWF

Cpanel view in AWF

Page 12: Cross CMS plugin development using AWF

List view in AWF

Page 13: Cross CMS plugin development using AWF

Form view in AWF

Page 14: Cross CMS plugin development using AWF

AWF for Stand Alone PHP

Page 15: Cross CMS plugin development using AWF

Stand alone installation

Page 16: Cross CMS plugin development using AWF

Configuration file

Page 17: Cross CMS plugin development using AWF

User table

Page 18: Cross CMS plugin development using AWF

Where do I get AWF?

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

Page 19: Cross CMS plugin development using AWF

Where do I get AWF?

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

Demo time…

Page 20: Cross CMS plugin development using AWF

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

Page 21: Cross CMS plugin development using AWF

Questions?

Page 22: Cross CMS plugin development using AWF

Where can I get AWF?

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

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

@bfsurvey