Comparing CF5 to CF8

cf8

On a lark, we compared some code running on cf5 versus cf8. Mind you, it wasn't an exact comparison, but the rough numbers obviously show a huge difference in speed between the two.

Reports run faster, etc. Way cool.

0

so simple, so basic, and yes of course, I only now realized it.

cf8, coding stuff in general

Cfscript for long a## structs and arrays! Duh.

I have a pretty big struct I have to create to regenerate a pdf. So, after putting in about, oh 150 lines of code (lotsa cfsets...) I picked up an old CF MX book of mine and read up that one chapter I so ignorantly, uh...ignored? 
Anyway, yeh, whattya know, cfscript is good for those.

Live, learn, repeat.

0

CFGrid and dynamic number of grid columns

cf8
I had emailed the DFW CFUG about this, and the responses I got were right along where I wound up going with the solution.
I learned something new, btw, which was the function "getColumnList()" that each query has. Whattya know...
Here's my code:


The args code I found online (and once I remember from where I found it, I'll credit it as well). Anyhoo, this is the grid with the grid columns built based on what's in the db's table.

and now, back to cf8/mach ii related fun.

cf8, mach ii

Alright, now that I have my little Flex app ironed out (it's working fine now. Whew) I'm back to playing with CF8 and Mach II

I want to setup something practical for me and the kids to keep track of things, like groceries they want me to buy, stuff I want them to do, etc.
My plan, then, is to take this modified user manager app and modify it to suit my needs.

The following are functions I want to put into this thing:

  1. Grocery list. This one's easy enough.
  2. Chores for the kids. Aha! This one'll make it fun. This will require dates, time to get it done, when it was done, by whom, etc.
  3. Track their homework. Since they underperformed this last school year, I want them to put in each day what homework they had, and when they finished. Yeh, it's micromanaging, and it'll be tedious, but they're smart freaking kids and need to do better. (plus, I'll have what they put in emailed to me.)
  4. There's gotta be at least a fourth functionality I can add. I'll figure something out.

Anyway, that's my home project for now.

0

ok, if anyone out there has some info on this, I'm all ears.

cf8, Flex2
*sigh* Ok, so I gave up testing Flex file uploads in an authenticated environment on my Linux box here at work.
It was simply a no-go.
It works fine in Windows if I hard-code the destination in the cffile tag.
If I don't do that, I get 302 redirects to the login page we have. This is coded in the application.cfm. (If you're not logged in, go to the login template)
This is weeeeiiiirrrddd.

oh, ok. Slowly, but surely...

cf8, coding stuff in general, mach ii

Alrighty, so far, here's what I know (I believe) about Mach II:

Listeners simply forward to the service layer.

Services contain logic to pull data via either DAOs or Gateways.

DAOs handle single records, and CRUD related work.

Gateways return multiple records, and/or more complex SQL.

Beans are simply instances of single records, with getter and setting methods for each attribute the object may have.

I'm working on fiddling with the service layer on this sample user manager app. I've added a table, 'recipes', and want to tie recipes to each individual user. This should be fairly straightforward.

Search