andu a �crit :
> 
> Pierre Sahores wrote:
> >
> > Hi Greg,
> >
> > Under Windows/Unix/MacOSX : If you need to link Metacard apps to the
> > web, try the ".php sockets listener" way, witch works greatly fine
> > (Apache, mod_php, the .php script, the mc app) without using the libURL
> > (developped and used from two years ago as an alternative to the http
> > build-in MC abilities because, i never found the right way to clean
> > handle the POST method, directly from within MC).
> 
> Aside the fact that this was not his problem with post, are you saying
> that handling POST on the server side using php as an intermediary
> between Apache and MC is more efficient then having MC handle it by
> itself as a cgi script? 

Hi Andu,

Definitivelly yes, even if no more than 20 lines of .php scripting (and
the couple of "fputs()/fpassthru()" php key features) are needed to link
an mc web applications server (nine differents long running processes;
more than 1.5 Mo of metatalk scripting, for me, yet) to Apache !

> Why?

Test this way and you will see what a difference it makes ! In terms of
speed of serving complexes replies (including mixing multiple datas
sources) and in terms of security against hackers, MC is, for me, the
VERY BEST web/vpn applications server development plateform available
today. 

Even if there are others good tools usables to build small projects -
Zope, WebObjects, ColdFusion (witch will be removed from the market next
year) - or very small projects (Perl, PHP, Python), there are no best
way to build big projects than using MC (instead of J2EE based WAS
systems) to link the web to all kind of datas sources, including big DB
servers.

> What problems did you have?

I had to handle Metacard's long running "cgi" processes under Linux and
WinNT in both graphical mode (developmemt, debbugging, presentations)
and console mode (production on the dedicated ISP hosted server). After
spending far a month (further of year 2000) to try to get the right way
in doing that trough Metatalk, i got docs about SQL databases TCP/IP
sockets listeners (in Perl, Java and PHP). After testing those pieces of
joke code with MySQL, i spended a couple of hours to build the onest i
use since that time to link MC to the Web (get it in the mc archive at
runrev, if needed).

I use for yet MC 2.32 under Linux and will further update to MC 2.4
(when i will have a little more time to test and update my apps to run
them under MacOSX 10.1 server).

--snip--

> Andu
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Best Regards, Pierre Sahores

WEB & VPN applications & databases servers
Inspection acad�mique de Seine-Saint-Denis
Qualifier & produire l'avantage comp�titif

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to