Category / Symfony

Symfony 2 paginator – improved version

Featured Image

NOTE: Tested on Symfony2 Beta3. Might not work on later releases!

After some comments on forums about my earlier post:
“Custom Pagination in Symfony 2” that was made on Symfony2 version: PR 12,
I decided to make some changes in the source code and give it available for download.

Basic structure of paginator is similar to latest post, but improvements are made by removing HTML stuff from controller, so paginator is rendered by twig template and not inside class on the fly. Read more

0

Symfony 2 forms validation

Featured Image

sxc.hu/bredmaker

NOTE: Tested on Symfony2 PR12. Might not work on later releases!

To continue previous article when writing about forms in Symfony 2, now it’s time to write something about forms validation. Read more

2

Symfony 2 Form

Featured Image

NOTE: Tested on Symfony2 PR12. Might not work on later releases!

If you want to use forms in Symfony 2 project there is already prepared system for that.

First in ‘Yourname/SomethingBundle/Forms’ folder create class like this: Read more

5

Custom Pagination in Symfony 2

Featured Image

by ba1969/sxc.hu

NOTE: Tested on Symfony2 PR12. Might not work on later releases!
There is a newer version article about Symfony2 pagination that is compatible with Symfony2 – beta1.

Using Symfony 2, I noticed that there is no pagination included in framework (just some additional Bundle for download -and it uses Zend pagination but I don’t want to mix Zend into my Symfony 2 project), so I decided to write class for that on my own. Read more

6

Symfony 2 framework – first impression review

Featured Image

by ba1969/sxc.hu

To start some kind of Symfony 2 series articles, I chose this as the first theme for articles about that great framework.
What is Symfony anyway? As official Symfony 2 page says:
Symfony is a PHP Web Development Framework…

Is this enough for you to get started with development with that? Read more

3