rss
twitter
    @docwisdom huh?

<cfdump> in PHP, say it ain't so...

It appears as if some of the ncie things about CF are being picked up elsewhere.

I don't think there is a CF developer alive who has not bowed before the God that is <cfdump>.

Now its available for PHP.  Check it out here.

Thanx to JJ for showing me this.

11 comments

(Comment Moderation is enabled. Your comment will not appear until approved.)
todd said...
I try to <cfdump> at least once a day.
Erki Esken said...
I ported CFDUMP to PHP for my own use too. But since I did it based on CFMX 6.1 dump.cfm file that's in WEB-INF I didn't dare to release publicly.

PHP has built-in functions like var_dump() and print_r() but of course the output isn't as nice as CFDUMP and you don't have nested array folding etc with the built-in functions.
John Wilker said...
You mean PHP, the second coming that it is, didn't have an equivelant of CFDUMP? :)
tony petruzzi said...
CF nostalgia

<cfdump>
<cflog>
<cfflush>

:)
Chris Phillips said...
You aren't kidding! This comment is right at the top of the source of that page...

/* code modified from ColdFusion's cfdump code */
Jeff Coughlin said...
Is having CFDump ported to other languages a bad thing?

Don't forget the the dump tag was originally written for ASP and ported over to CF (back in the CF4 days) by a company called SmartObjects (http://www.smart-objects.com/cf_dump/).

I worked for a company developing CF apps in 2000 who used it all the time for projects they were working on (both ASP and CF). I still have a copy of version 1.3 here on my PC (and it still works too). When CF5 came out a newer version of the tag was incuded in the custom tags folder (either that or MACR wrote their own with the same name and functionality) and by CFMX it was included in the code base.

---
Note: If the above URL doesn't work, try archive.org http://web.archive.org/web/20040130055611/www.smar...
daz said...
Hey, I didnt know it started off in ASP.
I've just been telling some ASP developers the delights of <cfdump>. Do you know where I can get the origingal ASP version from?
charlie griefer said...
this was blogged about pretty thoroughly in the CF blogs a while back...but just in case anyone missed it... <cfdump> style dumps for javascript.

http://www.netgrow.com.au/files/javascript_dump.cf...
Raymond Camden said...
PHP also copied the WDDX spec. Which is a good thing as it let it integrate with CF for syndication purposes - back before web services got hot.
Dan said...
Update: After a quick read of the EULA from Adobe, it appears that I was being a little naughty by bundling them together. Hence the quick removal/update of the original post (anyone who got here first was lucky). That doesn't mean that you still can't have a cracking CF dev environment. The zip I produced was files taken from 2 sources: Eclipse 3.3 and the ColdFusion Extensions for Eclipse and the CFEclipse download section of the site.

To download and install CFE follow the instructions here. To install the CF Extensions just:

1. Download http://www.cfreport.org/eclipse/ColdFusion_Extensi... and unzip on your desktop
2. In Eclipse to o Help -> Software Updates -> Find and Install -> Search for new features to install
3. Click on New Local Site...
4. Choose the extracted folder on your desktop
5. Click Select
6. Click OK and then click Finish
7. You'll then be asked to select the features you want to install. Select ALL checkboxes and click next
8. "Obviously" read the Feature Licenses and the accept the terms
9. The installation page is an overview of the new features you've selected, all you need to do is click 'Finish' to run the update manager
10. The Adobe features will require you to install a signed feature, just click 'Install all'
11. Finally, restart

Thats it, you're now up and running. Your next two stops are the CFEclipse and Adobe's ColdFusion Extensions site. Also don't forget the reference section at the bottom of this post, espically Charlie Areharts list of over 70+ bloggers (part 1 and part 2)

References:

* CFEclipse.org
* trac.cfeclipse.org for documentation, bug tracking and logging, FAQ's etc
* CFEclipse Mailing lists
* ColdFusion Extensions for Eclipse
* Using the ColdFusion Extensions for Eclipse
* CFEclipse bloggers list, part 1 and part 2!
*Volkswagen alternator- http://www.dubautoparts.com/volkswagen-alternator....
Johnny said...
I'm having the same problem on mine. I installed the newest trial of Flex 2.01, followed by cfeclipse 1.3.1.4, then followed by the extensions. Changed my workspace, and it loaded my existing coldfusion/flex application wizard app. No problems. Went into change add an additional master/details page, hit finished and then it stalled for about an hour. Forced restart. Then when i reloaded i got a funky error message in my Problems box saying: configuration variable 'compiler.context-root' must only be set once. Redid my changes in the wizard again, and saved changes just fine. Ran app even with error... no problems. But then.... went into my preferences and set up my RDS so it wouldn't ask me for my password (applied, no problems there), clicked on CFeclipse to see my options and got another funky message: Unable to create the selected preference page "org.cfeclipse.cfml.preferences.CFMLPreferencePage". Once this happened i now see 2 CFEclipse in my Find/Install wizard of which i cannot delete either one. Not only that but i can't even disable them cuz i tried to install version 1.3 just to see if that would go. No Dice! But the real kicker now that is hurting me is that when i go into my CF/Flex wizard and try to alter my project i get no response when i try to create/edit of my items. I can add them to the navigation but i can't get into the actual query browser that provides all the DB options. I"m working on finishing up a huge project that is completely generated by this wizard. Can anyone help?
Thanks in advance.


_____________________________________________________
Johnny (wall candle holder) http://fixturesandfurnitures.com/candle-holder.htm...