coderfaire 2013 - getting started with the joomla! framework

15
GETTING STARTED WITH THE JOOMLA! FRAMEWORK Michael Babker Saturday, August 17, 13

Upload: michael-babker

Post on 07-Nov-2014

2.462 views

Category:

Technology


0 download

DESCRIPTION

The Joomla project has recently taken great strides in enhancing its base Framework and making that code available separate from the CMS. In this session, we will take a look at the code that composes the Joomla Framework and how to get started using it by building a sample application.

TRANSCRIPT

Page 1: CoderFaire 2013 - Getting Started with the Joomla! Framework

GETTING STARTED WITH THE JOOMLA! FRAMEWORK

Michael Babker

Saturday, August 17, 13

Page 2: CoderFaire 2013 - Getting Started with the Joomla! Framework

OBLIGATORY INTRODUCTION

• IT Specialist in the US Army

•Working with Joomla since 2010

• Enjoys classic video games and taking in the scenery

Saturday, August 17, 13

Page 3: CoderFaire 2013 - Getting Started with the Joomla! Framework

THE JOOMLA! FRAMEWORK

•Officially started in January 2013 from Joomla Platform

• Subset of classes powering Joomla CMS - dates to September 2005

• PSR-0 Compliant

Saturday, August 17, 13

Page 4: CoderFaire 2013 - Getting Started with the Joomla! Framework

• Tried and tested - Powers 3% of the web

• Easy to get started with

• Integrated third party API support

WHY JOOMLA! FRAMEWORK?

Saturday, August 17, 13

Page 5: CoderFaire 2013 - Getting Started with the Joomla! Framework

SAMPLE APPLICATION (SIMPLE)

• Composer install

•MVC & Router

Saturday, August 17, 13

Page 6: CoderFaire 2013 - Getting Started with the Joomla! Framework

SAMPLE APPLICATION (SIMPLE)

• Joomla! Framework

• Symfony Http Foundation (Session)

• Twig (Templating)

Saturday, August 17, 13

Page 7: CoderFaire 2013 - Getting Started with the Joomla! Framework

Application Structure

ApplicationLogic

Saturday, August 17, 13

Page 8: CoderFaire 2013 - Getting Started with the Joomla! Framework

Joomla! Web ApplicationSaturday, August 17, 13

Page 9: CoderFaire 2013 - Getting Started with the Joomla! Framework

Saturday, August 17, 13

Page 10: CoderFaire 2013 - Getting Started with the Joomla! Framework

SAMPLE APPLICATION (INTERMEDIATE)

• User authentication via GitHub

• Editing with markItUp! editor

Saturday, August 17, 13

Page 11: CoderFaire 2013 - Getting Started with the Joomla! Framework

Application Structure

ApplicationLogic

Saturday, August 17, 13

Page 12: CoderFaire 2013 - Getting Started with the Joomla! Framework

• Check user authentication

• Connect to GitHub

• AJAX response

Saturday, August 17, 13

Page 13: CoderFaire 2013 - Getting Started with the Joomla! Framework

Saturday, August 17, 13

Page 14: CoderFaire 2013 - Getting Started with the Joomla! Framework

WHERE ARE WE GOING?

• Package Decoupling

•DI/IOC

• Leverage PHP Community

Saturday, August 17, 13