Kinky File Explorer - ColdFusion And jQuery Based File Explorer

Posted October 16, 2007 at 6:17 PM

Tags: ColdFusion, Javascript / DHTML

As a precursor to my Project Huge: Exercise List project (in which I will learn me some Object Oriented Programming goodness), I have very quickly revamped my ColdFusion and jQuery File Explorer and turned it into a new project. The Kinky File Explorer will provide me with a way to let you (the users) view my project code base in a read-only manner. The Kinky File Explorer locks you into a hard coded directory so that you cannot abuse the system to view proprietary files.

Here is a screen shot of what it looks like (easily skinable):


 
 
 

 
Kinky File Explorer - ColdFusion And jQuery File Explorer  
 
 
 

You can view the project details here. I did this in a hurry because I really want to start the Exercise List project; as such, I didn't want to waste to much time on the initial file viewer effort. And so, it's a bit rough around the edges. More updates to come.

NOTE: This is NOT a file management system.

Post Comment  |  Ask Ben  |  Permalink  |  Other Searches  |  Print Page



Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

Reader Comments

Oct 16, 2007 at 9:02 PM // reply »
95 Comments

Kick ass! Looks pretty nice dude. I'll be taking advantage of it.


Oct 17, 2007 at 7:08 AM // reply »
6,371 Comments

@Boyan,

Thanks dude. Right now the code just gets loaded into a PRE tag. However, it might be worth looking into loading it into TextArea and using one of the code highlighting programs that's already out there. Maybe it's time I really look into the custom brushes that you have been working on :)


Thomas
Oct 17, 2007 at 8:23 AM // reply »
9 Comments

Nice, for Image types you could simply display the image, but i am sure you already thought about it :)


Oct 17, 2007 at 8:30 AM // reply »
6,371 Comments

@Thomas,

I think definitely for the next update, it will do that. The initial effort was just quick and dirty.


Oct 17, 2007 at 9:24 AM // reply »
95 Comments

Ben, that's a great idea. I think you should definitely use the code highlighting brush. It's as simple as adding a name="code"and class="cf" to your pre tags!


Oct 17, 2007 at 9:42 AM // reply »
6,371 Comments

Cool. I will look into it. I guess I could use different brushes based on the file extension and set the PRE class dynamically.


Gareth
Nov 1, 2007 at 2:06 PM // reply »
102 Comments

Really liking the file explorer. My only issue is that the div that holds the content does not reset to the top of the page each time I click on a new file. Not a huge deal, but when I click on a new file, I would usually prefer to start at the top of the page :)


Nov 2, 2007 at 7:24 AM // reply »
6,371 Comments

@Gareth,

Thanks for pointing that out. I never even thought of that; usually, I just click around to see that things work, I never really scrolled down all that much. This should be easy to fix.


Nov 20, 2007 at 8:46 AM // reply »
6,371 Comments

@Gareth,

I know it took a while to get to, but issue you pointed out has been fixed :)


Gareth
Nov 20, 2007 at 10:33 AM // reply »
102 Comments

*Finally*...it's not like you've been learning OOP and OOP data validation or anything crazy like that :)


Nov 20, 2007 at 10:38 AM // reply »
6,371 Comments

@Gareth,

Better late than never :)


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 7, 2009 at 5:53 PM
Ask Ben: Javascript String Replace Method
You can find here an advanced function that prepared with javascript replace function. This can make the first letters of words, sentences, lines and whatever you define automatically: http://www.m ... read »
Andrew Neely
Nov 7, 2009 at 4:56 PM
A Moment That Touched Me - The Fountainhead
Ben, Glad you enjoyed the podcast. Yeah, the Tank Riot guys can get really chatty during the episodes, but that's part of the charm of it for me. They've covered everything from Nichola Tesla to Cha ... read »
Nov 7, 2009 at 4:43 PM
Building A Fixed-Position Bottom Menu Bar (ala FaceBook)
Is it possible to make some more MenĂ¼`s ? ... read »
Jill
Nov 7, 2009 at 11:40 AM
How To Unformat Your Code (Like A Pro)
Derek, I think you might be right - sweet! Thanks for the link :) ... read »
Nov 7, 2009 at 11:25 AM
How To Unformat Your Code (Like A Pro)
I think it would be way easier to just use this http://www.logichammer.com/html-formatter/ He just released v3 and it rocks. ... read »
Jill
Nov 7, 2009 at 7:58 AM
How To Unformat Your Code (Like A Pro)
LMAO - this was pretty funny! I have to admit - I also love to reformat code so I can read it. My boss used to tell me to leave my OCD at home. Now I don't feel so bad after reading everyone else' ... read »
Nov 6, 2009 at 10:10 PM
How To Unformat Your Code (Like A Pro)
The timing of this post is just uncanny. I spent the last 15-20 minutes manually un-formatting my "Ben Nadel" style code within a CFC of mine. I was really digging the readability a few weeks ago, bu ... read »
Roe
Nov 6, 2009 at 5:11 PM
Passing Arrays By Reference In ColdFusion - SWEEET!
ArraySort also reorders the results of these java obj's ... read »