Re: Application.cfm Question...

2000-04-26 Thread Emily B. Kim
in your subdirectory application.cfm did you name the application again? ? since application variables belong to specific applications, i think you need to specifically declare that it's stil part of the same application. -emily At 03:41 PM 4/25/2000 -0500, you wrote: >Are application.(variablena

Re: quotation marks -- definitive answer?

2000-04-20 Thread Emily B. Kim
>a) >b) #---# not required >other than I dont believe there are any differences. actually, if you're assigning a variable to an attribute in a custom tag (even with cfmodule), you will need the pound signs because the custom tag, unlike the other cf tags, don't assume that something is a v

Re: the definitive summary to variable scopes - correct?

2000-04-20 Thread Emily B. Kim
i believe that Request variables also belong in that upper list. in answer to your question about a difference in scoping vs. not scoping in the lower list, you can choose to use the prefixes or not. some people purposely do not scope their variables to make their templates more flexible (allows t

Re: Query Cache Question

2000-04-20 Thread Emily B. Kim
>Is the cached query limit on a per server basis or per application basis? i believe it is 100 queries per server. -emily -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.c

Re: simple createODBCdate question

2000-04-19 Thread Emily B. Kim
in this case, the pound signs really aren't even necessary because you're already in a cfset statement. i think the recommendation is to not use them inside of cf tags because you're "over-coding". try: -emily >> >Should be >Pound signs always go on the outside, any text not escaped (inside

RE: What's the difference?

2000-04-19 Thread Emily B. Kim
bob - you're absolutely right for the variables listed below, but the attributes scope actually must be declaredsame with session, application, and server vars. -emily At 04:21 PM 4/19/2000 -0400, you wrote: >It is not 'wrong' to not provide the attribute scope, but if you don't, >you're leav

RE: What's the difference?

2000-04-19 Thread Emily B. Kim
jennifer - if you don't scope attribute variables, they won't be found at all. you must scope those variables. hth! -emily At 03:13 PM 4/19/2000 -0500, you wrote: >I don't understand if you are saying that I'm wrong or if you are saying >that it won't find the variable if you don't put the attri

Re: What's the difference?

2000-04-19 Thread Emily B. Kim
At 06:07 PM 4/19/2000 GMT, you wrote: >One is good coding style and the other is not >>What's the difference between saying >>attributes.fuseaction >>or just saying fuseaction? actually, in terms of fusebox, it means a little more. url and form variables get changed to "attributes"-scoped varia

Re: memory variables & cflock

2000-04-19 Thread Emily B. Kim
>This has been covered, very extensively in some cases, in a number of >threads both on this list and on the Fusebox mailing list. If anyone is >interested in more information check the archives. >Since this fact is so often overlooked by those new to CF I personally feel >like Emily's message (

memory variables & cflock

2000-04-18 Thread Emily B. Kim
btw, for those of you who will/are using server, application, or session variables, you should also be locking those variables using CFLOCK. more information on that can be found in this knowledge base artlcle: http://www.allaire.com/Handlers/index.cfm?ID=14165&Method=Full this article also has

Re: CF Classes

2000-04-18 Thread Emily B. Kim
At 12:42 AM 4/19/2000 -, you wrote: >Marco, >Forta's the known Guru of ColdFusion. But, there is another book called >Mastering ColdFusion 4 by Arman Danesh & Kristin Motlagh. Where the chapters >on Implementing ColdFusion Web Application Framework. also, although you won't believe it, the he

Re: CF Classes

2000-04-18 Thread Emily B. Kim
oh, one more thing...in the ftcf course you build an application from the ground up, so you get a good sense of how to build an entire application - adding in a simple security level as well. but in the acfd, most of the applications are already built and you just add the higher functionality to i

Re: CF Classes

2000-04-18 Thread Emily B. Kim
>Would you recommend a relative newbie like myself take the advanced one? I >have been doing queries, inserts, updates etc... the basic stuff for over 2 >weeks now on these 2 projects... What do you suggest? Where I really lack >is knowledge in variables such as client variables, session variabl

Re: CF Classes in Toronto?

2000-04-18 Thread Emily B. Kim
>I just wish a company would take the chance on me. I'm so driven and >passionate about this... wish I would have gotten into web development years >ago. I know a little about Cold Fusion and SQL based on two projects I've >been working on.. but want to have a lot of in depth knowledge. I haven

Re: # Signs From ColorCodes Affecting CFOUTPUTS

2000-04-15 Thread Emily B. Kim
>How do I get CF to ignore the #CC... It causes an error there because it >thinks that it's a CF variable. you have to escape the # sign with two # signs - ##CC >Also one quick question too... How do I get the above code to repeat itself >until all the entries in the table are outputted?

RE: Query Caching

2000-04-14 Thread Emily B. Kim
>It's quite possible to declare a query directly into any of the scope's >available to your application except Client (unless of course you serialize >the query w/ wddx.) This is a valid call: > >Resulting in Session.myQuery being cached for the duration of the session. yeah, thanks. i was just b

Re: Query Caching

2000-04-13 Thread Emily B. Kim
>One problem I worry about with this: Session variables are frequently >stored in the Registry on NT machines, yes? So if you had a very large >query, or quite a few users, you are potentially packing a lot of info into >the registry. Perhaps unwise. actually, session variables are stored i

RE: Fusebox or not Fusebox that is the question...

2000-04-13 Thread Emily B. Kim
At 11:20 AM 4/13/2000 -0400, you wrote: >Can't all of that be done by establishing standards for a project or all >projects. Why does it have to be Fusebox? I have been looking at Fusebox >and I guess that I am a bit confused as to what it is and why I should use >it over some other set of stand

Re: Query Caching

2000-04-13 Thread Emily B. Kim
>Is it possible to cache a query only for a particular user for only the >length of his or her session? >I have a query that generates a roles & privileges packet that applies only >to the current session and user. When the session expires so does the cached >query. >What the memory load differenc

RE: Fusebox or not Fusebox that is the question...

2000-04-13 Thread Emily B. Kim
>I appreciate all of your comments. I do not use Fusebox, but I use a >different framework that my team and I have developed. I appreciate the >need for a framework, but I don't understand one thing that I always hear >about Fusebox. Could you or anyone else tell me why putting things in >diffe

Re: Express

2000-04-12 Thread Emily B. Kim
>I looked at the allaire pages, that is what provoked my comment, I still am >confused about the "major" stuff that it is missing. Guess I will just >install it at home and play. ben forta and sue hove are coming out with a CFExpress book real soon. it is actually very well written with a lot of

moreover syndicated content

2000-04-12 Thread Emily B. Kim
i've seen a number of references to the syndicated content on moreover.com so i thought i'd throw this out. hussain chinoy of granularity created a custom tag called cf_moreover that will grab news feeds from moreover. you can find it here: http://www.thirdtier.com/moreover/ -emily -

Re: Caching with CFHTTP?

2000-04-12 Thread Emily B. Kim
you might want to try to do the call to CFHTTP but have a CFCACHE tag at the top of the page. CFCACHE will cache the the resultant html page that is produced (makes a tmp file). you can just call that cached page over and over again...you can then run a scheduler to flush the page when you want th

Re: HTML Form Submit button troubles

2000-04-11 Thread Emily B. Kim
>I'm new to ColdFusion and although I'm finding it generally easy going I'm >having some troubles using CFINSERT to populate an Access database table. >The trouble is that ColdFusion seems to be interpreting my Submit button as >another form field in which it should be entering a value in the data

Re: Session Variables

2000-04-10 Thread Emily B. Kim
session variables are tied to a specific application but you could put the info into a wddx packet and then have the other app grab it using cfhttp. -emily At 12:02 AM 4/11/2000 -0500, you wrote: > >Is there a way to pass a session variable from one domain name to another >when on the same physic

RE: DISPLAY QUESTION

2000-04-10 Thread Emily B. Kim
> > > > > >#newWords# hey sean...that's a nice way of handling it! my mind is so linear sometimes that i tend to not think about looping unless it's obvious like when i'm working with arrays and structures. since i'm always looking at optimizing code, i started to play around with both me

Re: DISPLAY QUESTION

2000-04-10 Thread Emily B. Kim
ahh...i couldn't help myself. had to find a fix so i did the following. i "hard-coded" the 7th word by replacing it with * - that assumes that you won't have five *'s in a row in any of your strings - and then i located those stars to get the position to start removing from. anyway...hope thi

Re: DISPLAY QUESTION

2000-04-10 Thread Emily B. Kim
ok, this is my quick hack to your problem. i already know that there is a problem with it...if the word in the 6th position also occurs in an earlier position, then your results are based on that one instead of the right one. i don't have time right now to fix this, but felt compelled to give you

Re: DISPLAY QUESTION

2000-04-10 Thread Emily B. Kim
oops...i mis-read...i though you wanted the first 6 chars. sorry. you'll have to probably parse a little morelet me try it and i'll e-mail right back. sorry for the extra posts, everyone. -emily At 02:56 PM 4/10/2000 PDT, you wrote: >HI, > >I have a varchar field size 255 in sql. I want to di

Re: DISPLAY QUESTION

2000-04-10 Thread Emily B. Kim
try Left(yourvarcharfield,6) -emily At 02:56 PM 4/10/2000 PDT, you wrote: >HI, > >I have a varchar field size 255 in sql. I want to display only the first 6 >words in this field. How do I go about doing that? > >Thanks > >Sal >__ >Get Your Priv

RE: Help: Can arrays be used like queries

2000-04-08 Thread Emily B. Kim
>Chris Evans wrote: >1) I don't use just lists. I just tend to use lists rather than arrays. I >love using structures :). >3) I'm getting to run some speed tests to prove Nick's comment about speed >increases of arrays over lists. That is a good reason to use arrays over >lists. sorry for the

Re: Captupturing Form Elements

2000-04-06 Thread Emily B. Kim
if you're using 4.5, form variables are automatically in a structure (named FORM) that always exists - it's just empty if there is no form submission. what i would suggest is on your action page, just do a StructKeyList(FORM) which will give you a list of all the keys (the formfield names). from t

Re: The Len() function...Splitting Hairs?

2000-04-05 Thread Emily B. Kim
> CF is beyond loosely typed. It's basically typeless. actually, CF types the variables when the variables are being used. allaire terms this "lazy evaluation". for example. if you ever try using a string in a mathematical equation you will get an error message. when you create a variable, cf doe

RE: Help: Can arrays be used like queries

2000-04-04 Thread Emily B. Kim
> Hopefully not any different than the way you would do it in an array. In >your example below, I would have a structure for Product 1, a structure for >Product 2, and so on. I would also have an ItemInYourBag structure, with >the key being the product ID and the value being the quantity. If t

Re: Passing Structures

2000-04-04 Thread Emily B. Kim
WDDX makes it very easy to pass complex data types using form or URL variables. would putting them into session variables help too? that's easily doable as well. what do you need to do? -emily Kimberly Mayhall wrote: > > What is the preferred method for passing structures from one page to > anot

Re: Help: Can arrays be used like queries

2000-04-04 Thread Emily B. Kim
> I always end up using lists rather than arrays, though a list can be thought > of as a 1-dimensional array. So I would use a list of structures rather > than an array of structures. I find Lists easier to create and maintain > than arrays. how do you work with a list of structures when you ha

Re: Help: Can arrays be used like queries

2000-04-04 Thread Emily B. Kim
> You can also use queries as arrays. For example, if I have a query called > "Articles" with a column named "TITLE", and I want the 5th > row, I can use Articles.Title[5]. just a fyi, although you can use array syntax to reference queries, remember that queries are NOT arrays so you can't use