Исправлен баг в демонстрационном контейнере Pusa связанный с оптимизацией контента. Актуальная версия контейнера: https://hub.docker.com/r/catlairnet/pusa_ubutu_nginx_php_ssh
Сокращен код проекта. Убраны лишние модули из сборки GIT и Docker.
Добавлен метод Replace в протокол Pusa, замещающий содержимой атрибутов в DOM.
Добавлен метод Replace в протокол Pusa, замещающий содержимой атрибутов в DOM.
- Reduced the Pusa-Front JS code from 11 to 6 kb.
- Demo file sharing has been published on Pusa engine https://file.catlair.net/
- Bug fixes and documentation
- DOMSend method implemented
- Pusa Demo conteiner rebuilded https://hub.docker.com/repository/docker/catlairnet/pusa_ubutu_nginx_php_ssh/general
- Updated sources on git https://gitlab.com/catlair/pusa/-/tree/main
- Demo file sharing has been published on Pusa engine https://file.catlair.net/
- Bug fixes and documentation
- DOMSend method implemented
- Pusa Demo conteiner rebuilded https://hub.docker.com/repository/docker/catlairnet/pusa_ubutu_nginx_php_ssh/general
- Updated sources on git https://gitlab.com/catlair/pusa/-/tree/main
GitLab
Files · main · John The Smith / pusa
A new docker container has been published that demonstrates a file sharing on the Pusa engine:
- https://hub.docker.com/r/catlairnet/pusa_file_sharing
- https://hub.docker.com/r/catlairnet/pusa_file_sharing
Published instructions for creating a site on Pusa - https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_en/man/pusa_start.md
GitLab
site/pusa/src/language_en/man/pusa_start.md · main · John The Smith / pusa
- Translated a quick guide to building a site on Pusa: https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_en/man/pusa_start.md
- Added new EventLocal method: https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_default/man/pusa_php_methods.md
- Added new EventLocal method: https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_default/man/pusa_php_methods.md
An interactive English grammar trainer on the Pusa engine is published: https://engram.catlair.net
Added new methods to Pusa protocol and PHP implementation:
- DOMTimerStop - stop timer without following event callback.
- DOMMethod - call the method for focused DOM elements;
https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_en/man/pusa_protocol.md
https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_default/man/pusa_php_methods.md
- DOMTimerStop - stop timer without following event callback.
- DOMMethod - call the method for focused DOM elements;
https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_en/man/pusa_protocol.md
https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_default/man/pusa_php_methods.md
GitLab
site/pusa/src/language_en/man/pusa_protocol.md · main · John The Smith / pusa · GitLab
The demo of Pusa is supplemented with an example of working with the clipboard.
https://dev.pusa.catlair.net/?section=Examples
https://dev.pusa.catlair.net/?section=Examples
Publishing a Wiki article about Pusa https://ru.wikipedia.org/wiki/Pusa_WEB (rus).
Wikipedia
Pusa WEB
Pusa WEB без JS — концепция для создания клиент-серверных Web приложений, без необходимости разработки на JavaScript для Frontend в любом виде. Управление браузером и управление DOM элементами выполняется на Backend согласно архитектурного стиля REST c MVC.…
We have published an extension for Pusa methods:
- adding a Loop command for building lists on the front side
https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_default/man/pusa_php_methods.md#loop
- adding Focus command to select DOM elements with filters, based on logical operators
https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_default/man/pusa_php_methods.md#domfocus
- adding a Loop command for building lists on the front side
https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_default/man/pusa_php_methods.md#loop
- adding Focus command to select DOM elements with filters, based on logical operators
https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_default/man/pusa_php_methods.md#domfocus
GitLab
site/pusa/src/language_default/man/pusa_php_methods.md · main · John The Smith / pusa
We have published a new "Hello world" demo for Pusa.
The project contains the following features:
- does not use JS application code;
- contains full CRUD for MySQL demonstration;
- follows the MVC paradigm;
- demonstrates the user authorization;
- works with interective scrolling list;
- has the dinamyc refresh;
- contains the popup and confirmation interface;
- has the copy to clipboard interface;
- changes status for tasks.
Link: https://todo.catlair.net/
Docker: https://todo.catlair.net/
Source: https://gitlab.com/catlair/pusa/-/tree/main/site/todo
The project contains the following features:
- does not use JS application code;
- contains full CRUD for MySQL demonstration;
- follows the MVC paradigm;
- demonstrates the user authorization;
- works with interective scrolling list;
- has the dinamyc refresh;
- contains the popup and confirmation interface;
- has the copy to clipboard interface;
- changes status for tasks.
Link: https://todo.catlair.net/
Docker: https://todo.catlair.net/
Source: https://gitlab.com/catlair/pusa/-/tree/main/site/todo
We have updated a Pusa protocol and put GRUD libraryes for MySQL and PostgreeSQL.
- GIT: https://gitlab.com/catlair/pusa/-/tree/main
- Protocol: https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_en/man/pusa_protocol.md
- DB libraries: https://gitlab.com/catlair/pusa/-/tree/main/php/datasource
The protocol has been shortened.
Execution control
Debug - debug mode control for browser;
Call - method call for focus DOM elements or used objects;
JS - run JS code (not recomended);
Loop - cyclic execution of directives on the FrontEnd;
Event - set event for DOM elements and browser objects;
Controlling the DOM
Focus - set focus on DOM elements;
Create - create new DOM elements;
Send - send data from focused DOM elements (upload) to back;
Timer - start the timer with following event callback or stop the timer;
Replace - replaces the content of attributes for focus DOM elements.
Style tables
CSSAttr - setting style attributes for styles by name.
Pile
PilelePut - setting the value for the element of the Pile object.
PileReplace - replacement of fragments in a Pile expression with a name key Name (not implemented).
DOMToPile - placing the values of attributes and properties of focus DOM elements in the Pile.
DOMFromPile - filling in property attributes and properties of focus DOM elements from Pile.
PileToClipboard - places the Stack value on the clipboard.
- GIT: https://gitlab.com/catlair/pusa/-/tree/main
- Protocol: https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_en/man/pusa_protocol.md
- DB libraries: https://gitlab.com/catlair/pusa/-/tree/main/php/datasource
The protocol has been shortened.
Execution control
Debug - debug mode control for browser;
Call - method call for focus DOM elements or used objects;
JS - run JS code (not recomended);
Loop - cyclic execution of directives on the FrontEnd;
Event - set event for DOM elements and browser objects;
Controlling the DOM
Focus - set focus on DOM elements;
Create - create new DOM elements;
Send - send data from focused DOM elements (upload) to back;
Timer - start the timer with following event callback or stop the timer;
Replace - replaces the content of attributes for focus DOM elements.
Style tables
CSSAttr - setting style attributes for styles by name.
Pile
PilelePut - setting the value for the element of the Pile object.
PileReplace - replacement of fragments in a Pile expression with a name key Name (not implemented).
DOMToPile - placing the values of attributes and properties of focus DOM elements in the Pile.
DOMFromPile - filling in property attributes and properties of focus DOM elements from Pile.
PileToClipboard - places the Stack value on the clipboard.
GitLab
Files · main · John The Smith / pusa
We've added a full text search example and PostgreeSQL datasource for demo at https://todo.catlair.net/
The Todo demo can work with many data sources from one page.
- Demo - https://todo.catlair.net
- Docker - https://hub.docker.com/r/catlairnet/pusa_todo_demo
- Gitlab - https://gitlab.com/catlair/pusa/-/tree/main/site/todo
Added an interface for sending information, warnings and error messages to the browser.
- Demo - https://todo.catlair.net
- Docker - https://hub.docker.com/r/catlairnet/pusa_todo_demo
- Gitlab - https://gitlab.com/catlair/pusa/-/tree/main/site/todo
Added an interface for sending information, warnings and error messages to the browser.
Updates:
- PusaProtocol. https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_ru/man/pusa_protocol.md
- Pusa examples: https://pusa.catlair.net/
- File sharing demo. https://file.catlair.net/
- Docker for file sharing. https://hub.docker.com/r/catlairnet/pusa_file_sharing
- Todo demonstration: https://todo.catlair.net
- Todo docker: https://hub.docker.com/r/catlairnet/pusa_todo_demo
- Engram demo: https://engram.catlair.net
- PusaProtocol. https://gitlab.com/catlair/pusa/-/blob/main/site/pusa/src/language_ru/man/pusa_protocol.md
- Pusa examples: https://pusa.catlair.net/
- File sharing demo. https://file.catlair.net/
- Docker for file sharing. https://hub.docker.com/r/catlairnet/pusa_file_sharing
- Todo demonstration: https://todo.catlair.net
- Todo docker: https://hub.docker.com/r/catlairnet/pusa_todo_demo
- Engram demo: https://engram.catlair.net
GitLab
site/pusa/src/language_ru/man/pusa_protocol.md · main · John The Smith / pusa
The Pusa project has the new domain https://pusa.dev.
All old pusa.catlair.net links will be available.
All old pusa.catlair.net links will be available.