Archive for the ‘ FLOW3 ’ Category

TYPO3 Flow: Creating a unique model property using annotations

In order to create a unique property of a TYPO3 Flow model, just a uniqueConstraint like this:

 * @Flow\Entity
 * @ORM\Table(uniqueConstraints={@ORM\UniqueConstraint(name="code_unique", columns={"code"})})
class Code {

In this case, the code_unique is only defining the name of the constraint and code is the model property that should be unique.

Easy – if you know how it works 😉

Flow3, the new Framework that is also used for developing Typo3 5

Wow, that’s nice ..

Just now I watched a video introduction to Flow3, and I must say I really like it. Absolute new technology, methodologies and programming paradigms. Everything is completely object-oriented and it is for example Aspect Oriented Programming, Domain-Driven Design and much more is applied. So it must be, then makes developing fun 🙂

So, I’m finished here now and going to create my first Flow3 project. So stay tuned and read my next article here about Flow3 that are definitely coming 😉