Сервер приложений С++

  • View
    45

  • Download
    0

Embed Size (px)

DESCRIPTION

++. , SUP Fabrik. - 2003 , , , CPU , ; : , API , . - PowerPoint PPT Presentation

Transcript

  • ++ , SUP Fabrik

  • - 2003 , , , CPU , ; : , API,

  • MVC CAS MVC ? CAS

  • MVC

  • ,

  • MVC

  • HTML/JSON/XML

  • CTPP

    API

    -

  • CTPP2

    HTML::Template::JIT

    HTML::Template::Pro

    HTML::Template

    Template::Toolkit

    3

    0.050070522

    0.052945563

    0.238255034

    0.589211618

    1

    Sheet 1 - Table 1

    0.050070522

    0.052945563

    0.238255034

    0.589211618

    1

    Sheet 1 - Table 1

    0

    0

    0

    0

    0

    Untitled 1

    0

    0

    0

    0

    0

  • CAS

  • , ,

    fork

    fork

    fork

  • ?

  • ! Hello, World! mod_perl PHP

  • C++ cmake C++10

  • Hello, World!

    cas-xt -t handler -g -n Hello

    Using templates from directory "/usr/share/cas/xt"Output directory is "."Creating [DIR] HelloCreating [DIR] Hello/includeCreating [DIR] Hello/srcCreating [FILE] Hello/src/Hello.cppCreating [FILE] Hello/CMakeLists.txt

  • Hello, World!

    INT_32 Hello::Handler(CTPP::CDT & oData, ASRequest & oRequest, ASResponse & oResponse, ASLogger & oLogger){// Put your code hereoData["hello"] = "Hello, World!";// 200 OKoResponse.SetHTTPCode(200);// Header oResponse.SetHeader("X-Module", "Hello");return HANDLER_OK;}

  • Hello, World!

  • Hello, World!

  • mod_perl

  • PHP

  • , : Perl, PHP, Python

  • Apache 1.3.XApache 2.XFastCGI

  • LinuxFreeBSDSolaris

    i386amd64UltraSPARC

  • - (, Mail.ru ;) View: HTML, JSON, XML CAS

  • ?