diff --git a/en/news/2025-06_welcome-component.md b/en/news/2025-06_welcome-component.md new file mode 100644 index 0000000..8ed9360 --- /dev/null +++ b/en/news/2025-06_welcome-component.md @@ -0,0 +1,46 @@ +Title: PSKOV 2 editor and components +Date: 2025-06-03 +Category: News +Slug: welcome-component +Lang: en + + + +# PSKOV 2 editor draft + +In May I created PSKOV 2 editor draft which is only capable of: + +1. display two left menu items +2. display contents in the right for the selected menu item + +You probably can't see anything substantial in this, however, the listed +functionality is run by a component. In this case it's called [WelcomeComponent][wcmp]. +Future functionality like Git and Markdown is expected to follow the same pattern of +components. + +The structure of components is not yet stable, but here's a short excerpt of +the constructor of `WelcomeComponent` just so you can feel the mood: + +```javascript +function WelcomeComponent() { + this._construct = function() { + this.ctrl = new CLDController(new WelcomeContext()); + // Dbg. + this.ctrl.registerCallback((c) => { + console.log(`ИГР WelcomeC._construct ctrl key/value: '${c.recentField}'/'${c.field(c.recentField)}'`); + }); + this.setupHTML(); + this.setupEffects(); + this.setupEvents(); + this.setupShoulds(); + }; + - - - - +``` + +# June + +In June I plan to create a draft version of Git component. + +[wcmp]: https://github.com/kornerr/pskov2/blob/main/welcome.js diff --git a/en/news/index.html b/en/news/index.html index 8a5a0e1..722b9f8 100644 --- a/en/news/index.html +++ b/en/news/index.html @@ -25,6 +25,30 @@
+ 2025-06-03 +
+In May I created PSKOV 2 editor draft which is only capable of:
+You probably can't see anything substantial in this, however, the listed +functionality is run by a component. In this case it's called WelcomeComponent. +Future functionality like Git and Markdown is expected to follow the same pattern of. . .
+- 2024-09-06 00:00 -
-In August I implemented scene switching, which allowed me to do the following:
-Thus, scenes are good both for focusing on items and moving the player around.. . .
-Page 1 of 9
diff --git a/en/news/index2.html b/en/news/index2.html index 9186ea2..49f7e81 100644 --- a/en/news/index2.html +++ b/en/news/index2.html @@ -25,6 +25,30 @@
+ 2024-09-06 00:00 +
+In August I implemented scene switching, which allowed me to do the following:
+Thus, scenes are good both for focusing on items and moving the player around.. . .
+- 2021-01-28 00:00 -
-
In this article Michael shares his experience of creating durable applications.
-In 2013 Canonical tried to crowdfund Ubuntu Edge smartphone. -Its main feature could be the ability to use the smartphone as a full-fledged -PС. Unfortunatly, the crowdfunding campaign did not accumulate enough money, -so a dream of having a universal device remained to be the dream.
-I've been searching for universality, too, on the software side, -not the hardware one. Today I can confidently say I found the necessary. . .
-Page 2 of 9
diff --git a/en/news/index3.html b/en/news/index3.html index 8ae3b46..446d175 100644 --- a/en/news/index3.html +++ b/en/news/index3.html @@ -25,6 +25,26 @@
+ 2021-01-28 00:00 +
+
In this article Michael shares his experience of creating durable applications.
+In 2013 Canonical tried to crowdfund Ubuntu Edge smartphone. +Its main feature could be the ability to use the smartphone as a full-fledged +PС. Unfortunatly, the crowdfunding campaign did not accumulate enough money, +so a dream of having a universal device remained to be the dream.
+I've been searching for universality, too, on the software side, +not the hardware one. Today I can confidently say I found the necessary. . .
+- 2018-10-02 00:00 -
-
We are glad to announce the release of the second demonstration of OGS Mahjong 2. The purposes of this release were to refine our development techniques and build a solid cross-platform foundation.
-Release
-Run the latest version of OGS Mahjong 2 in your web browser: http://ogstudio.github.io/ogs-mahjong
-You are encouraged to run the game with seed parameter like this: http://ogstudio.github.io/ogs-mahjong?seed=0. . .
Page 3 of 9
diff --git a/en/news/index4.html b/en/news/index4.html index 0487090..b41105a 100644 --- a/en/news/index4.html +++ b/en/news/index4.html @@ -25,6 +25,23 @@
+ 2018-10-02 00:00 +
+
We are glad to announce the release of the second demonstration of OGS Mahjong 2. The purposes of this release were to refine our development techniques and build a solid cross-platform foundation.
+Release
+Run the latest version of OGS Mahjong 2 in your web browser: http://ogstudio.github.io/ogs-mahjong
+You are encouraged to run the game with seed parameter like this: http://ogstudio.github.io/ogs-mahjong?seed=0. . .
- 2017-09-10 00:00 -
-
This article describes the birth of MJIN world in August 2017.
-mjin-player
-As you know, we spent July to research scripting. We found a solution that satisfies the following criteria. Scripts should:
-We have verified the second criterion by writing a sample application. The first criterion was taken for granted because it SHOULD be true.. . .
-Page 4 of 9
diff --git a/en/news/index5.html b/en/news/index5.html index ce66650..d09aa05 100644 --- a/en/news/index5.html +++ b/en/news/index5.html @@ -25,6 +25,27 @@
+ 2017-09-10 00:00 +
+
This article describes the birth of MJIN world in August 2017.
+mjin-player
+As you know, we spent July to research scripting. We found a solution that satisfies the following criteria. Scripts should:
+We have verified the second criterion by writing a sample application. The first criterion was taken for granted because it SHOULD be true.. . .
+- 2016-12-15 00:00 -
-
This article describes the start of MJIN library separation into modules.
-Once we built OpenSceneGraph for Android, it became obvious that some MJIN functionality is not suitable for Android. For example, UIQt provides a basis for OGS Editor UI. Since OGS Editor is a desktop application, we don't need UIQt for Android.
-We decided to have a look at two approaches to separate MJIN into modules: build-time separation and run-time one. -Build-time separation means MJIN becomes highly configurable and each platform gets specifically tailored MJIN build.. . .
-Page 5 of 9
diff --git a/en/news/index6.html b/en/news/index6.html index 0a654c4..70fbc37 100644 --- a/en/news/index6.html +++ b/en/news/index6.html @@ -25,6 +25,23 @@
+ 2016-12-15 00:00 +
+
This article describes the start of MJIN library separation into modules.
+Once we built OpenSceneGraph for Android, it became obvious that some MJIN functionality is not suitable for Android. For example, UIQt provides a basis for OGS Editor UI. Since OGS Editor is a desktop application, we don't need UIQt for Android.
+We decided to have a look at two approaches to separate MJIN into modules: build-time separation and run-time one. +Build-time separation means MJIN becomes highly configurable and each platform gets specifically tailored MJIN build.. . .
+- 2016-08-18 00:00 -
-If you follow us on Facebook, Twitter, or VK you noticed we started to use them again. That's no coincidence: we're finally ready to communicate our progress verbally after 4 years of almost silent development.
-Follow us to stay up-to-date! -. . .
-Page 6 of 9
diff --git a/en/news/index7.html b/en/news/index7.html index 43ca427..4bf4a83 100644 --- a/en/news/index7.html +++ b/en/news/index7.html @@ -25,6 +25,21 @@
+ 2016-08-18 00:00 +
+If you follow us on Facebook, Twitter, or VK you noticed we started to use them again. That's no coincidence: we're finally ready to communicate our progress verbally after 4 years of almost silent development.
+Follow us to stay up-to-date! +. . .
+- 2015-12-26 00:00 -
-As you know, according to the previously published roadmap, we now have sound system in place. However, we decided to go further and implement the first version of Player. We wanted to get it done by December, but, unfortunately, more work resulted in the change of dates.
-Here's the revised roadmap for the first half of 2016:
-Page 7 of 9
diff --git a/en/news/index8.html b/en/news/index8.html index 497cb0a..d7bb34c 100644 --- a/en/news/index8.html +++ b/en/news/index8.html @@ -25,6 +25,24 @@
+ 2015-12-26 00:00 +
+As you know, according to the previously published roadmap, we now have sound system in place. However, we decided to go further and implement the first version of Player. We wanted to get it done by December, but, unfortunately, more work resulted in the change of dates.
+Here's the revised roadmap for the first half of 2016:
+- 2015-03-07 00:00 -
-We completed Editor 0.4.0 in January. As it was planned, it only contains basic abilities to open and save a project. The major goal was to make MJIN, Python and Qt work together (we were unable to use PyQt or PySide due to technical difficulties).
-You can see 0.4.0 in action here.
-We started Editor 0.5.0 development in February. It's 45% ready at the moment.
-Editor 0.5.0 planned features:
-Page 8 of 9
diff --git a/en/news/index9.html b/en/news/index9.html index 72f5444..2ab5610 100644 --- a/en/news/index9.html +++ b/en/news/index9.html @@ -25,6 +25,25 @@
+ 2015-03-07 00:00 +
+We completed Editor 0.4.0 in January. As it was planned, it only contains basic abilities to open and save a project. The major goal was to make MJIN, Python and Qt work together (we were unable to use PyQt or PySide due to technical difficulties).
+You can see 0.4.0 in action here.
+We started Editor 0.5.0 development in February. It's 45% ready at the moment.
+Editor 0.5.0 planned features:
++ 2025-06-03 +
+In May I created PSKOV 2 editor draft which is only capable of:
+You probably can't see anything substantial in this, however, the listed +functionality is run by a component. In this case it's called WelcomeComponent. +Future functionality like Git and Markdown is expected to follow the same pattern of +components.
+The structure of components is not yet stable, but here's a short excerpt of
+the constructor of WelcomeComponent just so you can feel the mood:
function WelcomeComponent() {
+ this._construct = function() {
+ this.ctrl = new CLDController(new WelcomeContext());
+ // Dbg.
+ this.ctrl.registerCallback((c) => {
+ console.log(`ИГР WelcomeC._construct ctrl key/value: '${c.recentField}'/'${c.field(c.recentField)}'`);
+ });
+ this.setupHTML();
+ this.setupEffects();
+ this.setupEvents();
+ this.setupShoulds();
+ };
+ - - - -
+
+In June I plan to create a draft version of Git component.
++ 2025-06-03 +
+В мае сделал заготовку редактора ПСКОВ 2, которая умеет лишь:
+Функционально в этом сложно увидеть что-либо занимательное. Но +таковое есть: и левое меню, и содержимое управляются компонентом, +в данном случае WelcomeComponent. Будущая функциональность вроде Git. . .
+- 2024-09-06 00:00 -
-В августе сделал переключение сцен, после чего стало возможно следующее:
-Таким образом, сцены хорошо решают вопросы как фокусирования на предметах,. . .
-Страница 1 из 9
diff --git a/ru/news/index2.html b/ru/news/index2.html index 1e34ecc..fd94fbd 100644 --- a/ru/news/index2.html +++ b/ru/news/index2.html @@ -25,6 +25,30 @@
+ 2024-09-06 00:00 +
+В августе сделал переключение сцен, после чего стало возможно следующее:
+Таким образом, сцены хорошо решают вопросы как фокусирования на предметах,. . .
+- 2021-01-28 00:00 -
-
В этой статье Михаил поделится опытом создания доступных долговечных приложений.
-В 2013 году компания Canonical пыталась собрать средства на выпуск смартфона -Ubuntu Edge. Особенностью продукта должна была стать возможность -преобразовывать смартфон в полноценный ПК. Увы, необходимую сумму собрать не -удалось, поэтому мечта создать универсальное устройство так и осталась мечтой.
-Со своей стороны я давно искал универсальность со стороны программного -обеспечения, не железа. Сегодня с уверенностью могу сказать, что нашёл. . .
-Страница 2 из 9
diff --git a/ru/news/index3.html b/ru/news/index3.html index 650e0ce..8da46bc 100644 --- a/ru/news/index3.html +++ b/ru/news/index3.html @@ -25,6 +25,26 @@
+ 2021-01-28 00:00 +
+
В этой статье Михаил поделится опытом создания доступных долговечных приложений.
+В 2013 году компания Canonical пыталась собрать средства на выпуск смартфона +Ubuntu Edge. Особенностью продукта должна была стать возможность +преобразовывать смартфон в полноценный ПК. Увы, необходимую сумму собрать не +удалось, поэтому мечта создать универсальное устройство так и осталась мечтой.
+Со своей стороны я давно искал универсальность со стороны программного +обеспечения, не железа. Сегодня с уверенностью могу сказать, что нашёл. . .
+- 2018-10-02 00:00 -
-
Мы рады сообщить о выпуске второй демонстрации OGS Mahjong 2. Её целью были улучшение техники разработки и создание надёжной основы кроссплатформенной разработки.
-Выпуск
-Запустите последний выпуск OGS Mahjong 2 в вашем браузере: http://ogstudio.github.io/ogs-mahjong
-Рекомендуем запускать игру с параметром seed следующим образом: http://ogstudio.github.io/ogs-mahjong?seed=0. . .
Страница 3 из 9
diff --git a/ru/news/index4.html b/ru/news/index4.html index e3a5dbf..5e3251a 100644 --- a/ru/news/index4.html +++ b/ru/news/index4.html @@ -25,6 +25,23 @@
+ 2018-10-02 00:00 +
+
Мы рады сообщить о выпуске второй демонстрации OGS Mahjong 2. Её целью были улучшение техники разработки и создание надёжной основы кроссплатформенной разработки.
+Выпуск
+Запустите последний выпуск OGS Mahjong 2 в вашем браузере: http://ogstudio.github.io/ogs-mahjong
+Рекомендуем запускать игру с параметром seed следующим образом: http://ogstudio.github.io/ogs-mahjong?seed=0. . .
- 2017-09-10 00:00 -
-
Эта статья описывает рождение вселенной MJIN в августе 2017.
-mjin-player
-Как вы знаете, в июле мы изучали скриптование. Мы нашли решение, которое удовлетворяет следующим критериям. Скрипты должны:
-Мы проверили второй критерий в рамках тестового приложения. В первый критерий мы просто поверили, т.к. он ДОЛЖЕН быть верен.. . .
-Страница 4 из 9
diff --git a/ru/news/index5.html b/ru/news/index5.html index 7cc7f8d..45492aa 100644 --- a/ru/news/index5.html +++ b/ru/news/index5.html @@ -25,6 +25,27 @@
+ 2017-09-10 00:00 +
+
Эта статья описывает рождение вселенной MJIN в августе 2017.
+mjin-player
+Как вы знаете, в июле мы изучали скриптование. Мы нашли решение, которое удовлетворяет следующим критериям. Скрипты должны:
+Мы проверили второй критерий в рамках тестового приложения. В первый критерий мы просто поверили, т.к. он ДОЛЖЕН быть верен.. . .
+- 2016-12-15 00:00 -
-
Эта статья описывает начало разделения библиотеки MJIN на модули.
-Как только мы собрали OpenSceneGraph для Android, стало очевидно, что часть функционала MJIN не нужна на Android. Например, UIQt - это основа интерфейса Редактора. Раз Редактор - это приложение для ПК, то UIQt не нужен на Android.
-Мы решили рассмотреть два подхода к разделению MJIN на модули: во время сборки (build-time) и исполнения (run-time). -Разделение во время сборки означает гибкую систему настроек MJIN, что позволит собирать её различно под каждую платформу.. . .
-Страница 5 из 9
diff --git a/ru/news/index6.html b/ru/news/index6.html index b309f0d..273464f 100644 --- a/ru/news/index6.html +++ b/ru/news/index6.html @@ -25,6 +25,23 @@
+ 2016-12-15 00:00 +
+
Эта статья описывает начало разделения библиотеки MJIN на модули.
+Как только мы собрали OpenSceneGraph для Android, стало очевидно, что часть функционала MJIN не нужна на Android. Например, UIQt - это основа интерфейса Редактора. Раз Редактор - это приложение для ПК, то UIQt не нужен на Android.
+Мы решили рассмотреть два подхода к разделению MJIN на модули: во время сборки (build-time) и исполнения (run-time). +Разделение во время сборки означает гибкую систему настроек MJIN, что позволит собирать её различно под каждую платформу.. . .
+- 2016-08-18 00:00 -
-Если вы подписаны на нашу группу в Facebook, Twitter или VK, вы заметили, что мы начали использовать её снова. Это не случайно: мы наконец созрели для вербального общения после 4 лет молчаливой разработки.
-Подписывайтесь! -. . .
-Страница 6 из 9
diff --git a/ru/news/index7.html b/ru/news/index7.html index 8e36cfc..f6bd0b4 100644 --- a/ru/news/index7.html +++ b/ru/news/index7.html @@ -25,6 +25,21 @@
+ 2016-08-18 00:00 +
+Если вы подписаны на нашу группу в Facebook, Twitter или VK, вы заметили, что мы начали использовать её снова. Это не случайно: мы наконец созрели для вербального общения после 4 лет молчаливой разработки.
+Подписывайтесь! +. . .
+- 2015-12-26 00:00 -
-Как вы знаете, согласно ранее опубликованной дорожной карте, мы добавили звуковую систему. Тем не менее, мы решили пойти дальше и создать первую версию Проигрывателя. Мы хотели завершить его в декабре, но, к сожалению, изменение планов вылилось в изменение сроков.
-Представляем вам обновлённую дорожную карту на первую половину 2016:
-Страница 7 из 9
diff --git a/ru/news/index8.html b/ru/news/index8.html index 12bd8a0..07e686b 100644 --- a/ru/news/index8.html +++ b/ru/news/index8.html @@ -25,6 +25,24 @@
+ 2015-12-26 00:00 +
+Как вы знаете, согласно ранее опубликованной дорожной карте, мы добавили звуковую систему. Тем не менее, мы решили пойти дальше и создать первую версию Проигрывателя. Мы хотели завершить его в декабре, но, к сожалению, изменение планов вылилось в изменение сроков.
+Представляем вам обновлённую дорожную карту на первую половину 2016:
+- 2015-03-07 00:00 -
-Мы завершили работу над версией 0.4.0 редактора в январе. Как было запланировано, эта версия содержит лишь базовые возможности открыть и сохранить проект. Основная цель была в том, чтобы подружить MJIN, Python и Qt (в частности, по ряду технических причин мы не смогли использовать PyQt или PySide).
-Вы можете увидеть 0.4.0 в действии здесь.
-Мы начали разработку Редактора 0.5.0 в феврале, на текущий момент сделаны 45% работ.. . .
-Страница 8 из 9
diff --git a/ru/news/index9.html b/ru/news/index9.html index 92f860a..8f500bc 100644 --- a/ru/news/index9.html +++ b/ru/news/index9.html @@ -25,6 +25,21 @@
+ 2015-03-07 00:00 +
+Мы завершили работу над версией 0.4.0 редактора в январе. Как было запланировано, эта версия содержит лишь базовые возможности открыть и сохранить проект. Основная цель была в том, чтобы подружить MJIN, Python и Qt (в частности, по ряду технических причин мы не смогли использовать PyQt или PySide).
+Вы можете увидеть 0.4.0 в действии здесь.
+Мы начали разработку Редактора 0.5.0 в феврале, на текущий момент сделаны 45% работ.. . .
++ 2025-06-03 +
+В мае сделал заготовку редактора ПСКОВ 2, которая умеет лишь:
+Функционально в этом сложно увидеть что-либо занимательное. Но +таковое есть: и левое меню, и содержимое управляются компонентом, +в данном случае WelcomeComponent. Будущая функциональность вроде Git +и Markdown тоже будет представлена компонентами.
+Структура компонента ещё не устоялась, но для примерного понимания приведу
+текущий вид конструктора WelcomeComponent:
function WelcomeComponent() {
+ this._construct = function() {
+ this.ctrl = new CLDController(new WelcomeContext());
+ // Dbg.
+ this.ctrl.registerCallback((c) => {
+ console.log(`ИГР WelcomeC._construct ctrl key/value: '${c.recentField}'/'${c.field(c.recentField)}'`);
+ });
+ this.setupHTML();
+ this.setupEffects();
+ this.setupEvents();
+ this.setupShoulds();
+ };
+ - - - -
+
+В июне планирую сделать заготовку компонента Git.
+