TYPO3 Extension Development

Developer's guide to creating feature rich extensions using the TYPO3 API

TYPO3 Extension Development

Progressing
Dmitry Dulepov

Developer's guide to creating feature rich extensions using the TYPO3 API
$18.90
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847192127
Paperback232 pages

About This Book

  • Covers the complete extension development process from planning and extension generation through development to writing documentation
  • Includes both front-end and back-end development
  • Describes TYPO3 areas not covered in the official documentation (such as using AJAX and eID)
  • Hands on style, lots of examples, and detailed walkthroughs
  • Written by Dmitry Dulepov, TYPO3 core developer and developer of TYPO3 extensions such as RealURL and TemplaVoila

Who This Book Is For

This book is for PHP developers who want to develop a TYPO3 extension. It assumes the reader has experience with PHP, XML, and HTML. No prior knowledge about TYPO3 extension programming or the TYPO3 API is presumed.

Table of Contents

Chapter 1: About TYPO3 API
Overview of TYPO3 API
PHP Classes and Files
How Data Is Stored in TYPO3
Common TYPO3 API
Backend API
Frontend API
Summary
Chapter 2: Anatomy of TYPO3 Extension
TYPO3 Extension Categories
Extension Files
Summary
Chapter 3: Planning Extensions
Why is Planning Important?
How to Plan
TYPO3-Specific Planning
Planning Our Extension
Summary
Chapter 4: Generating Extensions
Why Generation?
Preparing for Generation
Generation Steps
Adjusting Extensions
Summary
Chapter 5: Frontend Plugin: An In-Depth Study
Frontend Plugins: The Basics
Templating
Localization
Caching
Summary
Chapter 6: Programming Frontend Plugins
Review and Update Generated Files
Clean Up Extension
Programming the Plugin
Summary
Chapter 7: Programming Backend Modules
Planning a Backend Module
Adjusting the Database
Implementing a Frontend Hook
Backend Modules: The Basics
Implementing a Backend Module
Summary
Chapter 8: Finalizing Extensions
Overview
Updating Code Files
Writing Documentation (Extension Manual)
Uploading Extensions to TER
Summary

What You Will Learn

  • Master the TYPO3 API and get to know the classes and functions
  • Learn all about extension categories and the file structure for extensions
  • Understand planning issues to take care of before development
  • Choose TYPO3 database and form types effectively and adjust generated fields for your needs
  • Create front-end plugins—configuring, templating, localizing, and caching
  • Program and generate front-end plugins
  • Respond to actions using AJAX and eID scripts
  • Program back-end modules—planning, managing the database, hooking up with the front end, and implementing
  • Upload your extension to TYPO3's extension repository (TER)
  • Write documentation following the set template and beautify your code with extdeveval

In Detail

TYPO3 is the enterprise-level content management system for the Web. It is large, feature-rich and very flexible—a lot of this flexibility comes through extensions written by the community. Extensions make it possible to use TYPO3 to drive any type of website, including e-commerce, blogs, social networks, catalogs, and many more. TYPO3 can be completely customized using extensions; however creating an extension can be a challenging task.

This book describes TYPO3 extension creation as it should be done. It starts from an overview of the TYPO3 API and provides recommendations on when and how to use this extensive API. Next it describes the TYPO3 extension generation process. It covers all generation options and emphasizes important decisions that extension developers should be aware of.

Since front-end plugins are the most popular TYPO3 extension type, the book has a chapter dedicated to the process of programming front-end plugins. We then move on to back-end plugin programming. All chapters stress best practices and come with unique tips from the author, who wants his experience to be shared with the TYPO3 community. The book finishes with a chapter about improving code and writing documentation.

Authors

Table of Contents

Chapter 1: About TYPO3 API
Overview of TYPO3 API
PHP Classes and Files
How Data Is Stored in TYPO3
Common TYPO3 API
Backend API
Frontend API
Summary
Chapter 2: Anatomy of TYPO3 Extension
TYPO3 Extension Categories
Extension Files
Summary
Chapter 3: Planning Extensions
Why is Planning Important?
How to Plan
TYPO3-Specific Planning
Planning Our Extension
Summary
Chapter 4: Generating Extensions
Why Generation?
Preparing for Generation
Generation Steps
Adjusting Extensions
Summary
Chapter 5: Frontend Plugin: An In-Depth Study
Frontend Plugins: The Basics
Templating
Localization
Caching
Summary
Chapter 6: Programming Frontend Plugins
Review and Update Generated Files
Clean Up Extension
Programming the Plugin
Summary
Chapter 7: Programming Backend Modules
Planning a Backend Module
Adjusting the Database
Implementing a Frontend Hook
Backend Modules: The Basics
Implementing a Backend Module
Summary
Chapter 8: Finalizing Extensions
Overview
Updating Code Files
Writing Documentation (Extension Manual)
Uploading Extensions to TER
Summary

Book Details

ISBN 139781847192127
Paperback232 pages
Read More