Community Member Profile
- Profile: /members/417-Hatem-Jaber.htm
- URL: http://www.oemstrade.com
- Comments: 44
- Points: 351
Recent Blog Comments By Hatem Jaber
-
CFDirectory Filtering Uses Pipe Character For Multiple Filters (Thanks Steve Withington)
Posted on Feb 22, 2010 at 4:44 PM
I was trying to remember how the multiple filter thing worked since I don't use it that often and ran across this post which seems to be somewhat alive. I wanted to mention that the version of Railo that i'm running 3.1+ uses the pipe for multiple delimiters as well in case anyone was interested.... read more »
-
Converting An IP Address To An Integer Using MySQL (Thanks Julian Halliwell)
Posted on Feb 3, 2010 at 11:39 AM
Forget the comment i just posted, I went to the mysql docs and seen that this is specific for IP addresses. I was looking to convert varchars to integers.... read more »
-
Converting An IP Address To An Integer Using MySQL (Thanks Julian Halliwell)
Posted on Feb 3, 2010 at 11:37 AM
@Ben, I was wondering if you had an idea of possible collisions with these functions or do they always give you a guaranteed unique result?... read more »
-
Creating Microsoft Excel Documents With ColdFusion And XML
Posted on Jan 10, 2010 at 9:46 AM
@Ben, I skimmed through the comments, not sure if anyone has mentioned this or not, but I took your example and made a change on line 297 which was to change the basic.xml to basic.xsl to see if it would open it and it worked fine. So if you were creating an excel file and wanted it available as... read more »
-
Ask Ben: Creating ColdFusion Templates On The Fly
Posted on Sep 21, 2009 at 5:51 PM
XML and XSL work great together for generating cfm's and cfc's and practically any file you want.... read more »
-
jQuery Plugin: Tracing Your Selector Paths
Posted on Sep 15, 2009 at 4:09 PM
Very nice plugin, it will be very useful for testing.... read more »
-
Learning ColdFusion 9: Understand ORM Events (Thanks John Whish!)
Posted on Aug 29, 2009 at 10:06 AM
@David, would it be safe to say that you're writing better code now than you were when you originally wrote the login script? Maybe had you refactored the code the 1000 lines would be a lot less, i'm speaking from my own experience. I write much less code than i used to as I gain more knowledge.... read more »
-
Why My Queries Hate Application Service Layers
Posted on Jun 18, 2009 at 1:51 PM
@Hal, It limits the number of times that you have to write the same query with different params, lol!... read more »
-
Why My Queries Hate Application Service Layers
Posted on Jun 18, 2009 at 12:19 PM
@Ben, Long method names are totally fine, the one you mentioned was a bit longer than what I would like, but in some cases you have to have a descriptive method name!... read more »
-
Why My Queries Hate Application Service Layers
Posted on Jun 18, 2009 at 12:17 PM
@Ben, I assume that there is more to the app and that the assets and the projects is not where it stops. I would probably create several services or cfcs and be specific as to what I would put in each one. In this case, if i placed this in a cfc specific to assets, maybe I would name it getAssetD... read more »
-
ColdFusion Tag Parameters Can Be Included In Separate Files (Thanks Mark Drew!)
Posted on Jun 18, 2009 at 11:53 AM
@Matt, I believe you're right, I think the page is executed separately from what I recall.... read more »
-
Why My Queries Hate Application Service Layers
Posted on Jun 18, 2009 at 11:51 AM
You could also use something like DataMGR by Steve Bryant and write little wrapper functions for your queries. His project is a Data Access Layer, I've never used it, but i've looked at it quite a few times. I had built something similar myself prior to learning about his. His project does a lot... read more »
-
Why My Queries Hate Application Service Layers
Posted on Jun 18, 2009 at 11:48 AM
Why don't you wrap that 1st query in a function and return a struct with the values needed and handle the logic in there?... read more »
-
ColdFusion 8 Per-Application Settings Get Partially Cached (And There's Nothing You Can Do About It)
Posted on May 6, 2009 at 8:01 PM
Sorry, I just tried a simpler method: 1) Right click and choose show all 2) Click the full screen button That's it!... read more »
-
ColdFusion 8 Per-Application Settings Get Partially Cached (And There's Nothing You Can Do About It)
Posted on May 6, 2009 at 7:58 PM
The video does have the option to go full screen and it looks fine. You have to hover over the video and you'll see a tiny bar at the bottom, it's too small to see the full screen button, but it's there. Instructions: 1) Right click on the video and Zoom In 2) Drag the video to t... read more »
-
Data-Driven CSS Style Sheets Using ColdFusion
Posted on May 5, 2009 at 7:42 PM
@Leigh, Just a thought, maybe you should consider putting the elements that change in a separate style so that you're swapping out only the changes during the different times of the day. I'm not a css expert by any means, but on a project that we worked on a couple years ago we did somethin... read more »
-
ColdFusion Components As Data Types - Help Or Hindrance?
Posted on Apr 11, 2009 at 9:00 PM
If you use an OO pattern, doesn't mean you need to use it consistently throughout the application. You may use it for part of the app and for other parts you may do something different or use another pattern. I think when I was going down this path I was thinking everything needs to be OO from to... read more »
-
Quick Thought On OOP Data Validation And Why Redundancy Is OK
Posted on Apr 3, 2009 at 9:44 AM
@Hal, So where would you check to see if the account number is a duplicate of another account, assuming that someone submitted a new form?... read more »
-
Quick Thought On OOP Data Validation And Why Redundancy Is OK
Posted on Apr 3, 2009 at 9:42 AM
@Ben, "Our calling code might check to see if the given value is between a given range, maybe $0 and $1,000,000... that's the business logic" This type of validation is fine (for me anyway) to exist in the object since it is business logic. I guess what I was thinking when I heard the... read more »
-
Quick Thought On OOP Data Validation And Why Redundancy Is OK
Posted on Apr 3, 2009 at 9:31 AM
Hi Ben, I see where you're coming from, and I know it's hard to see these objects as "data types". One thing that helped me decide not to make my objects validate themselves was a simple thought I had about the DollarFormat() function in CF. Although this is not the same type of object that... read more »



