Gateways

Okay so I'm a little late noticing Sean Corfield's PDF from his presentation to the CF Meetup group in December. :) But loosely inspired by some things he mentioned in that presentation (here's a PDF of his slides) I decided to go ahead and add a Gateway object to the current version of DataFaucet. For a while I didn't really see much reason for a generic gateway object because the system is flexible enough to let you do "whatever". Sean's mention of the Ruby-style dynamic "findBy" methods that aren't really feasible with Java got me thinking more about it.

In addition to those Ruby-style dynamic FindBy methods, I've also added findByFilters(url) and search(form.searchPhrase).

[More]

Liquify and String Concatenation

I just updated the liquify.cfc to better support select statements - it now includes the select column list and will instantiate the select statement object with orderby, groupby and having clauses if present.

One thing that Liquify won't be able to do now (or presumably ever) is handle concatenation, in spite of the fact that the SQL Library does. The problem is pretty simple. Each database platform uses a different operator for concatenation.

[More]

BlogCFC was created by Raymond Camden. This blog is running version 5.5.006. | Protected by Akismet | Blog with WordPress