TAG | admin generator
18
What I like about symfony 1.4 will be my benchmark for Symfony2
6 Comments · Posted by Christian in The right tool
I am consulting a lot of web projects at work as well as privately and one of the common questions is the one for which technology to use.
The technology of my choice has for the past four years been PHP and symfony 1.4 with doctrine but recently I have started to get in touch with Symfony2.
So a new questions pops up every now and then: shall we use symfony or Symfony?
17
Easy page composition with symfony, doctrine and the gjPositionsPlugin is now BETA!
1 Comment · Posted by Christian in The real job
For quite some time now I keep blogging about page composition in symfony. Even when I blogged about LooseCoupling I was actully talking about a by-product of gjPositionsPlugin.
Today I am happy to announce that this plugin is now available in its first beta version!
Not only I managed to implement the basic idea of composing design and content elements on a canvas; by now the plugin became completely independent from your models and database structure!
(more…)
admin generator · admin-theme · Behaviours · Doctrine · gjPositionsPlugin · LooseCoupling · Plugin · plugins · Separation of Concerns · symfony
12
How to add a preview to a symfony admin module or admin theme
3 Comments · Posted by Christian in The real job
As you can guess I am still working on the gjPositionsPlugin. One of its features is that you can position (hence the name) “design elements” on a canvas. A design element is basically a component or partial.
But design elements can be parameterised. For instance how many items they render in a list. At the time this element is positioned on the canvas it can only be rendered with the default parameters. If you change these parameters in your form the rendition has to change but this can only happen if you submit the form and save the object.
Unless there would be a kind of non-persisting save function.. a preview..
admin generator · admin-theme · Doctrine · forms · gjPositionsPlugin · symfony
9
How to avoid all that cache clearing when developing a symfony admin theme
4 Comments · Posted by Christian in The real job
Some time ago I blogged about how to develop symfony admin themes and I really think that they are a far underestimated feature.
But once you started you will soon realise that for most of your changes clearing the symfonyn cache is mandatory in order to see the effect.
This is a major pain in my backside right now so I had a look how to disable all use of the cache completely. It’s not as easy as you might think..
(more…)
20
How to create a custom admin theme for the symfony/doctrine admin generator
4 Comments · Posted by Christian in The real job
I am currently working heavily on the gjPositionsPlugin which concept and idea I blogged about earlier. One part that I didn’t like too much and that als Ryan Weaver pointed out to me is that I limited its use to a single model class.
Now I wanted to change that and turned the functionality from being attached to a model to being a behaviour instead. I then realised that being model independant will not easily allow me to provide functionality in an admin module. Then I remebered admin generator themes. And started building one.
admin generator · admin-theme · Doctrine · forms · Propel · symfony

