Integrate Shindig with Joomla
-
date post
13-Sep-2014 -
Category
Education
-
view
6.509 -
download
1
description
Transcript of Integrate Shindig with Joomla
![Page 1: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/1.jpg)
Introduction Name: Anand Sharma
Company: Satyam Computer Service Ltd. ,Bangalore
Website: http://anandshahil11.wordpress.com
About Me: <?php
Cut or Copy , Paste and Modify With License
That’s how I promote Open Source.
?>
![Page 2: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/2.jpg)
Integrate Shindig with Joomla
Agenda
![Page 3: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/3.jpg)
Phonetic spelling for the Swahili word "Jumla", which means "all together" or "as a whole“Open source applicationCMS (Content Management System)Completely database driven via PHP and MySQLExtremely extensible via the use of components, modules, etc.Browser based application (compatible with either Internet Explorer or Firefox or Opera)
What is joomla ?
![Page 4: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/4.jpg)
A short list of some important features of Joomla are the following:
Page Caching Web Indexing RSS Feeds Printable Page Versions Newsflashes Blogs Forums Polls Calendars Website Searching Language Internationalization Online commerce the possibilities are limitless…
What is joomla ?
![Page 5: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/5.jpg)
Using the core framework, developers can easily build:
Integrated e-commerce systems Inventory control systems Data reporting tools Custom product catalogues Complex business directories Reservation and booking systems Communication tools Application bridges or any kind of application to suit a unique need.
Joomla for Developers
![Page 6: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/6.jpg)
Functional breakdown
Joomla is divided into two sub parts . They are
1] Administrator side. 2] User side.
![Page 7: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/7.jpg)
From administrator side of joomla we can keep control on whole website or on whole application.
From administrator side we can do following :
create & delete components. create & delete modules. create new user & delete and update existing user. display banners, create new banners. create & publish the news. create menu and submenus. create static contents & publish it. change a existing template. install components. customize front page. block the access of user.
1] Administrator side
![Page 8: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/8.jpg)
user side of joomla is again divided into three parts
1. Templates
2. Components
3. Modules.
2] User side
![Page 9: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/9.jpg)
The template and its associated files provide the visual ‘look and feel’ of your web site and are maintained separately from the web site content.
This is stored in a MySQL database.
In Joomla there are two preinstall templates they are
1] madeyourweb 2] rhuk_solaflare_ii.
Template files are located in the templates folder, in the root directory
1 ] Templates
![Page 10: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/10.jpg)
Components are core elements of Joomla!’s functionality and are displayed in the main body of the web site’s template.
The code for the main body will appear in the template as follows:
<?php mosMainBody(); ?>
- Components are used for complex functionality.
- We can call only one component at a time.
- Single component can be used on multiple pages.
2 ] Components
![Page 11: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/11.jpg)
A Module is a small piece of content that can be displayed anywhere that your template allows.
Modules extend the capabilities of Joomla giving the software new functionality.
We can call multiple modules on a single web page.
Single module can be used on multiple pages.
3 ] Modules
![Page 12: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/12.jpg)
Opensource Apache project – implementation of OpenSocial and Gadgets specifications. Gadget Container JavaScript -- core JavaScript
foundation for general gadget functionality. Gadget Server – renders the gadget XML into
JavaScript and HTML OpenSocial Container JavaScript -- OpenSocial
specific functionality (profiles, friends, activities, datastore)
Shindig
![Page 13: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/13.jpg)
Shindig
![Page 14: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/14.jpg)
APIs for building social applications running on the web
Applications use these APIs to provide social-aware functionality
These application could be written using Gadget Specification !
Social websites that implement these OpenSocial APIs are called
OpenSocial Containers
Provides a standardized way for web-applications to access
social information from any OpenSocial container
Write Once Run Anywhere (i.e. on any OpenSocial capable
container)
OpenSocial Specification
![Page 15: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/15.jpg)
Shindig Features
![Page 16: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/16.jpg)
OpenSocial Architecture
Common DatabaseCommon Database
Presentation Layer
GadgetIFrame
Services Layer Services Layer
Gadget Services
OpenSocial Services
Social Application Customized Shindig
![Page 17: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/17.jpg)
Shindig in Action
Gadget XML SourceGadget XML SourceRunning the application Request is made from Client Data is returned and rendered
Application Installation Gadget XML is loaded and cached on OpenSocial Container
![Page 18: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/18.jpg)
Integrate Shindig
Purpose:
To make Joomla! an OpenSocial
container by interfacing the CMS with
Shindig.
It would be easy way to plug additional
functionality into joomla without having
to develop a lot of extra features.
![Page 19: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/19.jpg)
1]Step
Shindig InstallationCheckout Shindig code
svn co http://svn.apache.org/repos/asf/incubator/shindig/trunk/ Install Shindig http://www.chabotc.com/guides/shindig_install/
![Page 20: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/20.jpg)
2]Step
Download Joomla
http://developer.joomla.org/code.html
Install Joomla 1.5
http://www.siteground.com/tutorials/joo
mla/joomla_administration.htm
http://help.joomla.org/content/view/1943/306/
![Page 21: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/21.jpg)
3]Step
Create Module or Component of
OpenSocial
Write Module for Opensocial
![Page 22: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/22.jpg)
3]Step contd.
Purpose of mod_opensocial
1. Login
2. Sign Up
3. Add Gadgets
4. Run Gadget
![Page 23: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/23.jpg)
Flow
Shindig Joomla
Mod_opensocial
Database
![Page 24: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/24.jpg)
4]Step
Implement All service classes of shindig
1. JoomlaPeopelService.php
2. JoomlaAppDataService.php
3. JoomlaActivityService.php
4. JoomlaMessageService.php
![Page 25: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/25.jpg)
4]Step contd.
Modify
shindig/php/config/container.php
// custom data handlers for the J! Environment
'people_service' => 'JoomlaPeopleService',
'activity_service' => 'JoomlaActivitiesService',
'app_data_service' => 'JoomlaAppDataService',
'messages_service' => 'JoomlaMessagesService',
'extension_class_paths' => JPATH_LIBRARIES . DS . 'shindig'
. DS . 'classes’
![Page 26: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/26.jpg)
5]Step
Alter Joomla tables or create new table
to store OpenSocial gadgets and their
preferences
New Tables to be added
1.user 5.gadget
2.user_relation 6.activity_streams
3.user_profile 7.activity
4.application_data
![Page 27: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/27.jpg)
Login Page
![Page 28: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/28.jpg)
Sign Up Page
![Page 29: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/29.jpg)
OpenSocial Logged In
![Page 30: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/30.jpg)
Gadget Display
![Page 31: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/31.jpg)
Demo
Demo Of OpenSocial In Joomla
![Page 32: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/32.jpg)
Joomla Resources
Project Site: http://www.joomla.org Demo Site: http://demo.joomla.org [front end - the users view] Demo Site: http://demo.joomla.org/administrator [back end -
administrative tool (use "admin" as log in name and password)] End-User Documentation: http://help.joomla.org Developer Network: http://dev.joomla.org Extension Directory: http://extensions.joomla.org Content above taken directly from: www.opensourcematters.org GNU General Public License: http://www.gnu.org/copyleft/gpl.html Joomla Testing & Development Process:
http://dev.joomla.org/content/view/39/63/ Joomla 1.5 Roadmap: http://dev.joomla.org/content/view/23/61/
![Page 33: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/33.jpg)
The official website is : www.joomla.org
Visit this for all detailed information, recent releases, more & more extensions including templates, components, Modules, Plug-ins,
recent patches, latest news about joomla etc.
More details on Joomla
![Page 34: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/34.jpg)
Open Source Rocks!!!
Thank YOU
![Page 35: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/35.jpg)
The official website is : http://joomla.org/
Visit this for user-manual and some presentation files (e.g. Joomla 1.5)
Joomla help files
![Page 36: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/36.jpg)
OpenSocial resources
http://www.opensocial.org
Specificationhttp://code.google.com/apis/opensocial
http://code.google.com/opensocial http://code.google.com/p/opensocial-resources
Sandboxeshttp://developer.myspace.com/http://www.hi5networks.com/developer/http://opensocial.ning.com/http://pulse.plaxo.com/pulse/gadgets/http://code.google.com/apis/orkut/
For container developershttp://opensocialapis.blogspot.com/2007/12/lets-get-this-shindig-started.htmlhttp://incubator.apache.org/shindig/http://code.google.com/p/google-caja
![Page 37: Integrate Shindig with Joomla](https://reader034.fdocuments.net/reader034/viewer/2022051512/541411998d7f727d698b47fa/html5/thumbnails/37.jpg)
Contact Me
anandkumar_sharma[AT]satyam[DOT]com
anandkumarsharma11[AT]gmail[DOT]com
http://anandshahil11.wordpress.com
http://ProjectBee.org