Instant Method Finder : My first Coldfusion Builder extension!
I was in the process of evaluating CFbuilder to make it more effective among the team. what I was looking for was tips and tricks , Faster coding with shortcuts and snippets, make complete use of RDS and make use of Service Browser.
Then I got stuck with the same old problem all most all CF developers face “Finding the right function”. It is easy in technologies like .net with a ful fledged IDE to find methods or variables through out the project. But somewhere we had to wait centuries for Adobe to come up with CFB. Now we can look for the methods and variables in the page or instantiated component by doing a CTRL + SPACE. But that was’nt enough for me !. most of the time , I even dont know where I could find the right method. I have to scan through the service browser to find the function.
Continue reading “Instant Method Finder : My first Coldfusion Builder extension!” »
Create coldfusion builder snippets from cflib repository
CF Builder Snippets is one among those cool features which comes handy when doing fast development on ColdFusion. But most of time I found it hard to create all those snippets which I could use later in my development, because they are so scattered around or so hard to find apart from one “Cflib.org”. Thanks to Raymen for creating such a cool repository for those community shared functions and custom tags.
Continue reading “Create coldfusion builder snippets from cflib repository” »
Tip:Difference between resistive and capacitive touch screen.
There are several touchscreen technologies available in the market these days. Out of them 2 are very popular with mobile phones and PDA’s . “Resistive” and “Capacitive” touch screen.
Continue reading “Tip:Difference between resistive and capacitive touch screen.” »
Why QR code is cool and easy with smartphones !!!!!
Early today during my usual blog updates. I stumbled upon the new jargon which is flying around with android and apple phones. “THE QR Code” or otherwise the “Hardlink”!.
What is QR Code ? Read More
Tip : Getting unsorted query columns in coldfusion
This one gave me a headache for 15 min, making all the possible tricks to make my query return the unsorted columns.
Generally Coldfusion always sort the columns in the query that has been returned, irrespective of the order you have specified in the SQL statement. Most of the time its a blessing, but not always.
There is no documented way to get the unsorted columns otherthan using some thirdparty customtags and function. But there is a tweak for this case.
Tweak #1
Use getMetaData() function to get the column list which is as per the sql statement which you have written.
<!--- use GetMetadata to get the names and data types of the fields in the cfdocexamples Employees table ---> <cfquery name="getemployees" datasource="cfdocexamples"> SELECT * FROM Employees </cfquery> <cfset employeemeta=getMetaData(getemployees)> <h4>The Employees table has the following columns</h4> <cfloop index="i" from="1" to="#arrayLen(employeemeta)#"> <cfoutput> #employeemeta[i].name# </cfoutput> </cfloop>
Tweak#2
Use queryObj.getColumnNames() function to get the unsorted list of column from the query. this function is not documented in CF docs. Thanks to Richard
<cfset queryColumnlist = ArrayToList( qryObj.getColumnNames() )>Tip : Show hide columns in cfdump
Small tip for the day, In Coldfusion MX7 the CFdump was pritty much dump that it just do the variable dump and nothing more.
CF8 dump is much more capable like writing the dump out to file like i did in my last blog , plus you even can control the fields that you need to show or hide during the dump. This could pretty much save time when dumping big queries which contains long columns
Continue reading “Tip : Show hide columns in cfdump” »
Tip : Using cfdump inside CFscript
One simple tip for the day, How to use cfdump inside the cfscript block !!!
cfscript block does not support cfdump tag or indeed any tag inside it. So the trick is to create function which dumps the value using cfdump and call the function inside cfscript by passing the variable as parameter.
Continue reading “Tip : Using cfdump inside CFscript” »
What is Augmented Reality ?
Augmented Reality or in short AR is the term used to describe the mixture of real vs Virtual. Its the real time mixing of virtual environment to a real world.
http://en.wikipedia.org/wiki/Augmented_reality
Coldfusion 9 : Feature improvement history
Check out the new Coldfusion 9 feature comparison with its predecessors which includes CF8 and MX7. PDF download at the bottom of content.
Continue reading “Coldfusion 9 : Feature improvement history” »
Ask Neo: What is Digitization?
Today somebody asked me the question on the definition of Digitization specific to computer projects.
So I went back to my seat and did my googling and found some simple paragraphs defining Project Digitization.
Continue reading “Ask Neo: What is Digitization?” »
Take it with you!
Recent Posts
- Instant Method Finder : My first Coldfusion Builder extension!
- Create coldfusion builder snippets from cflib repository
- Tip:Difference between resistive and capacitive touch screen.
- Why QR code is cool and easy with smartphones !!!!!
- Tip : Getting unsorted query columns in coldfusion
Categories
- Coldfusion
- Coldfusion Builder
- HTML
- Javascript
- Jquery
- Movies
- Project Management
- Technology
- Tips and Tricks
- whatsNew
Tags
Archives
- January 2011 (2)
- October 2010 (2)
- February 2010 (2)
- January 2010 (5)
- December 2009 (5)
CF Libs
- longTime January 25, 2012Returns a list like 3 years, 2 months, 12 days, 1 hour, 10 minutes, 45 seconds from a seconds count argument. […]
- quickSort January 15, 2012Implementation of Hoare's Quicksort algorithm for sorting arrays of arbitrary items. […]
- GetHostAddress January 12, 2012Performs a DNS lookup. […]
- GetFileFilterCount January 4, 2012Accepts a directory path & a file filter. Returns number of matching files. […]
- replaceSpecialChars January 4, 2012Replaces all special characters in a string of text. […]
- solrClean December 30, 2011Like VerityClean, massages text input to make it Solr compatible. […]
- rjustify2 December 21, 2011Same as built-in RJUSTIFY, but allows optional parameter character to pad with. […]
- RowColor December 21, 2011Returns alternating color based on list of colors. […]
- getFileSpace October 11, 2011Gets available and total file space for all volumes on a server. […]

nerdscubecom
