Appendix A. Crash Course on PHP and Object-Oriented Programming

This appendix is designed as a quick-start guide for PHP and object-oriented programming. Here we try to give you the minimum you need to get started with Joomla! programming. Our focus is on short, practical explanations. There are many online tutorials and books on these subjects that you are encouraged to explore for more in-depth information about any of these topics.

PHP File Structure

PHP is an interpreted language, so the .php files are both the source code and the executable code. These text files can be edited with any text editor. Note that for Joomla, we use UTF-8 encoding for all text files.

PHP-Only Files

Most PHP files in Joomla only contain PHP code. These files start ...

Get Joomla!™ Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.