My favorites | Sign in
Logo
                
Search
for
Updated Aug 01, 2009 by arunoda....@gmail.com
APIStructure  
How JConnect ExApp API is Organized

How JConnect ExApp API is Organized

This is the place where we are going to say about how ExApp API is organized and what are things(Classes,Files) you need to consider about.

Folder Stucture

we are only using directly bolded files only.

API Inside

let's have a look at that bolded files...

server.php

This is the actual server for communication and you should point the path of this file when configuring ExApp in the JConnect Management Console.

eg:-if this file resides in http://host/mod/jconnect_api/server.php ; then the path is /mod/jconnect_api/server.php.

and this is one of the very important place in the API.

lib.php

This is the files which contains the most-important class(JCFactory) you will be used and the skeleton of methods you are going to implement...

Classes

setting.php

This is the place all you done the configuration stuff. They'll be

  1. put secret-key and other connect infomation
  2. assign implemented methods into API

examples:-

api.php

This is file you are including to your application and get the references of JConnect and Joomla.

Other files and folders

The following files and folders are containing some external libraries and some core files of the API. And you never won't those files directly.


Sign in to add a comment
Hosted by Google Code