I like using using components for layouts as well.
Even wrote an article about it. ;-)
http://coldfusion.sys-con.com/read/154231.htm
Steve
>I do this in some cases and see nothing wrong with taking that approach. It
>usually is in its own separate CFC just for layout purposes but not always.
>
Now children...hehehe
Eric
-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Sunday, 12 February 2006 19:34
To: CF-Talk
Subject: Re: page layout: cfmodule vs customtags
Yeah Will and I have seen your layout.cfc and why use a cool tool like
coldfusion to make a template that
Hi,
I need an application to verify accurately the date of a file, and I
need it to be compatible
with both CF 5 and CFMX.
The problem is that in the dateLastModified variable returned by
CFDIRECTORY, I get
"02/12/2006 11:13:39 PM" under CF 5, which cumbersome to parse, I need a
24 h. format
and
CF will output whatever the db gives it. If it is given a number in
scientific notation, it will output the number in scientific notation. I
think the text option is best unless you know what the output mask needs to
be for that particular number, then you can use numberformat or
decimalformat to
How about you both bitch to me privatly rather than disrupting the list with
with is basically off topic BS. Now you know what I feel about OT. If it has
nothing to do with the discussion at hand, take it to another list or to
personal email.
I can and will write a moderation module that targets
See now thats different then what I have heard but the speed issue is really a
non issue because its probably a difference the naked eye can't even detect.
It seems though as if using cfimport method actually might make it a bit more
difficult to use or display results from logic or processing a
Well if he does it, i will respond back, is that so hard for you to understand?
Why don't you go bitch at him for having to say something to start it. In case
you didn't notice that doesn't happen till he tries one oh his like remarks.
oh and I do.. ;)
~Dave the disruptor~
I forgot what I was gun
Actually, I didn't. ;) I'm not sure you would see much difference. I
know some folks consider custom tags to be a bit slower than normal
includes, and yes, they are, but I've rarely seen that make a
difference. About the only time i saw an impact w/ custom tags is with
Spectra, which executed about
Why you must constantly subject us to your personal issues against Will?
If you have a problem with Will, put it on your blog and keep this list
related to CF topics, please.
-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 12, 2006 7:31 PM
To: CF-Talk
Subjec
Yeah I had seen where mack daddy-o (aka corfield) said that, seems kinda odd
considering that it's importing the whole folder and not just 1 template. Is it
caching the whole customtag folder on first run or something? And if so what
happens when you update a template inside of the folder as far
Will, you don't even know what a custom tag is let not to mention when u saw
some code i had about a month ago with cfmodule, you didnt even know what
cfmodule was.
And that was after you said "wow, i really am an advanced coldfusion developer
arent i" after you did your very first cfset withou
Yeah Will and I have seen your layout.cfc and why use a cool tool like
coldfusion to make a template that looks like it was made by a deaf, dumb blind
kid using frontpage 97...
And you wonder why you can't get any new clients...
~Dave the disruptor~
I forgot what I was gunna put here, Will
> You are aware, I hope, that when you use cfmodule, you are using
> custom tags.
Ray, I seriously doubt it! LOL!!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232082
Archives: http://www.houseoffusion.com
> I been using cfmodule for my page layouts but am making my current
> project with customtags am curious what your opinions are on each and
> why you'd pick one over the other.
Layout.cfc - showHeader(), showLeftMenu(), showFooter()
Works sweet!
Screw custom tags! :)
Will
~
Good point! I'll ask someone to update it...
On 2/12/06, Aaron Rouse <[EMAIL PROTECTED]> wrote:
> I did not even bother to navigate that far into the site when on the home
> page I saw a reference to CFUnited a year ago then when I went to the
> downloads page I saw the last stable build was from
cfimport is quicker I believe than cfmodule from a processing point of view.
On 2/12/06, dave <[EMAIL PROTECTED]> wrote:
> you know what i mean ray.
> ok lets rephrase thats
>
> cfmodule vs cfimport
>
> ~Dave the disruptor~
~|
Me
I do this in some cases and see nothing wrong with taking that approach. It
usually is in its own separate CFC just for layout purposes but not always.
On 2/12/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
>
>
> I've even started using CFCs to hold some 'pods' of content that I use in
> various
>>I could just display the number as returned by the query.
There is NO "displayed number" returned by query, then you just cannot
display it "as returned by the query".
Numbers returned by queries are numbers coded in some internal binary
format.
Unless you store them as text, or in some spec
All depends on how your setting the title and other header info. I have
sub-includes per section that see the section and uses a switch to put the
right header info in place. For the lists, the header comes from the DB
anyway so nothing passed.
My issue against custom tags is that they are a sep
but that limits you greatly, one reason I would use cfmodule is to be able to
set variables and attributes such as title easier which is essential for search
engines.
~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways!
you know what i mean ray.
ok lets rephrase thats
cfmodule vs cfimport
~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways!
From: Raymond Camden <[EMAIL PROTECTED]>
Sent: Sunday, February 12, 2006 5:25 PM
To: CF-Talk
Sub
Personally, I use CFINCLUDEs for most of my layout. Less overhead, though
less of that nice clean variable passing that custom tags/cfmodules have.
I've even started using CFCs to hold some 'pods' of content that I use in
various places. This idea'll start a firestorm from those who say CFCs
sh
I think custom tags are marginally easier to read from a human
perspective, but cfmodule is more flexible as you don't need a defined
custom tag path. 6 vs half a dozen :)
On 2/13/06, dave <[EMAIL PROTECTED]> wrote:
> I been using cfmodule for my page layouts but am making my current project
> wi
You are aware, I hope, that when you use cfmodule, you are using custom tags.
On 2/12/06, dave <[EMAIL PROTECTED]> wrote:
> I been using cfmodule for my page layouts but am making my current project
> with customtags am curious what your opinions are on each and why you'd pick
> one over the ot
I been using cfmodule for my page layouts but am making my current project with
customtags am curious what your opinions are on each and why you'd pick one
over the other.
~Dave the disruptor~
I forgot what I was gunna put here, Will woulda stole it anyways!
Cheers James, it's an answer at least.
russ
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: 12 February 2006 12:13
To: CF-Talk
Subject: Re: Decimal places
This will fix up large numbers in scientific notation, while leaving alone
anything that has something after
If not for the scientific notation, I could just display the number as
returned by the query.
Is the an SQL function that will convert the number to it's true form rather
then the scientific notation? Then I won't have to worry about CF's
numberformat.
Russ
-Original Message-
From: Jim D
Ok Russ... Then its not the database. It might be the driver, as Jim
suggested. It might be ColdFusion itself... doesn't really matter. What
we're trying to tell you is that if you want it to come out exactly like it
went in, so you don't have to run a numberformat or any other formatting on
the
> -Original Message-
> From: Snake [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 12, 2006 6:20 AM
> To: CF-Talk
> Subject: RE: Decimal places
>
> Barney,
>
> I'm not sure why your not sure, I think I explained it pretty well.
>
> > My problem is that I need to display the original n
The problem is not the way the database stores the number, it's formatting
the output.
-Original Message-
From: Jeff Garza [mailto:[EMAIL PROTECTED]
Sent: 12 February 2006 14:55
To: CF-Talk
Subject: RE: Decimal places
Unfortunately, that is just the way things go when dealing with a dat
>>So if the number is 345
I want to display 345
If the number is 2367457234572345723
I want to display 2367457234572345723
If the number is 34.89
I want to display 34.89
I think see what you mean:
In physics, numbers like 1.0, 1.00, 1.000 are not the same, but in math
and in computers, they are.
I did not even bother to navigate that far into the site when on the home
page I saw a reference to CFUnited a year ago then when I went to the
downloads page I saw the last stable build was from last August. Seems like
the "Alert Box" or the "News" parts of the main page would be the perfect
place
There's also Apache FOP (another Java solution), with a ready-to-go
FOP CFC available on the net.
On 2/12/06, Paul Hastings <[EMAIL PROTECTED]> wrote:
> Jennifer Gavin-Wear wrote:
> > Seems that for iText a knowledge of Java is needed, do you know of anything
> > else, please?
>
> well yes, a bit
Jennifer Gavin-Wear wrote:
> Seems that for iText a knowledge of Java is needed, do you know of anything
> else, please?
well yes, a bit but there is quite a number of folks using cf & itext so
there should be plenty of examples/knowledgeable folks out there to help
you along the way. also check
Unfortunately, that is just the way things go when dealing with a database.
Databases handle numbers in a way that's efficient for it, not for you. If
you want your number to come out exactly the way it went in, store it as a
varchar.
-Original Message-
From: Snake [mailto:[EMAIL PROTECTE
This will fix up large numbers in scientific notation, while leaving
alone anything that has something after the decimal point (which is
highly unlikely in the large numbers so all should be well):
On 2/12/06, Snake <[EMAIL PROTECTED]> wrote:
> Barney,
>
> I'm not sure why your not sure
Barney,
I'm not sure why your not sure, I think I explained it pretty well.
> My problem is that I need to display the original number in it's
> original format unchanged.
So if the number is 345
I want to display 345
If the number is 2367457234572345723
I want to display 2367457234572345723
If
37 matches
Mail list logo