Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Joomla! 1.5 Extension and Framework Development Second Edition
  • Table Of Contents Toc
Mastering Joomla! 1.5 Extension and Framework Development Second Edition

Mastering Joomla! 1.5 Extension and Framework Development Second Edition

4.5 (4)
close
close
Mastering Joomla! 1.5 Extension and Framework Development Second Edition

Mastering Joomla! 1.5 Extension and Framework Development Second Edition

4.5 (4)

Overview of this book

Joomla! is one of the world’s top open source content management systems, which enables you to build websites and powerful online applications. Out of the box, Joomla! does a great job of managing the content needed to enhance the functionality of your website. But for many people, the true power of Joomla! lies in its application framework that makes it possible for thousands of developers around the world to create powerful add-ons and extensions. This book will guide you through the complexities of implementing add-ons, components, modules, and plugins in Joomla! 1.5. If you feel that you’ve mastered the basics of creating Joomla! extensions, then this book will take you to the next level. Packed with expert advice on all aspects of programming with Joomla!, this book is an invaluable reference guide you will turn to again and again for your Joomla! development tasks. The book starts by explaining the structure and design of the Joomla! Framework. Then we move on to extending and storing data in standard fields and dealing with multilingual requirements. Further, you will discover best practices, design, and coding methods for Joomla! components, modules, plugins, and other extensions. Along the way, you will actually design and create a component, module, and plugin that work together to add functionality to the Joomla! framework. You will also learn about customizing the page output using JavaScript effects, making use of Web Services from within Joomla! and ensuring that your code is secure and error-free. You will discover how to easily create sophisticated extensions that are robust, user-friendly, and professional by taking advantage of the many libraries and utilities provided by the Joomla! framework. A comprehensive, up-to-date reference to the Joomla! Framework API is also included in the book. Finally, we will discuss advanced methods for rendering your extensions more robust, secure, and professional.
Table of Contents (18 chapters)
close
close
Mastering Joomla! 1.5 Extension and Framework Development
Credits
About the Author
About the Reviewer
Preface

Chapter 12. Utilities and Useful Classes

Joomla! includes a number of useful utilities and classes that are used to perform specific tasks. In this chapter we will discuss the use of the most commonly used utilities and classes, including:

  • JArchive

  • JArrayHelper

  • JDate

  • JFile

  • JFolder

  • JLog

  • JMail

  • JNode

  • JPath

  • JTree

For detailed information regarding the classes discussed in this chapter please refer to Appendix F, Joomla! Utility Classes.

Joomla! extensions that require date and time handling can use the JDate class to handle date and time parsing, formatting, and time zones. In this chapter we will discuss how to use the JDate class to handle all of these aspects of date and time values.

Many extensions use the file system to store important data. In addition to the PHP file-system handling functions, we can use the joomla.filesystem library. This library has a number of advantages over the PHP functions, including the use of FTP, where appropriate, to overcome file-system permission problems.

We use arrays...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Joomla! 1.5 Extension and Framework Development Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon