Hi Chris,

Chris Banford wrote:
Oliver Vogel wrote:
@chris
I think, what you write sounds good, BUT (sorry for that BUT ;-)
We have to pay attention that the Client is not to hard to understand (and
so to use).

I think, it is not a good idear to set too much "properties" to get the
class working.

It is good to have these possibilities. But the class must work with
something like (pseudo)
ac = new QxAJAXClient();
ac.addBinding(<<url>>,<<Server-function>>,<<Client-function>>);
ac.doIt(<<data>>);

-- or --

ac = new QxAJAXClient(<<url>>);
ac.doIt(<<data>>, <<Client-function>>);

In this case we must have default-methods to do everything needet to let the
class work.

If one has to do more work, he will not use the class (if he has to do
something special, i thing it is no problem to have more sophisticated work
- but not for the default - case)

I don't matter if we named the function "addBinding" or "doIt" ore something
other ;-)

Olli

I agree with Olli -- the base use needs to be bullet-proof simple. Developers who need something special (and who have the ability) can delve deeper into the object for more power.
If nothing else, it looks like we all agree. The next step in getting this right should be deciding what the simple cases are and how best to provide solutions to them for the user. I'll have a think about this.

Best regards,

Chris

My 2 cents.
-Chris

********************
Chris Banford
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
bSoftware
www.bsoft.ch <http://www.bsoft.ch/>
078 609.20.34
Skype: zermattchris <callto://zermattchris>
Zermatt, Switzerland
********************




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to