Documentation

What is extbase?

Or copy link

What is extbase?

Estimated reading: minutes 5 views

5 views
Min read

Primary goal of this document is to make you understand how to perform custom CRUD with extbase. Here a question has arrised that what is extbase ? Let’s check about extbase and how it will work for you.

 

  1. Extbase is an extension framework to create TYPO3 frontend plugins and TYPO3 backend modules. Extbase can be used to develop extensions but it does not have to be used.
  2. Extbase can be and is often used in combination with the Fluid templating engine, but Fluid can also be used without Extbase.
  3. Backend modules and plugins can be implemented using Extbase, but can also be done with TYPO3 Core native functionality.
  4. Extbase is not a prerequisite for extension development. In most cases, using Extbase means writing less code, but the performance may suffer.
  5. You can check more about the extbase from this reference link – https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/Extbase/Introduction/Index.html
  6. Things that we can use in extbase are:
    1. Model / Domain
      1. Model
      2. Persistence
      3. Repository
      4. Validator
    2. Controller
      1. ActionController
      2. Error action
      3. Property mapping
      4. Type converters
    3. View
    4. URI builder (Extbase)
    5. Registration of frontend plugins
    6. TypoScript configuration
    7. Annotations
    8. Validation
    9. Caching
    10. Localization
    11. URI arguments and reserved keywords
  7. Now decide the table struture before performing any CRUD operations.
  8. Here the extension is Employees (extension key is employee) on which the CRUD operations will be performed so the Employees should be stored in a database table. And to create tables, the ext_tables.sql file should be added.
Share

Leave a Comment