Re: RE: New Macromedia.com launched!

2003-03-05 Thread mike . wokasch
Interesting that you pick google.

You can test live without making it your main site.  People understand that 
news.google.com is testing.  Not obvious that the www.macromedia.com site is the same. 
 Moreover, the focus of google.com is not the news, it's another function.  People can 
still use www.google.com without worrying about whether or not news.google.com.

No one has a perfect launch, but this isn't even close.

Mike Wokasch

P.S. I'm done complaining.  What's done is done, and hopefully they fix their problems 
sooner than they have with MX & Linux ;)

**
> > If it's a beta version, why is it public then?
> 
> Sometimes when you are trying to experiment new things, you don't have any
> choices than to experiment "live".
> 
> Look at Google News (http://news.google.com/), it has been launch to the
> public several months ago (nearly a year) and it is still Google News
> "Beta".
> 
> Benoit Hediard
> www.benorama.com
> 
> > -Message d'origine-
> > De : Scott Wilhelm [mailto:[EMAIL PROTECTED]
> > Envoyé : mercredi 5 mars 2003 17:21
> > À : CF-Talk
> > Objet : RE: New Macromedia.com launched!
> >
> >
> > If it's a beta version, why is it public then?
> >
> > I mean, I wouldn't think that it's a good practice to put your beta's
> > directly out to the public.
> >
> > Just my 2 cents.
> >
> > Scott
> >
> > -Original Message-
> > From: Benoit Hediard [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 05, 2003 11:00 AM
> > To: CF-Talk
> > Subject: RE: New Macromedia.com launched!
> >
> >
> > Come on guys... it is a Beta version.
> > Is there only "never happy" people on this list?
> >
> > > Marcromedia needs to stop it with all their flash everywhere...
> > > it's bad design, slow and confusing in many regards...
> >
> > I disagree about the "bad design" and "confusing things" arguments (...
> > agree about the "slow" one).
> > The organisation of the site seems to be much clear than the previous
> > one.
> >
> > The home page is not intended to ColdFusion Developers... but any kind
> > of
> > audience, that's why it requires a "flashy" brand/corporate look&feel.
> > If you don't like it, just go directly to
> > http://www.macromedia.com/devnet/mx/coldfusion/, you don't have to go
> > through it.
> > (there was already a big marketing flash movie in the previous home
> > page)
> >
> > > They keep changing the groupings of things as well ... quite a
> > > pain this morning to find the Exchanges... had to use the site map...
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Re: New MM.com

2003-03-05 Thread mike . wokasch
And that matters why exactly? More to the point, it could also mean that the 
percentage could be higher.

It's still not an excuse for it not working or validating.

Mike Wokasch

**
> One thing to keep in mind is that while Opera may have 10% of the market
> (does it?), that does not mean that 10% of people who visit the Macromedia
> site have it. It may be a much smaller percentage.
> 
> mike chambers
> 
> [EMAIL PROTECTED]
> 
> - Original Message -
> From: "Bill Wheatley" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, March 05, 2003 10:00 AM
> Subject: Re: New MM.com
> 
> 
> > AHHH nobody seems to have mentioned the fact the site looks like horses*it
> > to me ;)
> > The stupid flash just loops loading over and over.
> > I cant even see it with opera, and if they don't have a QA Dept then i'm a
> > little worried.
> > If they also don't care about 10% and growing portion of the browser
> market
> > well then that fine too i guess i wont be visiting their site anymore
> > unfortunately until they fix the problem.
> >
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Re: New MM.com

2003-03-05 Thread mike . wokasch
Buried under accessibility, unfortunately.

Mike Wokasch

**
> Wednesday, March 5, 2003, 7:02:08 AM, Jochem van Dieten wrote:
> 
> > Overall, I find the site rather slow when using the Flash version. ...
> 
> I agree. I really dislike the new site.
> 
> > As a result, I switched to the HTML version.
> 
> I guess I missed the option to do this. Where is it?
> 
> -- 
> Chris Montgomery
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: RE: New Macromedia.com launched!

2003-03-05 Thread mike . wokasch
Benoit -
First point, if it's beta, why is it on their production site? Furthermore, it fails 
some of the most basic requirements (i.e. document validity). Moreover, it doesn't 
even have alt tags on some images.

Second, Flash, in of itself, may not be bad design or confusing, but it certainly is 
not good design to bury flashless design under accessibility. Where's the user 
control? Where is the alternative design? Moreover, it's not good design to force the 
download of a new plugin. Frankly, it didn't work when I said "no."

Moreover, while the organization is better, it's still not good. If the complaint is 
"there's a lot there," check out IBM.com.

Finally, have you tried to get to the gallery without Flash or Javascript? Good luck.

I think that everyone appreciates the fact they're trying to move forward, but for a 
company focused on creating web tools, it should be an example.

Frankly, There's no excuse.

Mike Wokasch

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Whitespace management in MX

2003-01-17 Thread mike . wokasch
Alright, I wrote awhile ago how I believed that whitespace management in MX for linux 
was not working properly.

I did some testing.  It sort of works properly.  That is, with regards to regular 
coldfusion code.  

However, my problem actually stems from the use of components.  Whenever a component 
is called, the whitespace is left in place and is not picked up by the whitespace 
management.

This means that I have to do  around processing chunks, and avoid using 
inlined CFC calls altogether.  For the most part, that's fine, but there are cases 
when I'd rather just do it inline.

Mike Wokasch
UW-Extension

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




CFMX Linux Whitespace Management problem

2003-01-08 Thread mike . wokasch
Well, it's annoyed me enough now that I have to ask the question.

Has anyone else had a problem with CFMX not obeying the "whitespace management" 
setting?  It seems to work ok on systems running windows, but our new linux server 
seems to just ignore the setting.

Has anyone else experienced this problem?

Thanks
Mike Wokasch
UW-Extension.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Re: CFC Addressing

2002-11-25 Thread mike . wokasch
That's not totally true.
You can only sort of address CFCs relatively.  You can't for example go up a 
directory, i.e. ../CFCs/

Which frankly, is rather annoying.

**
>   You can access CFCs just like you would access custom tags.
> 
>   They can be put in the customtags directory of the ColdFusion installation.
>   Or they can be in a directory that you can access via a ColdFusion mapping.
>   Or they can be in the same directory as the page that invokes it.  ( Or a 
> relative directory to the page that invokes it )
> 
> 
> 
> At 10:52 AM 11/25/2002 -0600, you wrote:
> >I have just finished Hal Helm's CFC book for the second time and this
> >stuff is looking pretty nice. (of course I started programming in OO, so
> >I knew it would be useful).
> >
> >My question is with regards to addressing a CFC. All of Hal's examples
> >were directly under the MX wwwroot directory. How do you address a CFC
> >if it is not under the wwwroot? For example, on my laptop, I have a
> >virtual directory setup in IIS to point to d:\sandbox for my
> >testing/play area. How would I invoke a cfc here?
> >
> >Would this also not be a problem for shared/virtual hosting where you
> >might or might not know where the wwwroot folder is? This does not sound
> >real portable if you have to have a 'physical' path to the wwwroot?
> >
> >Thanks
> >-- Jeff
> >
> >
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: Re: Flash Remoting bug, feature.... in variable persistence

2002-11-21 Thread mike . wokasch
Sean -
I knew you were going to say that, however, I can not help but feel that that 
execution model is inherently evil, and does nothing to help code reuse.

Personally, I do not see much use for Remoting as a webservice, at least beyond 
fundamental operations.  By building a fascade a CFC is forced to return control to 
the application developer, in my case, revealing far more information and control than 
I would like, and further increasing development time for both ColdFusion and Flash. 
The intent was a black box: the user requests, the CFC figures out how to handle it 
and returns, not vice-versa.  The problem is, in my case, that an outside developer 
could potentially unnecessarily burdening the server with requests to rebuild a query 
because an overly agressive application and would ruin overall performance for 
everyone. Hence, it's something that I need the CFC should control.

That doesn't even go to the fact that code that could be handled in one place is now 
pushed out to every application built around it... so much for reuse.

In short, for Flash Remoting to be more than a 'toy', there needs to be a mechanism 
that keeps the object resident at least for the term of execution.

Mike

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: Flash Remoting bug, feature.... in variable persistence

2002-11-20 Thread mike . wokasch
Let me clarify a sentence:
"To me this indicates the Flash takes the time to reload the CFC everytime. Basically 
doing powerful than doing the following:"

was meant to be:
"To me, this indicates that Flash takes the time to reload the CFC everytime. 
Basically doing nothing more powerful than the following:"


**
> Ok folks, the use of CFC's in Flash and ColdFusion is driving me bonkers.
> 
> The following is a scaled down version of a more complicated problem that brought 
>this to my attention.  This is my very simple CFC.  It stores a variable, and has one 
>function to return it and another to set it; I'll call it simple:
> 
>   storeThisVariable = 2;
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
> Now, in ColdFusion, I can run the following code and it returns the expected results:
> 
>   simple = createObject("component","component/simple");
>   writeoutput("getvar: " & simple.getVar() & "");
>   writeoutput("setvar: " & simple.setVar(3) & "");
>   writeoutput("getvar: " & simple.getVar() & "");
> 
> 
> I get the following output, as I expect it would:
> getvar: 2
> setvar: 3
> getvar: 3
> 
> In Flash, I run the following action script:
> #include "NetServices.as"
> #include "DataGlue.as"
> isGatewayOpen = true;
> NetServices.setDefaultGatewayUrl("http://myserver:8000/flashservices/gateway/";);
> var gatewayConnnection = NetServices.createGatewayConnection();
> var simple = gatewayConnnection.getService("CFAmp4.component.simple", this);
> simple.getvar();
> simple.setVar(3);
> simple.getVar();
> 
> function getVar_result(result){
>   trace("getvar: " + result); 
> }
> 
> function setVar_result(result){
>   trace("setvar: " + result); 
> }
> 
> 
> Unlike ColdFusion, this returns the following:
> getvar: 2
> setvar: 3
> getvar: 2
> 
> To me this indicates the Flash takes the time to reload the CFC everytime  Basically 
>doing powerful than doing the following:
> http://localhost/simple.cfc?method=getvar
> http://localhost/simple.cfc?method=setvar&value=3
> http://localhost/simple.cfc?method=getvar
> 
> This cannot possibly be the expected behavior.
> 
> I, of course, could code around this, but why?
> 
> Thanks
> Mike Wokasch
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Flash Remoting bug, feature.... in variable persistence

2002-11-20 Thread mike . wokasch
Ok folks, the use of CFC's in Flash and ColdFusion is driving me bonkers.

The following is a scaled down version of a more complicated problem that brought this 
to my attention.  This is my very simple CFC.  It stores a variable, and has one 
function to return it and another to set it; I'll call it simple:

storeThisVariable = 2;










Now, in ColdFusion, I can run the following code and it returns the expected results:

simple = createObject("component","component/simple");
writeoutput("getvar: " & simple.getVar() & "");
writeoutput("setvar: " & simple.setVar(3) & "");
writeoutput("getvar: " & simple.getVar() & "");


I get the following output, as I expect it would:
getvar: 2
setvar: 3
getvar: 3

In Flash, I run the following action script:
#include "NetServices.as"
#include "DataGlue.as"
isGatewayOpen = true;
NetServices.setDefaultGatewayUrl("http://myserver:8000/flashservices/gateway/";);
var gatewayConnnection = NetServices.createGatewayConnection();
var simple = gatewayConnnection.getService("CFAmp4.component.simple", this);
simple.getvar();
simple.setVar(3);
simple.getVar();

function getVar_result(result){
trace("getvar: " + result); 
}

function setVar_result(result){
trace("setvar: " + result); 
}


Unlike ColdFusion, this returns the following:
getvar: 2
setvar: 3
getvar: 2

To me this indicates the Flash takes the time to reload the CFC everytime.  Basically 
doing powerful than doing the following:
http://localhost/simple.cfc?method=getvar
http://localhost/simple.cfc?method=setvar&value=3
http://localhost/simple.cfc?method=getvar

This cannot possibly be the expected behavior.

I, of course, could code around this, but why?

Thanks
Mike Wokasch

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: IsDefined() bug?

2002-10-25 Thread Mike Wokasch
Todd
Why not just do:
 ?

variable[] isn't really a true variable name.  Think of [] as an operator 
like + and -.

I think that MX fixes that "bug."

Mike Wokasch

At 09:30 AM 10/25/2002 -0400, you wrote:
>Is this not possible?
>
>
>
>#FORM["mytest"]#
>
>Yup
>
>
>Error:
>Parameter 1 of function IsDefined, which is now
>"FORM["mytest"]", must be a syntactically valid variable name.
>
>--
>
>Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
> Team Macromedia Volunteer for ColdFusion   |
>http://www.macromedia.com/support/forums/team_macromedia/  |
>http://www.flashCFM.com/   - webRat (Moderator)|
>http://www.ultrashock.com/ - webRat (Back-end Moderator)   |
>Speakeasy DSL - http://www.speakeasy.net/refer/18280|
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: How to remove URL references from printed pages

2002-10-25 Thread Mike Wokasch
Rick -
You have to do that on the client side. They are options, usually under 
printing.

You can't do anything about it from the page, at least not to my knowledge.

Mike Wokasch
UW-Extension

At 08:33 AM 10/25/2002 -0400, you wrote:
>Hello all.
>
>I'm printing some report directly from browser pages
>and would like to be able to get rid of the info that
>appears at the top and bottom of each page automatically
>when the pages are printed...such as the URL at the bottom.
>
>How would I do that?
>
>Rick
>
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: OT: Javascript ?

2002-10-23 Thread Mike Wokasch
Deanna -

Just use an onclick or use an [a href="javascript: unCheckAll()"] [img][/a] 
to handle that.

Mike Wokasch
UW-Extension

At 12:47 PM 10/23/2002 -0500, you wrote:
>Hi Folks,
>With the following code, I can check or uncheck all the checkboxes on a page
>IF I use an input type of button. If I use an input type of image, the page
>submits. What gives? (Two different style of looping because of messing
>around with it only.)
>
>
><!-- Begin
>function checkAll() {
>  var el = document.forms[0].elements;
>  for(var i = 0 ; i < el.length ; ++i) {
>   if(el[i].type == "checkbox") {
>el[i].checked = true;
>  }
>  }
>}
>function unCheckAll() {
>var i=0;
>for( i=0 ; i<document.forms[0].elements.length; i++) {
>document.forms[0].elements[i].checked=0;
>}
>}
>//  End -->
>
>
>These submit the form:
> alt="UnCheck All">
>
>These don't
> type="button" value="UnCheck All" onClick="unCheckAll();">
>
>
>Deanna Schneider
>Interactive Media Developer
>[EMAIL PROTECTED]
>
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: formatting #MonthasString

2002-10-18 Thread Mike Wokasch
Tim -
try:
#MonthAsString(month)#  --- there is no masking.

If you really want to mask:
#DateFormat(CreateDate(2002, month, 1), "MM")#

Mike Wokasch
UW-Extension

more coldfusion help Efnet #ColdFusion

At 12:30 PM 10/18/2002 -0400, you wrote:
>Is there a way to format a number value retrieved for a month (ex 10 for
>the month of October) with the #monthasString# function. say to the ?
>
>I tried #MonthasString(month, "MM")#   but it throws an error
>(note:month is the field name)
>
>Tim
>
>
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: basic calendar question

2002-10-15 Thread Mike Wokasch

Tim -
In the first format, yes.

If it happens often, then perhaps another solution is in order.

However, if it is possible that "place" or "time" can change,
you may end up with that result anyway

In my production version, I think that the only thing that gets
replicated are: id and date.  Everything else is in related tables.

Mike Wokasch
UW-Extension




At 02:21 PM 10/15/2002 -0400, you wrote:
>Mike it just occurred to me...what if you have an event that runs for a
>couple of months?  Does the calendar administrator have to enter the
>same information 60 times?
>
>
>-Original Message-
>From: Tim Laureska [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, October 15, 2002 2:05 PM
>To: CF-Talk
>Subject: RE: basic calendar question
>
>Mike ... thanks for the responseI see the basis of what you saying
>is that an event could have multiple days with potentially different
>times on each day so set up a different record for each day the
>event occurs
>
>I'm still learning CF/SQL so I got lost in your last paragraph on
>recurrence. Can you try to explain that aspect again or point me in a
>direction so I can gain a basic knowledge of what you're talking about
>
>Thanks
>
>-Original Message-
>From: Mike Wokasch [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, October 15, 2002 1:41 PM
>To: CF-Talk
>Subject: Re: basic calendar question
>
>Tim -
>You're asking a fairly complicated question.
>
>Let me simplify the way I ended up doing it was a related datamodel:
>event
>[event_id, ...details...]
>
>event_date
>[event_id, date (day, month, year), time, duration]
>
>
>Now, the important thing to note is that "event_date" is unique on
>event_id
>AND date.
>Every day that an even was good for, got a new record.  For my
>application,
>time & duration
>were not necessarily the same on every day, in which case, I needed to
>put
>it in event date.
>
>A more elaborate scheme would be the following
>event
>[event_id, ...details...]
>
>event_recur
>[event_id, recur_id, duration]
>
>recur
>[recur_id, ...]
>
>In this scheme, ColdFusion would be in charge of placing recurring to
>the
>screen properly.  A recurrence
>might be: every other week.  A duration might be: 12 times.  Lots of
>effort
>is put into printing recurrence on
>output.  This scheme also makes determining exactly which events occur
>on a
>particular day difficult in SQL.
>
>
>Mike Wokasch
>
>At 01:25 PM 10/15/2002 -0400, you wrote:
> >I am creating a calendar of events database & CF app from scratch.. An
> >initial question that comes to mind is.what is the best way to store
> >event dates for this.using separate fields called something like
> >from_day,
> >to_day
> >from_month
> >to_month
> >from_year
> >to_year
> >
> >OR - should I somehow just use two fields.one for the "from date" (ex.
> >3/12/02) and one for the "to date" (ex. 3/13/02)
> >I'm trying to think ahead to the customer making calendar changes and
> >displaying the calendar
> >Could anyone with experience creating this type of event calendar share
> >their thoughts on this?
> >Thanks in advance
> >Tim Laureska
> >
> >
> >
> >
> >
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: basic calendar question

2002-10-15 Thread Mike Wokasch

Tim -
You're asking a fairly complicated question.

Let me simplify the way I ended up doing it was a related datamodel:
event
[event_id, ...details...]

event_date
[event_id, date (day, month, year), time, duration]


Now, the important thing to note is that "event_date" is unique on event_id 
AND date.
Every day that an even was good for, got a new record.  For my application, 
time & duration
were not necessarily the same on every day, in which case, I needed to put 
it in event date.

A more elaborate scheme would be the following
event
[event_id, ...details...]

event_recur
[event_id, recur_id, duration]

recur
[recur_id, ...]

In this scheme, ColdFusion would be in charge of placing recurring to the 
screen properly.  A recurrence
might be: every other week.  A duration might be: 12 times.  Lots of effort 
is put into printing recurrence on
output.  This scheme also makes determining exactly which events occur on a 
particular day difficult in SQL.


Mike Wokasch

At 01:25 PM 10/15/2002 -0400, you wrote:
>I am creating a calendar of events database & CF app from scratch.. An
>initial question that comes to mind is.what is the best way to store
>event dates for this.using separate fields called something like
>from_day,
>to_day
>from_month
>to_month
>from_year
>to_year
>
>OR - should I somehow just use two fields.one for the "from date" (ex.
>3/12/02) and one for the "to date" (ex. 3/13/02)
>I'm trying to think ahead to the customer making calendar changes and
>displaying the calendar
>Could anyone with experience creating this type of event calendar share
>their thoughts on this?
>Thanks in advance
>Tim Laureska
>
>
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: JS within CFscript

2002-09-26 Thread Mike Wokasch

Kris -
Well, you can have CFScript write the javascript that will do 
this.  However, do not get the two confused.  CFScript is still server side 
scripting.

<cfscript>
 writeOutput("alert('hello world')");
</cfscript>


Mike Wokasch
UW-Extension
At 10:25 AM 9/26/2002 -0400, you wrote:
>Is there anyway to have Cfscript open an JS alert box for me???
>
>
>Kris Pilles
>Website Manager
>Western Suffolk BOCES
>507 Deer Park Rd., Building C
>Phone: 631-549-4900 x 267
>E-mail: [EMAIL PROTECTED]
>
>
>
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Ben Doom (was please do my work for me)

2002-09-26 Thread Mike Wokasch

Brian -
It's a regular expression.

It says, "find a part of the string that starts with 'pcode=' and is 
followed by 0 or many characters that are you & which could be followed by 
anthing else.

How's that?

Mike Wokasch
UW-Extension
At 09:06 AM 9/26/2002 -0500, you wrote:
>Ben,
>
>I've seen answers like this to other questions as well.  I have never quite
>understood what is taking place.  Do you mind spending a couple of minutes to
>explain what ".*pcode=([^&]+).*", "\1" does?
>
>
>Thanks,
>
>Brian Yager
>President - North AL Cold Fusion Users Group
>http://www.nacfug.com
>Sr. Systems Analyst
>Sverdrup/CIC
>[EMAIL PROTECTED]
>(256) 842-8342
>
>
>-Original Message-
>From: Ben Doom [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, September 25, 2002 4:54 PM
>To: CF-Talk
>Subject: RE: please do my work for me
>
>
>I'm assuming this is a link somewhere in some content you're cfhttp-ing, or
>you'd just use url.pCode.
>
>Anyhow,
>pcode = rereplacenocase(url, ".*pcode=([^&]+).*", "\1")
>
>Happy regexing.
>
>
>
>   --Ben Doom
> Programmer & General Lackey
> Moonbow Software
>
>: -Original Message-
>: From: Cantrell, Adam [mailto:[EMAIL PROTECTED]]
>: Sent: Wednesday, September 25, 2002 5:38 PM
>: To: CF-Talk
>: Subject: please do my work for me
>:
>:
>: I want to extract a value from a URL variable which can show up
>: anywhere in
>: the URL. Here are some examples, I would want the pCode value which will
>: always be an integer of varying length:
>:
>: index.htm?var1=23&pCode=100&othervar=hello  return 100
>:
>: index.htm?pCode=1 --- return 1
>:
>: index.htm?someVariabl=hiThere&someothervariable=45&pCode=00343223234322
>: - return 00343223234322
>:
>: If somebody can tell me the right regular expression (or if a regular
>: expression isn't even needed, but just some combination of CF functions)
>: that would be GREAT!
>:
>: Adam.
>:
>:
>
>
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists