Entries Tagged as ColdSpring
Use Ant to Maintain Custom Framework Builds
Posted by Paul Marcotte | Tags: Ant , Coldbox , ColdSpring , Mach-II , Model Glue , Transfer
I'm pretty new to Ant, so I'm thankful that a lot of other developers have examples and sample build files that I can use as a guide to learning Ant. After writing a few small build files, I wanted to tackle something a little more ambitious. I like to keep all the frameworks that I use up to date from their respective repositories, and, when deploying a new site or project, I will typically include the framework dependencies as a minimal include at the project root. This requires a bit of work, exporting and stripping out documentation, examples and tests from my local checkout of the framework files. As a learning objective, I decided to write an ant build file to maintain my own "nightly build" of each framework customized to carry only the core files.Working with Transfer ORM: An Event Model Example
Posted by Paul Marcotte | Tags: ColdFusion , ColdSpring , Transfer
If you use Transfer ORM you may have seen Mark Mandel's Advanced Transfer ORM Techniques presentation. One of the most interesting portions of this presentation (for me) was his coverage of the Transfer Event Model. Mark demonstrates how to setup a service (in this case a CryptService) as a Transfer Event listener. There are several events that objects can register to as listeners. One event type is "AfterNew", which is fired when a new transfer object is created. In the presentation Mark demonstrates how to leverage the Event Model with an AfterNew event and a decorated transfer object to encrypt/decrypt a user password. I wanted to use this concept for a new project, but rather than copying code verbatim from the presentation, I decided to try something a little different.Scaffolding a Generic Admin - Part 6 - Bean, Form and List Views - The Finale
Posted by Paul Marcotte | Tags: ColdSpring , Dispatcher , Illudium , Transfer
In this post I'll provide a deeper insight into how Dispatcher works and introduce the three generic views that make up the "generic admin". After generating some code with Illudium, we'll have all the pieces to perform CRUD operations...Scaffolding a Generic Admin - Part 5 - Dispatcher, Transfer and ColdSpring Setup and Config
Posted by Paul Marcotte | Tags: ColdSpring , Dispatcher , Transfer
I introduced a lot of pieces to the puzzle during parts 1 through 4 of this series and with this post, I hope to put them together. We'll look at a file and folder setup, ColdSpring and Transfer XML configuration files and the other files that form application for the generic admin...Scaffolding a Generic Admin - Part 3 - Illudium Code Generator Template
Posted by Paul Marcotte | Tags: ColdFusion , ColdSpring , Dispatcher , Illudium , Transfer
If you are not using Illudium to generate your application classes, I encourage you to check it out. Out of the box, the code generator comes with several templates for generating CFCs, Transfer and ColdSpring XML, Actionscript VOs (value objects) and TOs (simple transfer objects designed for Flex development). Modifying, or creating your own templates is encouraged and easy. The template I developed for this series uses ColdFusion templating, but you can also use XSLT or a combination of both...