architecting...
coding stuff in generalGood lord. The lexical side of things is easy.
Thinking in terms of the big picture is most definitely a skill that takes work.
And trust me, not having anything approaching a CS degree, it's mental work.
Now, the fun part is putting something together and seeing that it makes sense is very neat.
I don't have much more to expound on here, just thought I'd post that in between Dreamweaver saves.
so simple, so basic, and yes of course, I only now realized it.
cf8, coding stuff in generalCfscript 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.
oh, ok. Slowly, but surely...
cf8, coding stuff in general, mach iiAlrighty, 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.
5 tagger and proud of it.
coding stuff in generalThat said, man, oh man, while there are plenty of 'cool' kinda CF guys out there (like Dave Shuck, to cite a local example), there are alot of big headed types out there. I've been reading more and more blogs out there from ColdFusion programmer types, and yeesh. The hubris is certainly up there.
For those of you who have been in programming for years, and may even have your CS degree, please: keep in mind that some of us didn't start when you did, or, hell, don't have the aptitude you do.
Yes, there are plenty of CF coders who just stick with the tried and true 1000 line procedurally coded template-style of coding. (That's a terrible sentence, I realize.)
Trust me when I say there are also at least a few of us who are learning, and are going to catch up eventually. Having said that, every person I've met face to face locally that is in the CF community have gone out of their way to be helpful and nice about it all. To them, I'm beyond grateful. Anyhoo, just felt the need to get that off my chest.
beans, daos, gateways and services.
cf8, Stuff I'm working on, coding stuff in generalCF8, Flex, etc.
cf8, Flex2, coding stuff in generala few housecleaning items:
CFPDF worked like a charm. I was able to output our pdf like we had with the custom tag without a problem. Very, very cool.
Flex is more and more fun for me. As it stands now, I've got an image preview/upload app that puts the images you have into a tile list 3x4.
The images all have a 'sort_order' property to them, and that gets updated in the db when you drag and drop the images around in the list.
I hope to get an example of this up in the next day or so. While it's not exactly reinventing the internet or anything, it was a HUGE amount of fun doing it.




Loading....