Blog

Published in Blog

Creating components for Joomla 1.0.x

11 September 2009

This article will explain how to develop customized components for Joomla in the 1.0.x version, showing the files and basic steps, as well as some useful methods such as access to the database, paged results, etc. It is recommended to have knowledge of PHP and HTML to read this article.

 

Directory structure

Joomla has a directory structure divided into 2 big groups. Administrator, where are all the files needed for the backend to work and the various directories that are located in the root directory.

The directories of interest are the components, both within the administrator directory, as in the root directory, since here is where the files for each component are, which in turn are in sub-directories as follows, com_componentName, example com_users.

If we want to see the files corresponding to the users component, must look at

  • Administrator/components/com_users (backend)
  • Components/com_users (frontend)

Another important is the includes directory, since within it we find files that have classes that are going to be used in the component, for example to connect the database (database.php), to manage user data, paging, etc (joomla.php).

The components are stored in the database, more precisely in the jos_components table.

Files that make up a component

A component to be installed must be compressed in a zip file, with the following format com_ComponentName.zip example com_users.zip.

This file must have at least 8 files that are going to be described in brief:

  • admin.componentName.php (backend)
  • admin. componentName.html.php (backend)
  • toolbar. componentName.php (backend)
  • toolbar. componentName.html.php (backend)
  • componentName.xml (backend)
  • componentName.class.php (opcional)
  • componentName.php (frontend)
  • componentName.html.php (frontend

The following describes each file.

 

Published in Blog

Introduction to Joomla

28 August 2009

This article aim will be to provide an introduction to the content management system called Joomla, describe its main features and how it is made.

What is Joomla?

Joomla is an open source Content Management System (CMS) built with PHP under a GPL license. This o Content Management System can be used to create a website with dynamic content, using a MySQL database.

Features:

  • Websites organization.
  • Publication of contents.
  • Scalability and implementation of new functionalities.
  • User’s management.
  • Websites design.
  • Navigation and menu.
  • Image manager.
  • Modifiable modules order.
  • Polls.
  • Advertising.
  • Statistics of visits.
  • And more…

Which websites can be created with Joomla?

With Joomla we can create news websites, corporate sites, community portals, and we can also create with Joomla systems operating on closed networks (Intranets) to manage internal information (communications, users, etc) from companies or business firms.

Published in Blog

Creating and using web services with PHP

06 August 2009

Basic Implementation of a Web Service client with PHP

A web service is an application that exposes or publish its functionalities or methods through an interface. It works in client-server mode, other applications talk to the web service using messages in a standardized format. Essentially, the communication is the same as a web server returning requested data by a browser such as an HTML page, the only difference is that instead of serving up HTML in response to HTTP requests, it serves up SOAP (XML) responses to SOAP requests.

Four elements make a web service:

Published in Blog

SVN Subversion: Version Control System

08 July 2009

One version or revision of a product is the state where it is at a given moment in its development or modification. Version control is the management of various changes made on the elements of a product. A Version Control Systems allow us to manage different versions of each product developed and made possible customizations (eg for a specific client). In the case of software is used to track different versions of source code that are continually modified by the development team. The most used tool for this is Subversion.

Subversion is a software Version Control System that seeks to replace the popular CVS, which has several shortcomings. It is open source and is also known as svn (because this is the name of the command-line tool).

Serfe info(at)serfe.com https://www.serfe.com/images/serfe_logo_text.png https://www.serfe.com/images/serfe_logo_text.png MACIA 2472, S3016OCP, SANTO TOME, SANTA FE, ARGENTINA 1-305-5375397