[cfaussie] Re: CF vs ...

2006-08-16 Thread darryl lyons

Dumping Notes is a good thing..

On 11/08/06, cfgroupie [EMAIL PROTECTED] wrote:

 Hey just to add more fuel to the fire. We just had a company meeting
 last night and they had a guest speaker there from Microsoft, talking
 about SOLUTIONS ironically. They are coming out with Studio 2005 with
 some added features which apparently haven't been released yet which
 from what I understand are using MS Project, MS Word and some new
 server which will track all your project changes and where it is at
 that point in the SDLC.

 And because my company are a Gold Partner with MS I saw my little CF
 heart broken when I heard my manager say to me I like that, lets look
 at it! *sigh*

 Oh and we are ditching Lotus Notes apparentlywhoo hoo!!

 Jeremy


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: OT: UML for eclipse

2006-08-16 Thread Patrick Branley
http://www.umlet.com/good for drawing UML diagrams in eclipse, its not a full CASE environment tho.PatOn 8/15/06, 
darryl lyons [EMAIL PROTECTED] wrote:
I can vouch for Visual Paradigm - haven't used it recently in Eclipse,but it is good. Comes as a standalone program as well.On 15/08/06, Chris Velevitch [EMAIL PROTECTED]
 wrote: On 8/15/06, Joel Cass [EMAIL PROTECTED] wrote:  Does anyone know of a really good UML IDE for eclipse? I've tried a few but  am still leaning towards using the offerings from MS in their visual studio
  package.. It would be good to find a good IDE that fits better with the UML  standards.. http://www.visual-paradigm.com/product/sde/ec/
 http://www.myeclipseide.com/ http://www.borland.com/us/products/together/index.html#eclipse
 http://www.omondo.com/ Also, EA from Sparx Systems have an eclipse plugin (http://www.sparxsystems.com.au/products/mdg_eclipse.html
) If you don't like any of these, try searching http://www.eclipseplugincentral.com 
http://eclipse-plugins.2y.net/eclipse/index.jsp http://www.eclipsezone.com/ Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group
 www.flashdev.org.au 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---


[cfaussie] Re: OT: UML for eclipse

2006-08-16 Thread Joel Cass



Thanks 
Pat,UMLet is perfect for my needs..Visual Paradigm is painfully slow 
(at least on my comp), argo is pretty good too but it's good to have something 
can can just be switched back and forth from eclipse, and it looks like (at 
least from the outset) that UMLet has more complete support, ie. more objects to 
choose from..

Thanks everyone for your help and 
suggestions

Joel

  -Original Message-From: cfaussie@googlegroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Patrick 
  BranleySent: Thursday, 17 August 2006 9:20 AMTo: 
  cfaussie@googlegroups.comSubject: [cfaussie] Re: OT: UML for 
  eclipsehttp://www.umlet.com/good for drawing 
  UML diagrams in eclipse, its not a full CASE environment 
  tho.Pat
  On 8/15/06, darryl 
  lyons [EMAIL PROTECTED] 
wrote:
  I 
can vouch for Visual Paradigm - haven't used it recently in Eclipse,but 
it is good. Comes as a standalone program as well.On 15/08/06, Chris 
Velevitch [EMAIL PROTECTED]  
wrote: On 8/15/06, Joel Cass [EMAIL PROTECTED] wrote:  
Does anyone know of a really good UML IDE for eclipse? I've tried a few 
but  am still leaning towards using the offerings from MS in 
their visual studio   package.. It would be good to find a good 
IDE that fits better with the UML  standards.. 
http://www.visual-paradigm.com/product/sde/ec/ 
 http://www.myeclipseide.com/ 
http://www.borland.com/us/products/together/index.html#eclipse 
 http://www.omondo.com/ 
Also, EA from Sparx Systems have an eclipse plugin (http://www.sparxsystems.com.au/products/mdg_eclipse.html 
) If you don't like any of these, try 
searching http://www.eclipseplugincentral.com 
http://eclipse-plugins.2y.net/eclipse/index.jsp 
http://www.eclipsezone.com/ 
Chris -- Chris Velevitch Manager - Sydney Flash 
Platform Developers Group  www.flashdev.org.au 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---


[cfaussie] Re: Java and gzip

2006-08-16 Thread Maximilian Nyman

Yup, no problems.
You can gzip and gunzip a String (or almost anything else) from Java

Cheers,
Max

On 8/17/06, Andrew Scott [EMAIL PROTECTED] wrote:




 I am looking at a proof of concept and was wondering if anyone here who is
 better a java than me, would be able to tell me if a string (passed from CF)
 could be gzip'ed?






 Senior Coldfusion Developer

 Aegeon Pty. Ltd.

 www.aegeon.com.au

 Phone: +613  8676 4223

 Mobile: 0404 998 273
  


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Java and gzip

2006-08-16 Thread Rod Higgins



Off the top of my head ...

cfset myfile="c:\outfile.gzip"cfset 
myString="This is a sample string."

cfscript// Create the GZIP 
output stream fileOut = 
createobject("java", 
"java.io.FileOutputStream").init(myfile); 
out = createobject("java", 
"java.util.zip.GZIPOutputStream").init(fileOut);// 
Transfer bytes from the input string to the GZIP output 
stream 
out.write(myString.getBytes(), 0, 
len(myString.getBytes())); // Complete the 
GZIP file 
out.finish(); 
out.close();/cfscript

Or something like it. Not tested.

hth
rod

  - Original Message - 
  From: 
  Andrew Scott 
  To: cfaussie@googlegroups.com 
  Sent: Thursday, August 17, 2006 11:30 
  AM
  Subject: [cfaussie] Java and gzip
  
  
  I am looking at a 
  proof of concept and was wondering if anyone here who is better a java than 
  me, would be able to tell me if a string (passed from CF) could be 
  gzip’ed?
  
  
  
  Senior Coldfusion 
  Developer
  Aegeon Pty. 
  Ltd.
  www.aegeon.com.au
  Phone:+613 
  8676 4223
  Mobile: 0404 998 
  273
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---


[cfaussie] Re: Java and gzip

2006-08-16 Thread Andrew Mercer
slightly OT, but may have something it it you can recylezip.cfchttp://www.newsight.de/2005/11/03/zip-v12-cfc-update/
On 8/17/06, Andrew Scott [EMAIL PROTECTED] wrote:
















I am looking at a proof of concept and was
wondering if anyone here who is better a java than me, would be able to tell me
if a string (passed from CF) could be gzip'ed?







Senior Coldfusion Developer

Aegeon Pty. Ltd.

www.aegeon.com.au


Phone:+613 8676 4223

Mobile
: 0404 998 273














--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---


[cfaussie] Re: Java and gzip

2006-08-16 Thread Andrew Scott








Rod,



Thanks Ill have a look at it a bit
later.





Senior Coldfusion Developer

Aegeon Pty. Ltd.

www.aegeon.com.au

Phone:+613 8676 4223

Mobile: 0404 998 273






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---






[cfaussie] Re: Java and gzip

2006-08-16 Thread Andrew Scott








Andrew,



There is a specific reason I asked for the
ability to gzip a string and not a file in zip format.





Senior Coldfusion Developer

Aegeon Pty. Ltd.

www.aegeon.com.au

Phone:+613 8676 4223

Mobile: 0404 998 273






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups cfaussie group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---






[cfaussie] Application.cfc and roles

2006-08-16 Thread Chris Silwedel

Hi all

I have an application.cfc in the root and another in an admin sub-folder
that extends the root application.cfc. Customers log-in on the root
level and administrators log-in at the admin level - giving them
security roles for those areas.

Is it possible when at the root level to reference whether a user is
logged into any particular security role at the admin level? For example
I'd like to display edit buttons on the root level if the user is logged
in as an administrator at the admin sub-folder level. 

I'm thinking it's not possible as the applications are treated as
separate entities? If it is possible - how?

Thanks in advance

Chris

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Application.cfc and roles

2006-08-16 Thread Dale Fraser

Just put it in a DB and access it.

Regards
Dale Fraser

http://dale.fraser.id.au


 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Chris Silwedel
Sent: Thursday, 17 August 2006 12:40 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Application.cfc and roles


Hi all

I have an application.cfc in the root and another in an admin sub-folder
that extends the root application.cfc. Customers log-in on the root
level and administrators log-in at the admin level - giving them
security roles for those areas.

Is it possible when at the root level to reference whether a user is
logged into any particular security role at the admin level? For example
I'd like to display edit buttons on the root level if the user is logged
in as an administrator at the admin sub-folder level. 

I'm thinking it's not possible as the applications are treated as
separate entities? If it is possible - how?

Thanks in advance

Chris




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Application.cfc and roles

2006-08-16 Thread Joel Cass

I just wrote this out of curiosity, based on Sun's docos:

http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/Deflater.html

I cannot get the unzip function working.. I think the way I am decoding
strings is not the right way (I'm no java expert).. But it definately seems
possible..

It's in Java as I don't think CF interprets binary data too well.

Basically it's just a matter of installing the class file and using the
following code

cfset zipper = createObject(java, zipper)
cfset raw = hello
cfset encoded = zipper.zip(raw)
cfset decoded = zipper.unzip(encoded)

My lunch break is up and I have little time to take this any further..
Perhaps someone more proficient in Java than myself can patch it up..

Joel


import java.util.zip.*;

public class zipper {

public String zip (String inputString) {
 // Encode a String into bytes
 byte[] input = inputString.getBytes();

 // Compress the bytes
 byte[] output = new byte[100];
 Deflater compresser = new Deflater();
 compresser.setInput(input);
 compresser.finish();
 int compressedDataLength = compresser.deflate(output);

 String returnVar = new String(output, 0, compressedDataLength);

 return returnVar;

}

public String unzip (String inputString) {
 // Encode a String into bytes
 byte[] input = inputString.getBytes();

 // Decompress the bytes
 Inflater decompresser = new Inflater();
 decompresser.setInput(input);
 compresser.finish();
 byte[] result = new byte[100];
 int resultLength = decompresser.inflate(result);
 decompresser.end();

 // Decode the bytes into a String
 String outputString = new String(result, 0, resultLength);

 return outputString;

}

}

Sharing is caring

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Chris Silwedel
Sent: Thursday, 17 August 2006 12:40 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Application.cfc and roles



Hi all

I have an application.cfc in the root and another in an admin sub-folder
that extends the root application.cfc. Customers log-in on the root
level and administrators log-in at the admin level - giving them
security roles for those areas.

Is it possible when at the root level to reference whether a user is
logged into any particular security role at the admin level? For example
I'd like to display edit buttons on the root level if the user is logged
in as an administrator at the admin sub-folder level.

I'm thinking it's not possible as the applications are treated as
separate entities? If it is possible - how?

Thanks in advance

Chris






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Application.cfc and roles

2006-08-16 Thread Joel Cass

In case google stripped the message, I meant to say there's a line that was
in there by accident:

 decompresser.setInput(input);
 REMOVE  compresser.finish();
 byte[] result = new byte[100];
 int resultLength = decompresser.inflate(result);

There is no decompressor.finish() function.. (It was pretty obvious that I
copied and pasted that line to test that out)

Joel

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Andrew Scott
Sent: Thursday, 17 August 2006 1:38 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Application.cfc and roles



Joel,

I think that was obvious was it this thread you meant to post too?


Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273


-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Joel Cass
Sent: Thursday, 17 August 2006 1:33 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Application.cfc and roles


Oops.. there's a line that shouldn't be there.. see below







--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Application.cfc and roles

2006-08-16 Thread Andrew Scott

LOL,

I asked because the subject you replied to and the content you replied too
did not match. And it looked like you were replying to my gzip question
which has nothing to do with zipping files that I was looking for.

So my Blonde statement still remains?

And out of curiousity what where you replying too.
 
 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: Application.cfc and roles

2006-08-16 Thread Andrew Scott

Yep Blonde moment

That's ok have another for me too.
 
 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273
 

-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Joel Cass
Sent: Thursday, 17 August 2006 2:59 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Application.cfc and roles


Oops.. Yes, I was replying to your gzip question..

I need a coffee.. or two

Sorry everyone for the confusion..


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---