<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Commentaires sur : clipperz : online password manager</title>
	<atom:link href="http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html</link>
	<description>un vrai blog ajax sur le développement web</description>
	<pubDate>Fri, 05 Dec 2008 09:31:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>Par : pkoipas69</title>
		<link>http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-11408</link>
		<dc:creator>pkoipas69</dc:creator>
		<pubDate>Sat, 02 Jun 2007 23:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-11408</guid>
		<description>Bonsoir,
Désolé, d'avoir tardé à te répondre.
Oui tu as bien répondu à mon problème.
Quelques agencements à réaliser néanmoins pour mettre la fonction en oeuvre dans le cadre de gestion des évènements car les arguments dans notre cas ne sont des 'array' (donc pas de propriétés 'slice' et 'concat') mais un 'object'.

&lt;pre lang="javascript"&gt;
// La fonction de 'binding'
Function.prototype.bind = function() {
  var __method = this, __parent = arguments[0];
  return function() {
    return __method.apply(__parent, arguments);
  }
}

// La function d'ajout d'évènements en notation JSON puisque je la définis dans un objet JS.
// --&#62; Non compatible NS4 ou IE5Mac : J'ai 'écourté' la fonction pour les browsers courants
addEvent: function(obj, evType, fn)
{
    if (obj.addEventListener){
        obj.addEventListener(evType, fn, false);
    }
    else if (obj.attachEvent) {
        obj.attachEvent("on" + evType, fn);
    }
    obj = null; // Evite les 'fuites' de mémoire surtout pour IE
}

// L'appel
// Exemple d'ajout d'un événement 'click' associé à la fonction 'test' pour l'élément DOM
// 'MyElt'
// Ajout de la fonction nommée 'test'
elt = document.getElementById("MyElt");
this.addEvent (elt, "click", test=(function()
    {
        this.Event();
    }).bind(this)); // Propage le scope

// Et pour la suppression d'évènement :
removeEvent: function(obj, evType, fn)
{
    if (obj.removeEventListener){
        obj.removeEventListener(evType, fn, false);
    } else if (obj.detachEvent) {
        obj.detachEvent("on" + evType, fn);
    }
}

// L'appel
// Exemple de suppression d'un événement 'click' associé à la fonction 'test' pour l'élément
// DOM 'MyElt'
// Suppression de la fonction nommée 'test'
elt = document.getElementById("MyElt");
this.removeEvent (elt, "click", test);
&lt;/pre&gt;

Cela fonctionne sour FF 2.0 et IE7. Je m'en vais tester tout cela dans les versions inférieures ;)

Encore merci pour ton aide,
               Flo</description>
		<content:encoded><![CDATA[<p>Bonsoir,<br />
Désolé, d&#8217;avoir tardé à te répondre.<br />
Oui tu as bien répondu à mon problème.<br />
Quelques agencements à réaliser néanmoins pour mettre la fonction en oeuvre dans le cadre de gestion des évènements car les arguments dans notre cas ne sont des &#8216;array&#8217; (donc pas de propriétés &#8217;slice&#8217; et &#8216;concat&#8217;) mais un &#8216;object&#8217;.</p>
<pre lang="javascript">
// La fonction de 'binding'
Function.prototype.bind = function() {
  var __method = this, __parent = arguments[0];
  return function() {
    return __method.apply(__parent, arguments);
  }
}

// La function d'ajout d'évènements en notation JSON puisque je la définis dans un objet JS.
// --&gt; Non compatible NS4 ou IE5Mac : J'ai 'écourté' la fonction pour les browsers courants
addEvent: function(obj, evType, fn)
{
    if (obj.addEventListener){
        obj.addEventListener(evType, fn, false);
    }
    else if (obj.attachEvent) {
        obj.attachEvent("on" + evType, fn);
    }
    obj = null; // Evite les 'fuites' de mémoire surtout pour IE
}

// L'appel
// Exemple d'ajout d'un événement 'click' associé à la fonction 'test' pour l'élément DOM
// 'MyElt'
// Ajout de la fonction nommée 'test'
elt = document.getElementById("MyElt");
this.addEvent (elt, "click", test=(function()
    {
        this.Event();
    }).bind(this)); // Propage le scope

// Et pour la suppression d'évènement :
removeEvent: function(obj, evType, fn)
{
    if (obj.removeEventListener){
        obj.removeEventListener(evType, fn, false);
    } else if (obj.detachEvent) {
        obj.detachEvent("on" + evType, fn);
    }
}

// L'appel
// Exemple de suppression d'un événement 'click' associé à la fonction 'test' pour l'élément
// DOM 'MyElt'
// Suppression de la fonction nommée 'test'
elt = document.getElementById("MyElt");
this.removeEvent (elt, "click", test);
</pre>
<p>Cela fonctionne sour FF 2.0 et IE7. Je m&#8217;en vais tester tout cela dans les versions inférieures <img src='http://www.xorax.info/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Encore merci pour ton aide,<br />
               Flo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : XoraX</title>
		<link>http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-10406</link>
		<dc:creator>XoraX</dc:creator>
		<pubDate>Tue, 08 May 2007 21:33:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-10406</guid>
		<description>Bonsoir,
En se qui concerne ton problème, tu est obligé de créer une variable locale avant l'affectation de la fonction du addeventlistener (ou attachevent).

Pour éviter de faire ça à chaque fois, le framework prototype à créé une méthode très utile :
&lt;pre lang="javascript"&gt;
Function.prototype.bind = function() {
  var __method = this, args = $A(arguments), object = args.shift();
  return function() {
    return __method.apply(object, args.concat($A(arguments)));
  }
}
&lt;/pre&gt;
ce qui donne, sans utiliser le framework en entier :
&lt;pre lang="javascript"&gt;
Function.prototype.bind = function() {
  var __method = this, args = arguments, object = args.shift();
  return function() {
    return __method.apply(object, args.concat(arguments));
  }
}
&lt;/pre&gt;
ainsi après avoir déclarer cette méthode, il suffit de mettre simplement, à l'intérieur d'un objet :
&lt;pre lang="javascript"&gt;
element.attachEvent('onclick',(
  function(){
    this.unefonction();
    this.ouunevar = 'sekejveu';
  }
).bind(this));
&lt;/pre&gt;
J'éspère que j'ai bien répondu à ton problème ?</description>
		<content:encoded><![CDATA[<p>Bonsoir,<br />
En se qui concerne ton problème, tu est obligé de créer une variable locale avant l&#8217;affectation de la fonction du addeventlistener (ou attachevent).</p>
<p>Pour éviter de faire ça à chaque fois, le framework prototype à créé une méthode très utile :</p>
<pre lang="javascript">
Function.prototype.bind = function() {
  var __method = this, args = $A(arguments), object = args.shift();
  return function() {
    return __method.apply(object, args.concat($A(arguments)));
  }
}
</pre>
<p>ce qui donne, sans utiliser le framework en entier :</p>
<pre lang="javascript">
Function.prototype.bind = function() {
  var __method = this, args = arguments, object = args.shift();
  return function() {
    return __method.apply(object, args.concat(arguments));
  }
}
</pre>
<p>ainsi après avoir déclarer cette méthode, il suffit de mettre simplement, à l&#8217;intérieur d&#8217;un objet :</p>
<pre lang="javascript">
element.attachEvent('onclick',(
  function(){
    this.unefonction();
    this.ouunevar = 'sekejveu';
  }
).bind(this));
</pre>
<p>J&#8217;éspère que j&#8217;ai bien répondu à ton problème ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : pkoipas69</title>
		<link>http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-10381</link>
		<dc:creator>pkoipas69</dc:creator>
		<pubDate>Tue, 08 May 2007 00:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-10381</guid>
		<description>Bonsoir,
Je post au mauvais endrait je le sais mais je n'ai trop le temps de chercher tant mon problème me pose :
Je travaille en Javascript OOP notation JSON.
Je n'ai jusque ici eu aucun pb : une prog de rêve ! (hormis W3C vs IE et même Opera lol)
Jusque qu'à travailler sur les évènements ! 
Là non plus plus aucun pb, sauf que je perds le scope (this) puisque chaque addeventlistener ou attachevent s'approprient le 'this' en tant qu'instance de l'objet sur lequel est posé l'évènement  (ce qui me semble loqique).
Mais comment récupérer le 'this' de mon instance sans l'affecter à une variable globale ou l'affecter à une variable locale avant l'appel à une fonction ?
En fait ma question ne concerne pas trop une façon de procéder mais plus une syntaxe que je n'aurais comprise.
Je lis le site du W3C à chaque fois que j'en ai besoin mais je n'ai nullement apperçu une façon de passer une instance de l'objet appelant à un "event listener" en plus de l'instance de l'objet que le listener se doit de surveiller.
Alors JSON et addEventListener/attachEvent incompatibles ?</description>
		<content:encoded><![CDATA[<p>Bonsoir,<br />
Je post au mauvais endrait je le sais mais je n&#8217;ai trop le temps de chercher tant mon problème me pose :<br />
Je travaille en Javascript OOP notation JSON.<br />
Je n&#8217;ai jusque ici eu aucun pb : une prog de rêve ! (hormis W3C vs IE et même Opera lol)<br />
Jusque qu&#8217;à travailler sur les évènements !<br />
Là non plus plus aucun pb, sauf que je perds le scope (this) puisque chaque addeventlistener ou attachevent s&#8217;approprient le &#8216;this&#8217; en tant qu&#8217;instance de l&#8217;objet sur lequel est posé l&#8217;évènement  (ce qui me semble loqique).<br />
Mais comment récupérer le &#8216;this&#8217; de mon instance sans l&#8217;affecter à une variable globale ou l&#8217;affecter à une variable locale avant l&#8217;appel à une fonction ?<br />
En fait ma question ne concerne pas trop une façon de procéder mais plus une syntaxe que je n&#8217;aurais comprise.<br />
Je lis le site du W3C à chaque fois que j&#8217;en ai besoin mais je n&#8217;ai nullement apperçu une façon de passer une instance de l&#8217;objet appelant à un &#8220;event listener&#8221; en plus de l&#8217;instance de l&#8217;objet que le listener se doit de surveiller.<br />
Alors JSON et addEventListener/attachEvent incompatibles ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : XoraX</title>
		<link>http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-10148</link>
		<dc:creator>XoraX</dc:creator>
		<pubDate>Wed, 02 May 2007 00:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-10148</guid>
		<description>Thanks you for this repport and really congratulation for Clipperz.

I have corrected my post about AES. I had badly read the informations.

I did not really understand how you will implement record sharing, so I will understand how you will use the ECC when this functionality will be ready.

I would really love that you propose a simple notepad-like or a simple password manager for save the sensibles informations which does not use a web authentification inevitably.

Thanks again and sorry for writing with my bad english :)</description>
		<content:encoded><![CDATA[<p>Thanks you for this repport and really congratulation for Clipperz.</p>
<p>I have corrected my post about AES. I had badly read the informations.</p>
<p>I did not really understand how you will implement record sharing, so I will understand how you will use the ECC when this functionality will be ready.</p>
<p>I would really love that you propose a simple notepad-like or a simple password manager for save the sensibles informations which does not use a web authentification inevitably.</p>
<p>Thanks again and sorry for writing with my bad english <img src='http://www.xorax.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Giulio Cesare Solaroli</title>
		<link>http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-10117</link>
		<dc:creator>Giulio Cesare Solaroli</dc:creator>
		<pubDate>Mon, 30 Apr 2007 20:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.xorax.info/blog/news/173-clipperz-online-password-manager.html#comment-10117</guid>
		<description>Sorry for writing in English, and thank you very much for your kind review.

But I would like to correct you about the AES implementation we are using.

We want to keep the 128-bit security level through the whole service, and this is achieved only by AES-256.
I don't know where did you find the information about Clipprez using AES-128, but we are definitely using AES-256.

About ECC, they are under development, but not to replace SSL, but in order to implement record sharing between Clipperz's users. We have tried to implement RSA, but it was to expensive to use (at the 128-bit security level) and so we have moved to ECC, hoping to be able to achieve acceptable performances.

Thanks for using Clipperz

Giulio Cesare Solaroli
Clipperz co-Founder and CTO</description>
		<content:encoded><![CDATA[<p>Sorry for writing in English, and thank you very much for your kind review.</p>
<p>But I would like to correct you about the AES implementation we are using.</p>
<p>We want to keep the 128-bit security level through the whole service, and this is achieved only by AES-256.<br />
I don&#8217;t know where did you find the information about Clipprez using AES-128, but we are definitely using AES-256.</p>
<p>About ECC, they are under development, but not to replace SSL, but in order to implement record sharing between Clipperz&#8217;s users. We have tried to implement RSA, but it was to expensive to use (at the 128-bit security level) and so we have moved to ECC, hoping to be able to achieve acceptable performances.</p>
<p>Thanks for using Clipperz</p>
<p>Giulio Cesare Solaroli<br />
Clipperz co-Founder and CTO</p>
]]></content:encoded>
	</item>
</channel>
</rss>
