I have been rolling many of my tcf methods in beans, and I have been also consolidating many of my tcf functions into one widgets.tcf and widgets.bean. When I am done I will post on my site as donateware.

I am doing this to help increase performance on my servers, as my traffic has quadrupled in the last few months.

An example is a credit card validation function I just wrote, It works with all major cc's, and is very comprehensive, but I have a few questions either for the WithEnt team, or anyone else who might know. My goal is too have identical working methods in the tcf and the bean. The reason for this is to develop a development method where the tcf is used to prototype, and then I roll the method into a bean for deployment.

I completely understand how, and have successfully written several beans, and just need help with some specifics:

In a tcf, I can have a method that has multiple in AND multiple out parameters. I know how to create a bean with multiple in parameters easily, but what about multiple out parameters? Is there any documentation or an example that shows this technique in a way that Witango will accept properly?

If I cannot create multiple out parameters, I am assuming I could create public class properties that are set within the bean method, and then retrieved with a seperate getProperty() method. I am assuming these properties will live as long as the instance of the bean object does, is this correct?

If I create a MAIN method in the bean, will this method invoke automatically on instantiation and work like an onCreate method? If not, is there another way to have onCreate and onDestroy methods that Witango calls automatically in the bean like in a tcf?

If I want to pass an array to a bean, do I set the input parameter in the bean as a String Array list? If not, is there a way to pass an array from Witango to a bean without parsing text in the bean, or xml?

Is there documentation available for the beanhandler in Witango, or is there one in the works?

I think that is it for now.

--

Robert Garcia
President - BigHead Technology
CTO - eventpix.com
2781 N Carlmont Pl
Simi Valley, Ca 93065
ph: 805.522.8577 - cell: 805.501.1390
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/ - http://theradmac.com/

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to