From: Vlad S. <vl...@cr...> - 2006-09-27 15:46:54
|
I remember i've done it with my OCaml module, it registers handlers for .cmo files and handles them in C, not via Tcl. I had to provide API to ns_conn and other stuff of course but it is not that complicated as it looks. Zoran Vasiljevic wrote: > On 27.09.2006, at 17:31, Vlad Seryakov wrote: > >> We are usuing PHP with RoundCube Webmail and Drupal >> (http://www.drupal.org) system and it never crashed and works very >> stable. > > Amazing just how many CMS systems are out there... > >> I thought that Javascript can be used same way, as external module. >> And Tcl will not be overhead beacuse if my conn thread does not >> call any >> Tcl script Tcl interp is not used, instead i can register Javascript >> server-side proc that will be called directly through the module. > > It is much more than that: you need to open some of the things > now only visible to the Tcl level, to Javascript as well in order > to do something "meaningful". But is not impossible. It is just work... > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |