Rupesh Kumar
Member since Dec 11, 2008
- Profile: /members/2098-rupesh-kumar.htm
- URL: http://coldfused.blogspot.com
- Comments: 25
Recent Blog Comments By Rupesh Kumar
-
Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()
Posted on Aug 21, 2009 at 1:52 AM
Not at all. This is object creation and hibernate does not come into the picture here.... read more »
-
Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()
Posted on Aug 20, 2009 at 2:07 PM
Let me clear the confusion around EntityNew. Its nothing but a shorthand for createObject or New. Performance wise or functionality wise, its exactly the same. The only difference being - EntityNew works on the entityName. That makes its easier for you when you are creating the entity as you don't n... read more »
-
Learning ColdFusion 9: Refreshing And Rebuilding An ORM Application
Posted on Aug 1, 2009 at 1:43 AM
@John, Nice to hear that you like this release of CF9. It is packed with huge set of features - most of them requested by community. ORM in itself is a huge feature (the doc running in more than 60 pages for this and still counting). Each ORM related attribute on cfproperty can be a feature in itse... read more »
-
CFUNITED 2008 - So Many Great People
Posted on Jun 24, 2008 at 12:31 PM
btw, awesome set of pictures.. and the pie fight was crazy.. I saw the video Mark Drew pointed me to.. http://www.youtube.com/watch?v=XgNe-ns0g04 http://www.youtube.com/watch?v=HcUE3CGJT9o I wish I was there :-)... read more »
-
CFUNITED 2008 - So Many Great People
Posted on Jun 24, 2008 at 12:18 PM
Dude, you got me all blushing.. ;-) It was really great meeting you and all other guys. And yeah, i owe you a drink for the cab ride last CFUnited. :-)... read more »
-
ColdFusion GetTempDirectory() Stops Working
Posted on Dec 21, 2007 at 7:55 AM
In case you get into such state again where GetTempDirectry() is returning an empty String, can you let me know what is the output for this? <cfoutput>#GetpageContext().getServletContext().getAttribute("javax.servlet.context.tempdir")#</cfoutput> Probably that could give us some clue.... read more »
-
ColdFusion GetTempDirectory() Stops Working
Posted on Dec 20, 2007 at 1:54 PM
Ben, We get the temp directory by calling this api on app server ServletContext.getAttribute("javax.servlet.context.tempdir") And we get this only the first time after which it is cached. So the only case you can get empty space is when the app server returns this value as empty String which looks... read more »
-
Styling The ColdFusion 8 WriteToBrowser CFImage Output
Posted on Jul 21, 2007 at 2:58 AM
Thats a nice idea and solution Ben. We can not make any change in this function now. but certainly in future.... read more »
-
Learning ColdFusion 8: CFZip Part III - Reading Zip File Entries
Posted on Jul 19, 2007 at 4:37 PM
Ben, The name field in the cfzip action="list" not being "only" name is not a bug. Its the entry name for the zip entry in the zip file. Its the name by which an entry in the zip is identified. While implementing this, I had thought about it for a while whether to include both 'name' and 'entryName'... read more »
-
Hours And Seconds Work In ColdFusion DateFormat()
Posted on Jul 13, 2007 at 3:52 AM
I noticed this while working on performance optimization but I did not change it because it didn't hurt and more importantly, wanted to avoid any risk of breaking existing app even though it is undocumented. Sometimes backward compatibility makes you do strange things :-)... read more »
-
CFUNITED Rocks - ColdFusion Rocks - You Guys Rock
Posted on Jul 5, 2007 at 12:40 PM
Hey Ben, Great to meet you at CFUnited. This was my first too and it was really great interacting with all you great folks from the community. And ya.. thanks for the cab ride :-) Rupesh.... read more »
-
ColdFusion 8 CFImage Write To Browser Bug?
Posted on Jun 19, 2007 at 12:27 PM
Ben, This looks like a bug. I will log a bug immediately for this. If you think there is some bug, don't think twice before reporting it. We will anyway evaluate whether its a bug or not :-) @Ken, You can write multiple images to the browser using WriteToBrowser.... read more »
-
Learning ColdFusion 8: CFThread Part IV - Cross-Page Thread References
Posted on Jun 15, 2007 at 4:01 PM
Thats correct. Threads are stored in a special scope which is actually a request level scope and is searched when you acess any unscoped variable.... read more »
-
Learning ColdFusion 8: CFThread Part II - Parallel Threads
Posted on Jun 15, 2007 at 3:51 PM
Just in case you have not noticed, you can set the maximum number of cfthreads that can run parallely in the server, from administrator. That is the max size of thread pool dedicated to run cfthreads. By default it is set to 10 . Another point to note is that if you specify a large number for it le... read more »
-
Learning ColdFusion 8: CFImage Part I - Reading And Writing Images
Posted on Jun 15, 2007 at 3:19 PM
The initial implementation of ImageWriteToBrowser was like what you had imagined i.e; we were streaming the content to the browser. This had few limitations which were really huge. - you could have only one image in the response. - There was no way to have any other content in the response if Imag... read more »
-
Learning ColdFusion 8: CFImage Part II - Tag Based Image Manipulation
Posted on Jun 15, 2007 at 1:00 PM
Ben, You should never be shy of reporting bugs. In the worst case we will mark it as not a bug :-) Btw, your coverage of CF8 features is awesome. Very thorough.. and thanks for all the feedbacks on the features. Rupesh.... read more »
-
Learning ColdFusion 8: CFThread Part IV - Cross-Page Thread References
Posted on Jun 5, 2007 at 11:52 AM
Ben, Thread scopes are not kept in the variable scope and hence you don't see it when you dump the variable scope. I know you must have figured it out but I am just re-iterating. We don't really recommend sharing the thread scopes across request as this can lead to thread safety of the data. Rupesh... read more »
-
Sleeping A Thread Pauses The CFSetting Request Time Out
Posted on Jun 1, 2007 at 3:06 PM
I think this should put the things in perspective. For timeout, there has to be some one who keeps track whether it is timed out. It is the request thread itself which keeps checking whether it has timed out. If it is timed out, it stops proceeding further and errors out. When you put sleep in the ... read more »
-
Sleeping A Thread Pauses The CFSetting Request Time Out
Posted on Jun 1, 2007 at 1:50 PM
Your other post on CFThread brought me here.. This is actually incorrect. Sleeping a thread does not pause the request time out. <cfsetting requesttimeout="2"> will merely override the timeout value set in the admin and this will be in use only when request timeout is enabled. Ensure that the... read more »
-
Learning ColdFusion 8: All Hail The New ++ Operator
Posted on Jun 1, 2007 at 2:47 AM
Ben, these operators work on a variable. With these operators, only a variable's value can be incremented or decremented. For example, when x=1, x++ will increment the value of x to 2 and x-- will decrement the value to 0. You can not expect these operators to work on constants. i mean do you expec... read more »