万本电子书0元读

万本电子书0元读

顶部广告

Learning Joomla! 3 Extension Development, Third Edition电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Tim Plummer

出  版  社:Packt Publishing

出版时间:2013-07-26

字       数:292.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
A practical guide with step-by-step examples that build on each other so you can learn by doing and get hands-on knowledge about creating your plugins, modules, and components in Joomla."Learning Joomla! 3 Extension Development, Third Edition" is for developers who want to create their own Joomla extensions. It is assumed you will have some basic PHP, HTML, and CSS knowledge, but you don’t need any prior Joomla programming experience. This book will also be useful to people who just want to make minor customizations to existing Joomla extensions and build on the work of others in the open source spirit.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部