YASB – Yet Another Symfony Blog

February 28, 2007

Progress update

Filed under: PHP — Krof Drakula @ 3:11 pm

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 things here are concerned, I’ve decided to write up a better image manipulation package for Symfony as a plugin, based on the Wideimage project. Yes, it’s yet another open source project I’m involved in, but there are several advantages to incorporating this package into a plugin for various reasons:

  • it handles all GD2-supported image types, other formats can be added by extending the image loader
  • supports all GD2 filters
  • simplifies common tasks for images (resize, blur, sharpen, writing pixels, etc.)
  • supports chaining operations
  • fully extendable on all levels
  • implements an unsharp filter, which enables you to generate sharper thumbnails

For a simple example of just how it works on the user level, have a look at this. Also, have a look at the included demos and unit tests. Yes, the whole package is thoroughly tested.

What this enables you to do is handle image uploads or manipulate images already on the server, for example, adding watermarks or generating grids of cropped images.

More to come after the show. ;)

February 10, 2007

Getting jiggy with the Yahoo! UI library

Filed under: General, HTML, Javascript — Krof Drakula @ 1:59 am

I know I’ve been away a while, but I’ve been knee deep in preparing for our upcoming show and finishing up on some projects at work and at home.

More relevantly (is that even an adjective?), I’ve been implementing the Yahoo! UI JS/CSS libraries, augmented with Jack Slocum’s excellent Yui-Ext. It provides incredible flexibility and code logic organization, better than any I’ve seen so far. I especially like Yahoo’s event handlers, which resemble somewhat the .Net approach, where you can actually define your own events and having object calls abstracted via listeners, further improving object isolation. Not only does this guarantee better object interoperability and easier debugging (imagine going through chains after chains every single time), it takes care of all the wiring for you.

So, to get things back on track, I’ll submit some code snippets from the next upcoming project, Horseshoe, for which I’m developing the browser frontend. It’s actually not a Symfony project, but it’s a tool that everyone could use – a test suite browser, supporting multiple testing engines. The testing server and browser will be decoupled, meaning the interface will be consumable by either the HTML/JS client or a wholly different one, since the server will support multiple protocols.

As always, stay tuned.

Powered by WordPress