Book Image

Learning Joomla! 1.5 Extension Development

Book Image

Learning Joomla! 1.5 Extension Development

Overview of this book

Table of Contents (17 chapters)
Learning Joomla! 1.5 Extension Development
Credits
About the Author
About the Reviewer
Preface

Chapter 2. Getting Started with Component Development

Before you begin with coding, there are a few files and folders that have to be created, as well as a query that has to be run. This will not only allow you to build the components, but will also help you try different features without extensive configuration. You will also get a quick overview of the way Joomla! organizes components and how they can be accessed. Finally, you will add some toolbars that work just like those in other components.

Joomla!'s component structure

Joomla! employs a specific naming convention, which is used by all components. Each component in the system has a unique name with no spaces. The code is split into two folders, each bearing the component name prefixed by com_. The component in this book will be called restaurants. Therefore, you will have to create two folders named com_restaurants:

  • Create one in the folder named components, for the frontend

  • Create one in the folder named components within the administrator...