My little programming dream,part 2(Specification / Preparation of execution)
My little programming dream,part 2
(Specification / Preparation of execution)

| Specification Preparation of execution |
Технічне завдання Підготовка виконання |
|---|---|
|
As you already understood from a previous post, a main task will be development of application,that will be capable, to create desktop apps by means of PHP programming language.
PHP it is a programming language that is worked out for a html code of web of pages generation on the side of server, language of scripts, and executed by means of the special interpreter, by a human language then it as Actor, a program code it a scenario and Actor an interpreter executes that every ribbon of scenario, at what he does not need запамятовувати all scenario, simply reads him, every time again.
|
Як ви уже зрозуміли з попереднього посту, головною задачею буде розробка программи ,яка буде здатна,створювати десктопні застосунки за допомогою мови програмування PHP.
|
![]() |
![]() |
| Tools | Інструменти |
| To solve the problem I need: - C # .NET programming language; - Sharp Developer IDE is a free analogue of Microsoft Visual Studio; - Visual Studio Code IDE - a cool editor with plenty of opportunities to write php scripts; - PHP 7 (for start only one executable file php.exe) |
для вирішення завдання мені знадобляться: - C# .NET мова програмування ; - Sharp Developer IDE безкоштовний аналог Microsoft Visual Studio ; - Visual Studio Code IDE - класний редактор з великою кількістю можливостей, для написання php- скриптів; - PHP 7(для початку лише один виконюючий файл php.exe) |
| Data, Structure, Application. | Дані , Структури , Застосунок. |
|
And again to the task, we specify everything: 1 Application to C # (parent process), called PROG-A: sending data to PHP interpreter, receiving data, processing. 2. The php script (named PROG-B) receives the input command from PROG-A, processes and returns the finished data. To communicate between the script and the program I will use the JSON type. This will simplify the process of processing the data, since we will always have an array at the output and the input. Provide procedures that will translate inputs from PROG-B data into objects (forms, buttons, fields), and events for processing. provide the script with all the necessary structures, the equivalent of C # objects, with a description of events, constants, and variables. |
І знову до задачі, конкретизуємо все: 1 . Застосунок на С# (батьківський процес) , назвем PROG-A : відправка данних до PHP інтерпретатора, отримання данних , опрацювання. 2. php-скрипт(назвем PROG-B) отримує вхідну команду від PROG-A , опрацьовує та віддає готові дані. Для спілкування між скриптом та програмою використаю тип JSON.Це спростить процес опрацювання данних, оскільки на виході та вході будемо мати завжди масив. Забезпечити процедурами , які будуть претворювати вхідні від PROG-B дані у об'єкти(форми,кнопки,поля) ,та події для опрацювання. забезпечити скрипт всіма необхідними структурами, еквівалентами обєктів С# , з описом подій,констант,та змінних об'єктів. |
| Prepare for the next article | Підготувати до наступної статті. |
|
1. The form of the program in C #, with the recognition module, though one object. 2. Monitor PHP script process. 3. The script for receiving a command, processing, although one interface for any window control object. |
1.Форма програми на C# , з модулем розпізнавання хочаби одного об'єкту. 2.Моніторинг процесу PHP скрипта . 3.Скрипт отримання команди,опрацювання, хочаб один інтерфейс любого об'єкту керування вікна. |
| Ok , fore today that's all,I goingto prepearing info for next part of post. Glad that you visit,see you | Гаразд, на сьогоднішній день це все, Я готувати інформацію до наступної частини посту. Радий що читаєте , до зустрічі |
![]() |
![]() |
