Developing Joomla Extensions JUG Bangladesh meetup dhaka-2012

Post on 15-Jan-2015

3.399 views 1 download

Tags:

description

Developing Joomla Extensions Presented at Joomla User Group Meetup at Dhaka-1212 Please check the event details https://www.facebook.com/events/454288907946824/

Transcript of Developing Joomla Extensions JUG Bangladesh meetup dhaka-2012

Developing Joomla Extensions

Presented by:

Sabuj KunduFounder & CEOCodeBoxr Web Servicessabuj@codeboxr.com | http://codeboxr.com

What is Joomla Extensions

Joomla Extension Types Component Module Plugin Template Language Library

Why Joomla Extensions (Cont.) Extends core functionalities Add New features Custom Look & Feel Acts in your own language

Where to search for Extensions

Available with Joomla default packages

3rd Party extensions

Extensions are GPL’ed

http://extensions.joomla.org

has more than 10,000 extensions

Free or Commercial

Skills need to develop Joomla Ext.

Advance Joomla UserSolid knowledge in PHP, MySqlFamiliar with MVC Understanding Joomla FrameworkStart from Developer Network

http://developer.joomla.org/

Developing Joomla Components

Joomla = CMS+Framework Joomla Framework aka Joomla Platform

http://docs.joomla.org/Framework

Developing Joomla Components cont.

Developing a Model View Controller Component (http://docs.joomla.org/Model-View-Controller)

Need to extend JModel, JView, JController classes Check for 3 joomla version 1.5. 2.5 and 3.0http://docs.joomla.org/Developing_a_Model-View-

Controller_Component

MVC request handle in Joomla

helpers

tables

Creating a plugin

There are few types/groupsBuilt-in types and option for 3rd party or

custom types

Creating a plugin cont.

Availble TypesContent PluginSystem PluginUser/profile PluginAuthentication Plugin EditorCommunity (3rd)More ..

Creating a Content plugin

Available Hooks onBeforeContentSave/onContentBeforeSave onAfterContentSave/onContentAfterSave onPrepareContent/onContentPrepare onAfterDisplayTitle/onContentAfterDisplay onBeforeDisplayContent/onContentBeforeDisplay onAfterDisplayContent/onContentAfterDisplay

JDN: http://docs.joomla.org/Creating_a_content_plugin

Other Resources for plugin dev.

Basic plugin idea http://docs.joomla.org/Creating_a_Plugin_for_Joomla_1.5

Creating a profile plugin http://docs.joomla.org/Creating_a_profile_plugin

Plugin Development

Creating smart search plugin http://docs.joomla.org/Creating_a_Smart_Search_plug-in

Creating a system plugin Available hooks for system plugin

onAfterInitialise, onAfterRoute, onAfterDispatch, onAfterRender

Developing Module

http://docs.joomla.org/Module_Development

Twitter Bootstrap

Shabab MustafaJunior Web DeveloperCodeBox Web Serviceshttp://codeboxr.com

What is Twitter Bootstrap?

Wikipedia says,

Twitter Bootstrap is a free collection of tools for creating websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, charts, navigation and other interface components, as well as optional JavaScript extensions.

Why Twitter Bootstrap?

Because, it's so cute... :)Why for joomla

Developers feel relaxed about UI/UXDesigners happy to work with

standard markups

How to use twitter bootstrap?

Documentation Page:http://twitter.github.com/bootstrap/

Part of Joomla JUI/JUX, available in Joomla root/media/jui from j3.0

How site looks with bootstrap?

Find the web showcase: http://bootswatch.com/

Any Question ?

Codeboxr We think organic

We have 50+ Joomla extensions approved in JED

Want to develop joomla extensions ? Send you query to info@codeboxr.comVisit our site, www.codeboxr.com