Hi Tristan, On Tue, 30 Aug 2011, Tristan Koch wrote:
> I guess its a matter of style and maybe we should have thought about it > twice. I follow your argument about added complexity. When I made the > decision, it seemed alien to access properties directly (no getter). > However, rest.Resource is still experimental, so I don't object to make > changes here to accomplish better consistency. PLEASE make things as consistent as possible. This makes life a lot easier for the Qooxdoo users (and probably for you as well as far as maintenance is concerned). > I would really welcome it if you came to the conclusion that unit tests > make sense. You can see in test...resource, its possible to inject a > synthetic request (a fake double) you can instruct to fire whatever events > you want your code to test against. This way, you test your code > insolation. You can also offer a fake server (using MMock) that responds > to Xhr requests. Maybe, lets work together on this? Also, I'm planning to > add a section about MMock to the manual with usage examples. What is MMock? Cheers, Fritz -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker +41 62 775 9900 (switch board) Aarweg 15 +41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
