Developer's Guide ● Using the Conscriptus Web API
Total Page:16
File Type:pdf, Size:1020Kb
Conscriptus Developers Guide Pages: 39 Version: 1.0 Issued: 2008-08-30 Author: Andrei Ivanov [email protected] Yakutsk Copyright © 2007-2008, Andrei Ivanov. All rights reserved. mailto:[email protected] Important notice: Author(s) makes no warranty for the use of its products and assumes no responsibility for any errors which may appear in this document nor does it make a commitment to update the information contained herein. Described products are not intended for use in medical, life saving or life sustaining applications. Author(s) assumes no liability for applications assistance, customer’s applications or product designs, software performance, or infringement of patents. Author(s) retains the right to make changes to these specifications at any time, without notice. All trademarks mentioned in this document or Web site are the property of their respective owners. Date: 08/30/2008 Page 3 of 39 Conscriptus Developers Guide - Conscriptus appointment timesheet time sheduler History of changes 2008/01/08 First release 2008/06/04 Group manipulation added Summary Этот документ описывает необходимые и рекомендуемые действия по настройке рабочего окружения среды разработчика приложения MeetUp, может быть полезна как справочник по выполнению некоторых операций и содержит такую полезную информацию, как информацию о размещении файлов. Definitions and Abbreviations ADO Microsoft ActiveX Database Objects ® library BDE Borland Database Engine® library GUI Graphical user interface IDE интегрированная среда разработки LUW ОС Linux®, Unix® or Microsoft Windows® RAD rapid application development SDI single document interface VCL Borland Visual Component Library® User Software application user Scope Cellphone application to assist persons assign a meeting at the suitable place and time according to their location and time sheet. Advertisers can indicate their services. For instance, user can enter "Garage sale" to inform their neighbors about event. There is small example how two user can use this: ● User of handset wants to find out service closest to him, for instance, user can enter "Taxi" or "Pizza"; ● Advertiser, for instance, a driver of taxi who placed information about services his company provides, get a notification about somebody at the indicated location on map wants to pick- up. This document describes purpose, typical application, required and recommended operations of the User. Second part contains a reference of scripts useful to integrate application into company's environment. Date: 30/08/2008 Page 4 of 39 Conscriptus Developers Guide - Conscriptus appointment timesheet time sheduler Contents 1 PREFACE.........................................................................................................................................................................7 1.1 Related Documentation.........................................................................................................................7 1.2 Further Information...............................................................................................................................7 1.3 Typographical Conventions..................................................................................................................7 2 PREREQUISITES...........................................................................................................................................................7 2.1 Source disposition.................................................................................................................................7 2.2 DNS settings..........................................................................................................................................8 2.2.1 File hosts.........................................................................................................................................8 2.2.2 File named.conf:..............................................................................................................................8 2.2.3 File commandus.com.db:................................................................................................................8 2.3 HTML coding........................................................................................................................................9 2.4 httpd server settings...............................................................................................................................9 2.4.1 Path to the Perl binaries.................................................................................................................10 2.4.2 Apache 2.0 & MS Windows.........................................................................................................10 2.4.3 Apache web server .......................................................................................................................10 2.4.3.1 Expiration................................................................................................................................11 2.4.3.2 Zlib Compression....................................................................................................................11 2.4.3.3 Cookies....................................................................................................................................11 2.4.4 Multi-language support.................................................................................................................12 2.4.5 File httpd.conf...............................................................................................................................13 2.5 Emulator..............................................................................................................................................14 2.6 IDE......................................................................................................................................................14 2.7 Third-party libraries............................................................................................................................14 2.7.1 License requirements.....................................................................................................................14 2.7.2 Client.............................................................................................................................................14 2.7.2.1 ksoap2......................................................................................................................................14 2.7.3 Server............................................................................................................................................15 2.7.3.1 SOAP::Lite..............................................................................................................................15 2.7.3.2 ActiveState ActivePerl 5.........................................................................................................15 2.7.3.3 Oracle Berkeley DB................................................................................................................15 2.7.4 Javascript.......................................................................................................................................17 2.7.4.1 JSCalendar...............................................................................................................................17 2.7.4.2 Spry..........................................................................................................................................17 2.8 System utilities....................................................................................................................................17 2.9 Другие средства разработки.............................................................................................................18 2.9.1 Для создания инструментальных средств ................................................................................18 2.9.2 Для серверных скриптов.............................................................................................................18 2.9.3 AJAX Framework.........................................................................................................................18 3 НАСТРОЙКИ CVS/SVN.............................................................................................................................................18 4 ТРЕБОВАНИЯ К ДОКУМЕНТИРОВАНИЮ.......................................................................................................19 5 CODING GUIDELINES...............................................................................................................................................19 5.1 Declaration of functions and variables................................................................................................19 6 СПЕЦИФИКА СРЕДСТВ РАЗРАБОТКИ.............................................................................................................21 6.1 GSOAP................................................................................................................................................21 6.2 XPath JavaScript library ....................................................................................................................22 7 ЗАГРУЗКА ТЕСТОВЫХ ДАННЫХ НА СЕРВЕРЕ.............................................................................................22 8 ПРОВЕРКИ...................................................................................................................................................................22