Will Belden
Member since Jan 15, 2014
- Profile: /members/11549-will-belden.htm
- URL: https://MyRVRadio.com
- Comments: 9
Recent Blog Comments By Will Belden
-
Considering The Separation Of Concerns When Invoking A Remote API In ColdFusion
Posted on Apr 26, 2022 at 3:17 PM
Ben, yes, "data" is one of the keys. { "success" : true ,"data" : {} ,"messages" : {"errors":[],"warnings":[],"success":[]} } I do format a little differently for the (heavy) use of DataTables, since it has a specifi... read more »
-
Considering The Separation Of Concerns When Invoking A Remote API In ColdFusion
Posted on Apr 26, 2022 at 1:50 PM
I've had pretty good luck with this function, for ALL transmission requests outside the system. (At least for JSON-based operations.) <cffunction name="transmitDataJSON" access="public" output="false" returntype="struct" hint="JSON based transmi... read more »
-
On Always Returning Collections From Data Access Layers (DAL) In ColdFusion
Posted on Apr 18, 2022 at 3:42 PM
What we do for a DAL is this: All services have a DAO. Let's say "CustomerService" and "CustomerDAO". CustomerService has: .getCustomerByID(id) .getCustomerSearch(CustomerSearchCriteria) Our BaseSearchCriteria object contains things like paginatio... read more »
-
I'm Excited When People Leave My Company
Posted on Sep 2, 2016 at 10:39 AM
When I left my job of 5 years (about two years ago), my boss was very understanding. He's also a friend whom I do camping trips with, board gaming and poker, too. So, we still hung out quite frequently. I was at the new gig for a year and a half when Mr. Boss approached me and asked "what'll... read more »
-
RxJS Streams Are Inconsistently Asynchronous In Angular 2 Beta 6
Posted on Feb 22, 2016 at 8:39 AM
If you move the .delay(10) to the getStreamA() in the first example, do you get the same console output? Line 59 instead of 67.... read more »
-
The Regular Expression Cookbook By Steven Levithan And Jan Goyvaerts
Posted on Apr 2, 2014 at 3:44 PM
I used to consider all regex to be "black magic". My boss would say "I made a cool regex to do this or that" and I would ward him off with the sign of the cross and do a ritual cleansing. Lately, however, I have found myself using regex more and more. (A lot thanks to PowerGREP... read more »
-
How To Store Arbitrary And Transient Attributes With Your User Data
Posted on Jan 15, 2014 at 10:26 AM
Optionally, since you seem to be indicating the user would be logged in, so you'd know who they are, you could load their "extra" data into session storage, and just flush/commit any changes to these areas (session.userFlags, whatever) in onSessionEnd(), or something similar. Then you cou... read more »
-
How To Store Arbitrary And Transient Attributes With Your User Data
Posted on Jan 15, 2014 at 10:13 AM
Ooops. Re-reading, I see you have a similar option next. My eyes must've missed it!... read more »
-
How To Store Arbitrary And Transient Attributes With Your User Data
Posted on Jan 15, 2014 at 10:12 AM
One thought is: "You're close" with "Adding Additional Columns To Your User Table". Instead of that, though, why not add a separate table, linked by the UserID as a foreign key. Then you keep your primary user data clean, but can throw any old column in. If you're using MSSQL,... read more »