Is there an equivalent to Rails-like polymorphic associations in Doctrine? I'm trying to do something similar to: http://railscasts.com/episodes/154-polymorphic-association
My symfony project is divided into several apps. Using the sfDoctrineGuard plugin I'd like to create another app just for login, and redirect to the appropriate app after login.
My questions:
• Is this advisable or does it go against how sfGuard is supposed to work?
• Is there a way to redirect between applications without hardcoding the entire…
I'm trying to write a Photoshop jsx script for extracting color values from a PSD template. The colors are defined as separate fill layers that I'd like to be able to loop through and create a hash of {layer_name: #hex_color} values. I'm not finding any documentation on reading the color value of the fill layer.
I'm new to Symfony. Is my understanding correct that the User class is actually for controlling sessions? But is there built-in login and account creation? I'm not finding it. But if there's an admin backend generator, how can it function without user logins?
I'm looking for an easy way to get width and height dimensions for image files in Ruby without having to use ImageMagick or ImageScience (running Snow Leapard).
For my site navigation I'd like to indicate the current page. If each page in the navigation has its own route is there a way to see if the current request matches the route? Something like:
$request->getRoute() == '@my_route'
Or, more generally, is there an idiomatic way of setting the active page when creating site navigation in Symfony?