0

I'm new to TYPO3 Extbase framework. I'm unsure about what the purpose of the repository directory is. What is its purpose? Also, where can I find some documentation for this framework?

biesior
  • 55,576
  • 10
  • 125
  • 182
Siva
  • 481
  • 7
  • 26

1 Answers1

1

Repositories contains methods for fetching the Model's objects.

See this blog: How to Effectively use the Repository and Query Object of Extbase?

There is also Wiki for Extbase available

The fastest way to learn Extbase is using Extension Builder you'll build your first (and next too :)) Extbase extension, if you'll choose some default actions while modeling it will create all required stuff, also repositories. At the beginning they are empty however they inherits methods like findAll(), findByUid() etc.

Tip: use good IDE (ie. PhpStorm) which can understand Extbase, it will help you learn faster and better.

biesior
  • 55,576
  • 10
  • 125
  • 182
  • When i tried Extension Builder , i got an error like this . Fatal error: Call to a member function findAll() – Siva Aug 01 '12 at 08:52
  • Sorry i have fixed this issue .. Since i am new guy in this i forgot to update you about this . The problem was i forgot to include the model class . – Siva Aug 03 '12 at 05:37