coderfaire 2013 - getting started with the joomla! framework

Post on 07-Nov-2014

2.462 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

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

GETTING STARTED WITH THE JOOMLA! FRAMEWORK

Michael Babker

Saturday, August 17, 13

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

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

• 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

SAMPLE APPLICATION (SIMPLE)

• Composer install

•MVC & Router

Saturday, August 17, 13

SAMPLE APPLICATION (SIMPLE)

• Joomla! Framework

• Symfony Http Foundation (Session)

• Twig (Templating)

Saturday, August 17, 13

Application Structure

ApplicationLogic

Saturday, August 17, 13

Joomla! Web ApplicationSaturday, August 17, 13

Saturday, August 17, 13

SAMPLE APPLICATION (INTERMEDIATE)

• User authentication via GitHub

• Editing with markItUp! editor

Saturday, August 17, 13

Application Structure

ApplicationLogic

Saturday, August 17, 13

• Check user authentication

• Connect to GitHub

• AJAX response

Saturday, August 17, 13

Saturday, August 17, 13

WHERE ARE WE GOING?

• Package Decoupling

•DI/IOC

• Leverage PHP Community

Saturday, August 17, 13

top related