Archive for the 'PHP' Category

Initial commit of sfToboAds plugin now available

Wednesday, May 21st, 2008

We’ve just released the initial version of sfToboAds, a Symfony plugin allowing for integration with ToboAds, an advertising network offering contextual text and graphic advertising to the masses (banners are contextual!). The initial release is pending PEAR packaging before being offered as a compressed download, for now, it’s available via the subversion repository on the […]

Installing Symfony 1.1 SVN and Symfony 1.0 PEAR packages side-by-side: A Windows Vista How-To (and XP, too)

Wednesday, February 27th, 2008

As a tie-in to this excellent how-to for installing both versions of Symfony, I’ve decided to extend the method to apply to Vista as well. EDIT: Symlinks don’t work this way because of the working directory being in C:\PHP where the symlink is located. See below for modified instructions. First, check out the SVN branch for 1.1 […]

Tuesday weirdness: a Symfony on Symbian phones

Tuesday, February 19th, 2008

A while back, I’ve stumbled upon an interesting, yet exotic, project - PAMP. It promises to bring the full Apache/MySQL/PHP stack to the Symbian phone. So, on a whim, I decided to try it out. After following the installation instructions (installing on a Nokia N95 with the installation for memory cards) and starting up the PAMP […]

More gotchas from the Symfony world

Monday, July 23rd, 2007

Well, it seems there’s a few other things that aren’t as they seem in Symfony - if they’re expected or not, they are things I’ve noticed and needed a few minutes (or in a another case) or just over two hours to figure out. All of them have to do with Symfony’s output escaper using PHPView. […]

A PHP gotcha within Symfony

Friday, June 22nd, 2007

There’s an interesting aspect about using functions within partials, which I’ve written about before - the existence of functions and the dangers of redeclaring them. The problem here is using partial-specific functions within partials. We’ve had an instance where we needed a function to solve a recursive problem when displaying data within the partial (a complex […]

Followup: Creating rich GUIs with Javascript in Symfony

Wednesday, June 13th, 2007

Well, I’ve written up a short summary of ideas relating to handling Javascript files in relation to requests, not it’s time to evaluate them. First thing I’ve noticed with the different ways of injecting Javascript into the response is the order by which the files are loaded, the problem being dependency. If you’re using a library […]

Easier I18n XLIFF message generation

Friday, May 11th, 2007

If you’re like me and you don’t trust yourself to catch all of the breadcrumbs you leave behind you, you tend to rely on an arsenal of tools to keep you in check. This is especially true with XLIFF and Symfony. There’s an i18n generation script that scans your actions, YAMLs and templates for the use […]

Solved: How to get I18n working on reverse-engineered tables

Wednesday, May 9th, 2007

We’ve all been there - Symfony and I18n do play well together - it’s got XLIFF for interface translation which works almost out-of-the-box, it’s got localization features for things like numbers, currencies and many others. It also has internationalization features that work with database tables. Unfortunately, all is well until you stray from the guidelines presented […]

Progress update

Wednesday, February 28th, 2007

I know, I know, I’m getting lazy. Or rather, that’s what it would seem. Lately I’ve had projects coming in on all sides, which extended my field to include developing Flash applications, which is a pain in the. Also, Friday is the big premiere I’ve been bragging about the last couple of weeks. As far as […]

Getting advanced with objects

Thursday, January 25th, 2007

Just a quick note - if you’re into strict systems specification and architecture, you’re no doubt no stranger to object-oriented patterns and interfaces. In case you were ever tempted to use interfaces in your application, Symfony has a simple way of declaring an instance and having it autoload into the program stack: just declare your […]