Hi Bill!
 
 
It would be nice having a contrib project which adds encryption and
decryption mechanisms based on GnuPG to qooxdoo. Since this
implemenation only consists of seven files, it should not be a big
project. In addition, qooxdoo will give you some comfort (e.g. for all
mouse event handling in mouse.js) to save time and effort.
 
I just looked at the files and I think that most parts should be seen as
a "black box". Honestly, I do not understand parts like
  x=x.concat(); y=y.concat()
  for(i=t; i>0; i--) y[i]=((y[i]<<shift) & bm) | (y[i-1] >> shift2);
  y[0]=(y[0]<<shift) & bm;

(at least not without comments) but if this implemenation is correct,
you never have to touch the insides.
 
Just start by creating a a package (e.g. "gnupg") and create a class for
each file. The variables inside the files will become members of each
class. Some classes can be static (e.g. the class that results of
base64.js). The functions that are called by the user or other classes
will become public methods.... And that should be all. :-)
 
Ask Andreas to create qooxdoo-contrib project on SourceForge.net for you
as soon as you have something you want to commit. ;-)
 
 
We would be plased to answer any further questiosn you might have
concerning the port!
 
Cheers,
Jonathan
 

________________________________

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Bill
Adams
Gesendet: Dienstag, 3. Juni 2008 21:03
An: qooxdoo-devel@lists.sourceforge.net
Betreff: [qooxdoo-devel] GnuPG


All,
 
I would like to use GnuPG in in a qooxdoo application.  This
implementation of GnuPG does what I need:
http://www.hanewin.net/encrypt/
 
The above implementation is in 7 js files of functions, some of which
create objects.
 
I'd like to ask some advice:
 
To use this code, do I need to port it into a qooxdoo class?  Is that a
big project?  Is there a better way to have GnuPG in my application?
 
If I do port it, I would like to start with the best strategy.  Should I
make all of the functions into members of the qooxdoo class?  Will I
have to prepend "this." to all function calls?  Will I change all global
variables into class members, and prepend references to them with
"this."?  
 
There must be more questions I haven't even thought of.  One more: is
porting it feasible? 
 
Regards,
Bill
 
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to