Another way to put it is this(model/securityService.cfc):
The business model gateway in this example would be something like(model/data/gateway/securityGateway.cfc):
Maybe because I'm not a seasoned OO veteran but I'm looking at this and trying to figure out the best course and can't decide which one to take. From the service cfc do I pass in the user object or it's properties (username & password)?
For now I'm passing the object's properties if the gateway method only requires data and doesn't need to access any of the objects other methods like setters. If the gateway method here needed to use the object's methods instead of just it's properties, then I'd pass the entire object. So what do you think is best practice?
Frankly, in trying to figure out what someone left behind, I read the code. It always makes more sense than the comments and it's just faster. Instead of having to both read the comment and the code, I can just read the code and get on with it.
It's my belief that comments were once useful when code was much harder to read. Things like ruf = af * int(irp) when you had to back up and find out what all the letters were for before going forward. But now you have something more like registeredUserFunds = accountFunds * int(interestRatePrime). This is mostly due to cheaper and more expansive memory allocation with better bit utilization, I think. But you can see where a comment for the later is unwarrented.
Granted, there are still languages out there that could use some comments and arguably they should mature with the rest of the OO world. And there are still programmers who actually still use 2 or 3 letters for long parameter names, and they should grow up too.
To sum it up, good programming and good coders should have no need for comments except around possibly main ideas and sections. An architect doesn't need blueprints to pretty much figure out how a building was built. He can size it up with a skilled eye.
Personally, other than commenting main sections, I think commenting every other freaking line should go by way of the Dodo bird. Please stop overusing comments so I can read your damn code! Trust me, I know how to read without reading instructions.
Chat with me here (when I'm available) at: http://gabbly.com/www.cfcdeveloper.com
Or just go to http://www.gabbly.com
One good use I found so far is to send the link to a web site client with the url of a page I want to talk about. Now if only the chat box would stay up for two people while surfing and the browser changes for both at the same time. Surf and chat simultaniously.
*4 ^(& c1n 4*5&$# %6*2 (n# (&%, ^(& 26(&93n'% 61v# 1 )$(b9#m @*%6 %6# $#2%.
Maybe this one is a little easier for you.
566822 822 777733366 31122834 56611666 5663 04344489722 96663.
I just kinda sat here and thought this up. I wonder if it's hard to break? It's very easy to use.
Remember to use
Created for my wife as she wants to get into the cosmetic beauty skin care business.
The thing to note for my developer peers is what I used to create it, CF Shopkart 4.5. The free open source version is 4.5 and is no longer supported, but is available as a community project. The guy who created it is working on another completely new re-write of the code and is calling his new version CF ShopkartSE, now available as a beta with some features not yet finished. The free 4.5 version though is very much finished and extremely easy to manipulate and recode yourself, take a look at my wife's Pure Aloe Beauty site compared to his out-of-the-box default look. It is all ColdFusion based but could use a lot of code rewrite to take advantage of MX capabilities like CFC's, MVC, and other OOP patterns etc.. So if you need an excellent ColdFusion e-commerce starter kit with barebone parts you can put together, this is a golden find. In regards to features, in my opinion CF Shopkart 4.5 ranks right up there with oscommerce.
So whats next? Core 2 Duo! Oh yea. Here's the components I would like to piece together:
Case: Antec TX-640B w/400w PS
MOB: Asus P5N SLI
CPU: Core 2 Duo E6420 Conroe 2.13GHz
Mem: Corsair 2x1GB PC-6400
GPU: XFX GeForce 7600GT
And keeping my old HDD and DVDR, I'm looking at about $600. Not bad eh? Might even flip for a 19" flat LCD to replace my current 21" old school (or run dual mons).
Have you seen the new "Tree" cell towers. Cell towers built to resemble trees, kind of. To me they look like a ball of tangled Christmas lights on a stick. But that's not my point. I think technology is beautiful itself and shouldn't be hidden. In a thousand years from now are we just going to have a fake planet altogether. Like a bunch of "Tree" cell towers but no real trees. If we can find another way to clean the air, control the climate, and produce oxygen then I say get rid of the trees. They're a breading ground for termites and other destructive substances like allergens. What would be so bad about a planet without nature, especially if the inhabitants never knew it any other way. Sure, I would miss it, but my great grandchildren's children wouldn't.
Eye tracking technology, cameras that follow the eye and control the mouse on the screen sounds really cool. Maybe they could make a blink equal a mouse click; right, left, both (middle). But there is a limitation.. Cross-eyed backwoods rednecks. Oh right, what would they be doing around a computer any ways.
MP3's are taking over the radio waves and putting radio DJ's out of work. Now we have stations poping up that play a random of MP3 songs over the Internet. You don't have to have a "radio" in the old fashion sense to hear music in your house or soon in the car. You use a web station to tune in to your favorites and just listen. Of couse your eyes aren't always on the monitor to view the ads that todays web stations are depending on for income. I see a time from now that either your going to hear automated ads randomly inserted or you'll have to start paying just like satelite radio.