Subsribe to our RSS

latest reactions

jax
store the script path to the settings.cf …
Tjarko
hmmm not sure, it was a component that a …
Michael van Leest
Access="private" functions?? …
wese
It does work, as long as you know what y …
Allen
cfquery is not a scope …

Use OpenDNS

mxna feeds

First Bangalore ColdFusion UsergroupOCDev July Meeting: Geolocation with ColdFusion by Oğuz DemirkapıCF8 and FCKEditor Security threatColdFusion: Experiment Converting MS Word to HTML/PDF - Part 2 ExampleAnt Presentation FilesQuick example of Java via ColdFusion - Reading FLV MetadataCFUG NL sign up now!ColdFusion 8's OnMissingTemplate() - So Close To Being GoodWhy setting the right concurrent thread count is importantMy Encounter With a ColdFusion Detractor (Part 2)Why setting the right concurrent thread count is importantWhy setting the right concurrent thread count is importantColdFusion: Experiment Converting MS Word to HTML/PDF (At Last) - Part 2Examining my ColdFusion job searchAre there really ColdFusion jobs?

All files are strictly confidential: all information is classified.
© Copyright 2002 - 2009 mximize.com.
All right reserved.

MXNA webfeed

Visit Carlos GallupaPowered by ColdFusion MX

Strange behaviour component, methods not found

I have a really really strange bug. All my applications have a settings.cfc in the webroot of the application. Some cfc's have more methods than others but all my other cfc's extend the root settings.cfc, all cfc's are stored in an application variable called application.cfc and all applications have their own application_name (in case you are wondering)

The bug i'm having is that the correct settings.cfc is extended but a certain method in that cfc is not found..... if I remove all methods it keeps finding the other methods???, but if I change the this variables with other values in the settings.cfc it will see those changes???

It appears to me that the application scope is saving or caching a different settings.cfc and his methods instead of the correct one. Especially because if I remove the methods it will still show the methods in a cfdump....

Could anyone point me in the right direction??

547 viewed | 3 opinion(s)  | del.icio.us | Digg it | Tjarko @ 21:25 cet


Simple Standard CSS

Just add to your stylesheet and enjoy the simple enhancements..

::selection {background:#c3effd;color:#000;} /* Safari & Opera */
::-moz-selection {background:#c3effd;color:#000;} /* Firefox */

input, textarea, select {-moz-border-radius:4px;-webkit-border-radius:4px;}


Furthermore, check davidwalsh.name for other things I just didn't use yet ;)

590 viewed | Your opinion...  | del.icio.us | Digg it | Michiel @ 14:16 cet

Stop whining for scripting support

In several articles people start asking for better scripting support in ColdFusion version 9. I hope from the bottom of my heart that this will not happen. ColdFusion has been and hopefully always will be a tag-based language and if you like scripting start using JSP or JAVA together with ColdFusion or not.

Scripting is killing for the language. It doesn't make sence to use scripting in a language that uses tags.. it's total chaos if you look at some of the applications where tags and scripting is used for the only reason that it is possible to do so... And don't say it's easier to set variables as arrays and structure because it isn't. For logical and "clean" coding we all need to be doing the same thing and that's using tags for this purpose, this way every other CF developer will understand what is being done, even the once that just startout using CF.

The language would be better of to be more strict about the use of it's tags and variables, then keep adding support for programming in different ways.

My humble 2 cents

1423 viewed | 21 opinion(s)  | del.icio.us | Digg it | Tjarko @ 10:04 cet

Simple, but effective mobile redirect function

<cffunction name="isMobile" returntype="boolean">
    <cfset var ret = false />
   
    <cfif cgi.http_accept contains "text/vnd.wap.wml" || cgi.http_accept contains "application/vnd.wap.xhtml+xml" || structKeyExists(cgi,"HTTP_X_WAP_PROFILE")>
        <cfset ret = true />
    <cfelseif findNoCase("iphone", cgi.http_user_agent)>
        <cfset ret = true />
    </cfif>
   
    <cfreturn ret />
</cffunction>

<cfoutput>
    Is it a mobile? #yesNoFormat(isMobile())#
</cfoutput>

1676 viewed | 1 opinion(s)  | del.icio.us | Digg it | Tjarko @ 22:21 cet

Just some statistics for 2008

In the last year we didn't post that much on this blog and we will change that in the coming year... i hope :-) Just for the nerds here are some statistics.

Total visitors: 105.998
Total pageviews: 198.863

Visited by country
  1. United States
  2. Unknown
  3. Germany
  4. Saudi Arabia
  5. Great Britain
  6. France
  7. India
  8. Netherlands
  9. Canada
  10. Japan

Most visited articles
  1. Home
  2. RSS feed
  3. Fighting comment spam with project-honeypot
  4. How to find duplicate values in a table
  5. Java io ioexception parsing problem
  6. Multiple conditions in join statement
  7. Use not or use it's all possible
  8. How can i put a pound sign in my coldfusion output-
  9. Using coldfusion image functions to resize an image into a square thumbnail

For now I wish everybody a <cfgreat> 2009 and be carefull with the <cffireworks>!!

1200 viewed | Your opinion...  | del.icio.us | Digg it | Tjarko @ 14:53 cet