Dawesi
Member since Apr 13, 2010
- Profile: /members/5819-dawesi.htm
- Comments: 22
Recent Blog Comments By Dawesi
-
ArrayPop(), ArrayShift(), And ArraySliceSafe() In Lucee CFML 5.3.6.61
Posted on Sep 18, 2022 at 12:19 AM
Revisiting this for others to note: Wish Granted : Introduced: 5.3.8.104 array.shift(), array.unshift(), array.pop() & array.push() https://dev.lucee.org/t/lucee-changelog-new-tags-functions-arguments-and-attributes/10998... read more »
-
ArrayPop(), ArrayShift(), And ArraySliceSafe() In Lucee CFML 5.3.6.61
Posted on May 2, 2022 at 11:47 AM
Just for later reference : Eric Peterson also has a github repo from early 2020 with these functions: https://github.com/elpete/CFCollection... read more »
-
On Always Returning Collections From Data Access Layers (DAL) In ColdFusion
Posted on Apr 26, 2022 at 2:43 PM
Personally we return a structure (or a model) for a getOne(:id) and an query (or a store) for a get(:config) (as we dont know how many records there are). then we can use the record directly rather than unwrap it. Just thinking throwing an error for zero records would cause other issues a... read more »
-
ArraySlice() Has An Exponential Performance Overhead In Lucee CFML 5.3.8.201
Posted on Apr 26, 2022 at 2:38 PM
@Brad, you just made my year, refactoring my DAL as we speak and this is infinately helpful.... read more »
-
Upgrading My ColdFusion Blog From MySQL 5.7.10 To MySQL 8.0.28
Posted on Apr 9, 2022 at 10:58 AM
Any reason why you haven't moved to mariadb or percona yet? The performance gains are enough (massive), and extra functionality is nice lso in the language side.... read more »
-
Experiment: Modeling Complex Data Structures As Nested Query Objects In Lucee CFML 5.3.6.61
Posted on Jan 7, 2021 at 11:10 AM
Been using complex objects in cfqueries for years to cache relationships, even dropping a json object into a field that I use in every table to allow dynamic tables, then just deserialize it into the query field then display/search away. A great fast way to output complex data.... read more »
-
Rediscovering My Love Of ColdFusion And CFML In 2020
Posted on Apr 27, 2020 at 2:41 AM
Have to say I'm back in this world as of a year or so again also... I'm just wish there were more 'provider' libraries available, so I'm pumping out a bunch of framework agnostic providers for all sorts of social and other integrations... once we are fully live I'll release them also. Tha... read more »
-
Replacing ColdFusion Query-of-Query (QoQ) INNER JOIN And LEFT OUTER JOIN With Array Functions In Lucee CFML 5.3.3.62
Posted on Feb 5, 2020 at 5:52 PM
Nice work Ben. We've also been working to move some code to the application layer as we've got load-balanced instances that have 'cooler' cpu's than our db... trying to cache and use memory as much as possible also for performance, so this snippet just found a home in the 'diimes' cf frame... read more »
-
Returning CFQuery / Query Results As Arrays In Lucee 5.3.2.77
Posted on Aug 1, 2019 at 12:03 AM
You can do this in MSSQL and MariaDB already directly in the DB using new json objects... eg: SELECT pr.person_id AS [person.id], pr.person_name AS [person.name], ( SELECT pt.pet_id AS id, pt.pet_name AS name FROM @Pets pt WHERE pt.pet_owner=pr.person_id FOR JSON PA... read more »
-
The CFQuery Tag Supports Silent Asynchronous Query Execution In Lucee 5.3.2.77
Posted on Jul 31, 2019 at 9:26 PM
Nice stuff, enjoying this new batch of lucee goodness... since you started your cfml journey until now, always informative interesting angles to cfml. Keep up the great work bro.... read more »
-
Using Abstract Classes As Dependency-Injection Tokens For Swappable Behaviors In Angular 4.2.3
Posted on Sep 5, 2017 at 7:01 PM
nice implementation bro.... read more »
-
The User Experience (UX) Of Yesterday's Slack Outage
Posted on Dec 8, 2015 at 8:18 AM
You couldn't just send an email or use skype to get a code-review? lol... this article gave me a chuckle... and funny to see how integrated some people get with a system with no SLA... come on Ben... should have your messaging for CI and alike on a more stable messaging system than slack... (the o... read more »
-
Creating Custom Script Tag Directives In AngularJS
Posted on Dec 18, 2014 at 8:53 AM
Sencha does a similar way, and allows templates to imbed sub-templates, or functionality from any part of your app. I'm loving the current iteration of major frameworks. Cool stuff.... read more »
-
Tiny Test - An Exploration Of Unit Testing In ColdFusion
Posted on Sep 15, 2014 at 5:03 PM
In a team situation seeing multiple tests fail allows the team to see multiple pieces of code fail when used together... For a single dev, this would be less important. My 2c Getting back into CF, I'm going to check this and rocketunit out again...... read more »
-
Accepting PCI-Compliant Payments Without A Merchant Account Using Stripe And ColdFusion
Posted on Jul 15, 2014 at 4:04 AM
Would be interested in your comparisson now in 2014 about these two, they seem to be almost identical, other than the extra currencies on base features now..... read more »
-
The School Of Practical Philosophy: Love - Week Four
Posted on Nov 26, 2011 at 1:40 AM
Hmmm.. interesting read. For me, love has a couple of levels; pure love and relational love. Pure love (some call it agape love for ease of definition) is in the spiritual realm. I think this is why people find it so hard to describe it as a 'thing' as they see it in the mental or physical realm.... read more »
-
Monitoring The ColdFusion Mail Server With GMail And A Scheduled Task
Posted on Apr 13, 2010 at 1:19 AM
What about a free tool for 1 mail server: http://www.mxtoolbox.com/services_servermonitoring.aspx... read more »