Blog

Building a Simple BlazeDS Application Using Ant

When I first starting working on a BlazeDS application, it wasn't too difficult to build the example flex application using FlexBuilder, then deploy on JBoss. However, once I started attempting to build using Ant, I started to run into some problems. Using a seemingly correct build script resulted in a non-functioning flex build (it is pretty easy to tell, since you can see in the lower status bar of your browser that there isn't any communication with the server).
View »

Installing CakePHP in a Subdirectory

I've tried installing CakePHP several times on different web hosts, and on each I usually hit a snag when configuring an installation of cake in a subdirectory. There are several reasons for installing in a subdirectory--the primary being that I want to access certain types of resources (like swf and jar files) from the document root, while preserving the cake front controller as the primary director of traffic to the site. The question is, how do I install in a subdirectory without specifing the folder name in the URL, while maintaining access to the current resources on the root of my site?
View »

Passing Parameters Into Your Layouts in CakePHP

One problem I recently stumbled upon while developing a site with CakePHP is the issue of controlling elements in a layout. For instance, in one of my controllers, I want to be able to change the look of an element I have embedded in my layout (in this case, it was a simple menu item, that changes depending on what part of the site is being accessed). How can I change this element if it is in the layout, and I have no direct means of communication between my various controllers and the layout?
View »