Hi all,
I am actually coding the API. I have a small question to developers and advanced customers too. After a first phase I have a class OpenCA::Server and a class OpenCA::UI::HTML. The objects in OpenCA::UI::HTML access the functions in OpenCA::Server directly.
Perl has no real object oriented features today. So it is not possible to declare private and public functions within the server. There is only one chance for this - a class OpenCA::API. The class would do nothing else then including an instance of OpenCA::Server and every function in OpenCA::API calls a function in OpenCA::Server. The private functions of OpenCA::Server would be completely hidden. It is similar to concepts of C++ but of course it costs performance.
What do you think? A clear interface or more performance? I prefer the clear interface but perhaps there are other ideas.
Michael -- _______________________________________________________________
Michael Bell Humboldt-Universitaet zu Berlin
Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice Fax: +49 (0)30-2093 2704 Unter den Linden 6 [EMAIL PROTECTED] D-10099 Berlin _______________________________________________________________
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel