2C написаний з нуля: він відкриває ті самі інформаційні бази, виконує ту саму вбудовану мову і запускає справжні типові конфігурації.
2C is written from scratch: it opens the same infobases, runs the same built-in language and starts real typical configurations.
codecСпільні перетворення даних для всіх частин: хеші й контрольні суми, base64, hex, стиснення DEFLATE — один раз і для всіх форматів платформи.
The data conversions every part shares: hashes and checksums, base64, hex, DEFLATE compression — once, for all the platform's formats.
onecdФайлова інформаційна база (1Cv8.1CD) і база на MS SQL Server у розкладці платформи, зберігання конфігурації, .cf і розширення .cfe, вивантаження .dt, XML-вивантаження, журнал реєстрації, тестування і виправлення бази.
The file infobase (1Cv8.1CD) and a database on MS SQL Server in the platform's layout, configuration storage, .cf and .cfe extensions, .dt dumps, the XML dump, the event log, the infobase's test and repair.
bslВбудована мова: парсер, компілятор з перевірками як у платформи, інтерпретатор, глобальний контекст, потоки, JSON і XML.
The built-in language: parser, compiler with the platform's checks, interpreter, global context, streams, JSON and XML.
runtimeОб'єкти даних, запити, регістри, проведення документів, система компоновки даних, табличні документи, діаграми, сеанс і старт прикладного рішення — над одним шаром зберігання для файлової бази й СУБД.
Data objects, queries, registers, document posting, the data composition system, spreadsheet documents, charts, the session and application start-up — over one storage layer for a file base and a DBMS.
clientЯдро клієнта без графічного інтерфейсу: модель керованих форм, виконання клієнтського коду, сеанс, файловий і серверний «сервер» за одним інтерфейсом — один клієнт для файлової та серверної бази; журнал дій користувача й «Повідомити про проблему».
The client core without a GUI: the managed form model, client code execution, the session, the file and the cluster server behind one interface — one client for file and server infobases; the user action log and "Report a problem".
guiСпільні віджети інтерфейсу для клієнта, Конфігуратора й консолі: вигляд «Таксі», стандартні елементи, табличний документ.
The interface widgets shared by the client, the Designer and the console: the Taxi look, the standard elements, the spreadsheet document.
launcherСтартове вікно: список інформаційних баз із групами, недавніми й пошуком, майстри додавання й зміни бази, створення бази з шаблону або на кластері серверів, спільні списки .v8i, налаштування запуску.
The start window: the list of infobases with groups, recent ones and search, the add and edit wizards, a new infobase from a template or on a server cluster, shared .v8i lists, start settings.
designerКонфігуратор: дерево метаданих, редактори форм, макетів, модулів і СКД, конструктори запиту й форм, розширення, користувачі, сховище конфігурації, адміністрування бази, вивантаження й завантаження.
The Designer: the metadata tree, form, template, module and DCS editors, the query and form wizards, extensions, users, the configuration repository, infobase administration, dump and load.
consoleКонсоль адміністрування серверів: кластери, робочі сервери й процеси, інформаційні бази, сеанси, з'єднання, блокування і властивості — як у консолі платформи.
The server administration console: clusters, working servers and processes, infobases, sessions, connections, locks and properties — as in the platform's console.
appПрограма для користувача 2c: вхід, головне вікно і малювання форм тонкого клієнта, вікна Конфігуратора й консолі.
The user-facing program 2c: the login, the main window and drawing of the thin client's forms, the Designer's and the console's windows.
srvprotoПротокол кластера 1С з обох боків: клієнт (вхід, сеанси, перепідключення, стиснення, серверні виклики, Конфігуратор серверної бази), сторона сервера, що приймає підключення, і протокол адміністрування, як у rac.
The 1C cluster protocol from both sides: the client (login, sessions, reconnection, compression, server calls, the Designer of a server infobase), the server's listening side, and the administration protocol, as rac speaks it.
serverВласний сервер 2C для клієнтів 2C: агент, реєстр і робочий процес, потік на сеанс, вхід за паролем або обліковим записом Windows, бази на MS SQL Server.
2C's own server for 2C's clients: agent, registry and working process, a thread per session, login by password or Windows account, infobases on MS SQL Server.
Робота поділена на три етапи, у кожному — пронумеровані цілі. Номери цілей (M1.3, M1.4 …) стоять і на новинах нижче.
The work is split into three milestones, each with numbered goals. The goal numbers (M1.3, M1.4 …) are also the tags of the news below.
Тонкий клієнт, файлова база, серверна база кластера 1С через той самий клієнт, повністю робочий інтерфейс, як в 1С, і основні функції Конфігуратора.
The thin client, file infobases, server infobases of a 1C cluster through the same client, the full user interface as in 1C, and the Designer's main functions.
Нова файлова база, редагування конфігурації та клієнт з інтерфейсом.
A new file infobase, configuration editing and a client with a UI.
Завантажувач, модель метаданих, мова з даними й запитами, форми, команди, ролі, звіти, друковані форми — перевірено на тестовому корпусі.
Loader, metadata model, the language with data and queries, forms, commands, roles, reports, print layouts — checked on the test corpus.
961 загальний модуль, 267 довідників, 235 документів, 552 регістри. Завантажити з .cf / XML / .dt, вивантажити назад і запустити.
961 common modules, 267 catalogs, 235 documents, 552 registers. Load it from .cf / XML / .dt, unload it back and run it.
.cf туди й назад байт-у-байт.cf round trip, byte-exact.dt.dt format.dt.dt restore2C підключається до кластера серверів 1С як тонкий клієнт; файлова й серверна база виглядають і працюють однаково.
2C connects to a 1C server cluster as a thin client; file and server infobases look and work the same.
Дерево метаданих і властивості, редактор форм, модулі, оновлення конфігурації бази даних (F7) для файлової й серверної бази, .cf / .dt / XML, користувачі й ролі.
Metadata tree and properties, the form editor, modules, updating the database configuration (F7) on file and server infobases, .cf / .dt / XML, users and roles.
Розширення, з якими працює BAS, і файли .epf / .erf.
The extensions BAS works with, and .epf / .erf files.
Розпочато роботу над сервером 2C для тонкого клієнта платформи. Першою цільовою СУБД є MS SQL Server.
Work has begun on a 2C server for the platform’s thin client. The first target DBMS is MS SQL Server.
Розпочато роботу над консоллю для керування кластерами, інформаційними базами та сеансами. Першою ціллю є кластер платформи.
Work has begun on a console for managing clusters, infobases and sessions, starting with the platform’s cluster.
Еталонну конфігурацію ще не обрано (ймовірно, стара УПП і ЗУП).
The reference configuration is not chosen yet (likely an old УПП and ЗУП).
Усе, що вміє Конфігуратор платформи.
Everything the platform's Designer does.
Той самий клієнт 2C, зібраний для браузера.
The same 2C client, built for the browser.
Сумісний зі сховищем платформи, з вивантаженням історії в Git.
Compatible with the platform's repository, with history export to Git.
Уся функціональність на Linux.
Everything on Linux.
Уся функціональність на macOS.
Everything on macOS.
Мовний сервер BSL (LSP) і налагоджувач (DAP) на основі 2C; розширення для VS Code, яке працює і в інших редакторах.
A BSL language server (LSP) and debugger (DAP) built on 2C; a VS Code extension, and the same in other editors.
.cf, а також запуск клієнта із записом журналу дій користувача у форматі платформи (171 з 171 дії збігаються).rac..cf, and starting the client with the user action log recorded in the platform's format (171 of 171 actions equal).rac's..dt / .cf через тимчасовий файл); вивантаження .dt серверної бази не зупиняє вікно (0,9 с → 80 мс)..dt / .cf saved through a temporary file); a server base's .dt dump no longer holds up the window (0.9 s → 80 ms).tcp://. Запит 2C, що валив робочий процес сервера на контактній інформації BSP, виправлено; 23 сценарії BAS, 335 екранів — без жодної події сервера.tcp:// repository server. A 2C request that crashed the server's worker process on BSP's contact information is fixed; 23 BAS scenarios, 335 screens — not one server event..cf і .cfu, об'єднання об'єктів, змінених і постачальником, і користувачем, по властивостях і формах — так само, як у платформи; сховище конфігурації — захоплення, поміщення, історія, порівняння, звіт і адміністрування; платформа працює зі сховищем 2C, а 2C — зі сховищем платформи..cf and .cfu distribution files, objects changed by both the vendor and the user merged property by property and form by form — as the platform does; the configuration repository — capture, commit, history, compare, report and administration; the platform works with 2C's repository and 2C with the platform's.Элементы.X.<властивість>) поводяться однаково на клієнті й на сервері; кожен випадок звірено з сервером і тонким клієнтом платформи — перетворення типів, помилки видалених елементів і полів лише для читання, кнопка за замовчуванням, контекстні меню й підказки.Items.X.<property>) behave the same on the client and on the server; each case checked against the platform's server and thin client — type conversions, errors of deleted items and read-only properties, the default button, context menus and tooltips.launcher: групи й дерево баз, недавні, пошук, шаблони .dt / .cf, спільні списки .v8i, налаштування запуску. Нова база створюється й на кластері серверів разом із базою даних MS SQL. Вікно входу — одне для файлової й серверної бази, в тому ж стилі..epf платформи відкриваються — 22 на файловій базі, 26 через кластер; панель адміністрування БСП на наборі констант.launcher: groups and a tree of infobases, recent ones, search, .dt / .cf templates, shared .v8i lists, start settings. A new infobase is also created on a server cluster together with its MS SQL database. The login dialog is one for file and server infobases, in the same look..epfs open — 22 on a file infobase, 26 through the cluster; BSP's administration panel over a constants set..epf / .erf, зовнішні обробки й звіти відкриваються на файловій базі, а Конфігуратор 2C їх створює, відкриває, редагує і зберігає. Платформа читає файли 2C так само, як свої..epf / .erf file format, external data processors and reports open on a file infobase, and 2C's Designer creates, opens, edits and saves them. The platform reads 2C's files as its own.2c --scenario проходить ті самі кроки користувача (відкрити, ввести, вибрати, записати, провести) на файловій і серверній копії бази й порівнює кожен крок. Прибутковий касовий ордер BAS від нової організації й контрагента: розбіжностей 29 → 6 рядків.ПриКомпоновкеРезультата, функції загальних модулів у виразах компоновки.2c --scenario runs the same user steps (open, type, choose, write, post) on a file and a server copy of the base and compares each step. A BAS cash receipt from a new organization and counterparty: 29 → 6 differing lines.OnComposeResult, common module functions in composition expressions.srvproto): вхід за паролем або користувачем ОС, сеанси з перепідключенням, списки, форми, документи, проведення, друк і звіти — серверний код виконує сервер 1С.&НаСервері, &НаСервереБезКонтекста, &НаКлиентеНаСервереБезКонтекста вирішують, де виконується код: на сервері 1С або, для файлової бази, на цьому ж комп’ютері.srvproto): login with a password or as the OS user, sessions with reconnection, lists, forms, documents, posting, print and reports — server code runs on the 1C server.&AtServer, &AtServerNoContext, &AtClientAtServerNoContext decide where code runs: on the 1C server or, for a file infobase, on this computer.СхемаЗапроса): об'єктна модель із текстом запиту у форматі платформи, з'єднання, параметри віртуальних таблиць, частини СКД і підсумки; 151 перевірка збігається з платформою.QuerySchema): an object model with the platform's query text format, joins, virtual table parameters, data composition parts and totals; 151 checks agree with the platform.WriteXML / ReadXML) збігається з платформою.УПОРЯДОЧИТЬ ПО ИЕРАРХИИ, вкладені Выгрузить(ПоГруппировкам), типізовані порожні посилання.Ext/Form.xml) 1 026 з 2 442 байт-у-байт.ЧислоПрописью, ПредставлениеПериода, порядок Соответствие — як на платформі; усі файли порівняння з платформою збігаються.WriteXML / ReadXML) matches the platform.ORDER BY HIERARCHY, nested Unload(ByGroups), typed empty references.Ext/Form.xml) 1 026 of 2 442 byte-equal.NumberInWords, PeriodPresentation, Map order match the platform; every platform comparison case file agrees.ПередНачаломРаботыСистемы / ПриНачалеРаботыСистемы) у 2C доходить до кінця без помилок за 2,4 с; клієнт показує головне вікно з розділами.PARAMS/*.si) для всіх видів об'єктів: база BAS, зібрана 2C лише з .cf, працює на сервері платформи — сеанс, запити, запис, XDTO..dt, дерево метаданих у порядку платформи з усіма видами.PARAMS/*.si) for every object kind: a BAS base built by 2C from the .cf alone runs on the platform's server — session, queries, writes, XDTO..dt, the metadata tree in the platform's order with every kind..cf, .dt і всі 5 420 модулів BAS.cf, .dt and all 5 420 BAS modules.cf туди й назад байт-у-байт, як у ibcmd config save..dt розібрано; відновлення бази BAS з .dt за 4,3 с з тими самими рядками, що й у платформи..cf round trip byte-exact, the same as ibcmd config save..dt format decoded; BAS restores from .dt in 4.3 s with the same rows as the platform's restore.