Learning Joomla! 3 extension development

If you have ideas for additional Joomla 3! features, this book will allow you to realize them. It’s a complete practical guide to building and extending plugins, modules, and components. Ideal for professional developers and enthusiasts. Clear steps to create your own plugins, modules, and component...

Descripción completa

Detalles Bibliográficos
Autor principal: Plummer, Tim (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub 2013.
Edición:3rd ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627895806719
Tabla de Contenidos:
  • Intro
  • Learning Joomla! 3 Extension Development
  • Table of Contents
  • Learning Joomla! 3 Extension Development
  • Credits
  • About the Author
  • Acknowledgement
  • About the Reviewers
  • www.PacktPub.com
  • Support files, eBooks, discount offers and more
  • Why subscribe?
  • Free access for Packt account holders
  • Preface
  • What this book covers
  • What you need for this book
  • Who this book is for
  • Conventions
  • Reader feedback
  • Customer support
  • Downloading the example code
  • Errata
  • Piracy
  • Questions
  • 1. Before you Start
  • Extension types and their uses
  • Plugins
  • Modules
  • Components
  • Languages
  • Templates
  • Libraries
  • Packages
  • Joomla! versions that your extensions should support
  • What's new in Joomla! 3
  • Licensing and GPL
  • What business model should I adopt?
  • Tools you need to develop the Joomla! extensions
  • Coding standards
  • Legacy MVC versus new MVC
  • Upgrading a Joomla! 2.5 component to make it Joomla! 3 compatible
  • To fork or not to fork?
  • Summary
  • 2. Getting Started with Plugin Development
  • Plugin types
  • Plugin event triggers
  • Where do I start?
  • Creating the installation XML file
  • Creating the plugin PHP file
  • Zip it up and install your plugin
  • Adding the parameters to our plugin
  • Adding the language files
  • Summary
  • 3. Getting Started with Module Development
  • Where do I start?
  • Backend versus frontend modules
  • Backend modules' installation location
  • Frontend modules' installation location
  • Creating the installation XML file
  • Creating the module PHP file
  • Creating the view
  • Connecting to the database
  • Zip it up and install your module
  • Packaging your module for distribution
  • Backwards compatibility for Joomla! 2.5
  • Making changes to the installation XML file
  • Adding the CSS styles
  • Packaging for distribution.
  • Converting to the site module
  • Translating your module
  • Adding a help file
  • Template overrides
  • Watch out when updating
  • Alternative layouts
  • Making your module responsive
  • Summary
  • 4. Getting Started with Component Development
  • Where do I start?
  • Creating the component installation XML file
  • Creating a simple component
  • Creating the entry point
  • Creating the access XML file
  • Creating the config XML file
  • Setting up the database
  • Discover the extension
  • Creating the controllers
  • Creating the model for the list view
  • Creating the model for the edit view
  • Creating a form
  • The form XML file
  • JForm field types
  • Accesslevel
  • Cachehandler
  • Calendar
  • Captcha
  • Category
  • Checkbox
  • Checkboxes
  • Chromestyle
  • Color
  • Combo
  • Componentlayout
  • Contentlanguage
  • Contenttype
  • Databaseconnection
  • Editor
  • Email
  • File
  • Filelist
  • Folderlist
  • Groupedlist
  • Headertag
  • Helpsite
  • Hidden
  • Imagelist
  • Integer
  • Language
  • List
  • Media
  • Menu
  • Menuitem
  • Modulelayout
  • Moduleorder
  • Moduleposition
  • Moduletag
  • Password
  • Plugins
  • Radio
  • Rules
  • Sessionhandler
  • Spacer
  • Sql
  • Tag
  • Tagnested
  • Tel
  • Templatestyle
  • Text
  • Textarea
  • Timezone
  • Url
  • User
  • Usergroup
  • Creating a view
  • The list view
  • The view.html.php file
  • The helper file
  • The view layout file
  • The edit view
  • The view.html.php file
  • The view layout file
  • Installer script
  • Zip it up and install your component
  • Summary
  • 5. Backend Component Development - Part 1
  • Adding additional fields
  • Adding fields to the model
  • Category field
  • State field
  • Media field
  • Company field
  • Phone field
  • URL field
  • Description field
  • Language strings for new fields
  • Adding fields to the view
  • Alternative method for displaying fields in the view.
  • Adding fields to the database
  • Adding columns to your view
  • Adding simple columns
  • Click to sort by column
  • Status column
  • Ordering column
  • Toolbar buttons and component options
  • Component options
  • View filters and search
  • Sidebar filters
  • Changing delete to trash
  • Filters and search
  • Summary
  • 6. Backend Component Development - Part 2
  • Pagination
  • Adding views and submenu items
  • The categories view
  • The preview view
  • Submenus
  • Access Control List (ACL)
  • Global permissions
  • Component permissions
  • Category permissions
  • Article permissions
  • Access level
  • Multi-database support
  • Summary
  • 7. Frontend Component Development
  • Getting started on the frontend
  • Creating a view
  • Adding CSS
  • Adding sample images
  • Creating another view
  • Menu item parameters
  • Adding a category filter on our menu
  • Using component options
  • Width and height parameters
  • Translating your component
  • Updating data from the frontend
  • Creating the list view
  • Creating the edit form
  • Using ReCaptcha in your component
  • ReCaptcha without JForm
  • Using our click-to-call plugin with this component
  • Integrating a third-party comments extension
  • Summary
  • 8. Security - Avoiding Common Vulnerabilities
  • Why you should care about security
  • Path disclosure
  • SQL injection
  • Local File Inclusion
  • Remote File Inclusion
  • Cross-site scripting
  • Cross-site Request Forgery
  • Some quick advice
  • Summary
  • 9. Packing Everything Together
  • Creating a package
  • Setting up an update server
  • Managing database changes
  • Updating the PHP files
  • Getting listed on the JED
  • Summary
  • 10. Extending your Component with Plugins and Modules
  • Creating a search plugin
  • Creating a smart search plugin
  • Creating a featured portfolio module
  • Adding tags to our component
  • Summary
  • Index.