Last week I’ve published Sciter.Notes 2.0 – pretty much direct port of my Notes application that was using old Sciter.TIS. This time it is implemented with new Sciter and JavaScript. Foreword, what is the Notes? Sciter.Notes is a personal notes and documents manager with the following features: Porting Notes from SciterTIS to Sciter TIS (TIScript)…
Category: Source code
QuickJS + DyBase = JavaScript persistence
module storage unifies QuickJS of Fabrice the Magnificent with DyBase engine of Konstantin the Great. The module provides built-in data persistence – transparent data storage and retrieval using standard JavaScript means. Think about it as of MongoDB built into the language without need of special clients, etc. Finally we can work with objects stored in…
QuickJS for Visual Studio
I’ve ported QuickJS engine by Fabrice Bellard and Charlie Gordon to standard C (without GCC extensions) and Windows. Yet added premake5 to generate MS VS solution. See it on GitHub.
Premake5 and Compilation of Sciter Engine.
Those famous “nightly builds”… Not a secret that compilation/build times are somehow critical for projects of Sciter’s scale. The fact: it takes from 4 to 6 hours to build Chrome/Chromium browser. And note – that is on dedicated build servers / farms, not on your work machine. So devops, as a desperate move, are forced to…
When linear search O(N) is faster than hash table O(1) lookup
Consider quite popular in programming task of string-to-enum value parsing. You have enum declared in your code (C/C++ but can be any modern programming language)
Tokenizer + ::mark() = syntax colorizer
Here is selfie of syntax (tiscript) colorizer – the text below is a full source code of syntax highlighting routine. The code has colorized itself: Can your browser do that in 40 lines of code? And here are styles that define style of tokens: plaintext > text::mark(number) { color: brown; } plaintext > text::mark(number-unit) {…
Sciter, D language SDK port
Please welcome D language port of Sciter SDK by Mr. Ramon F. Mendes. As a demonstration Mr. Ramon kindly shared his OctoDeskdex Sciter application written in D: Octo Deskdex is basically a Sciter based desktop app that shows up Github mascots from the Octodex site.
Sciter, Delphi wrapper
Mr. Baranov D.A. have published his Delphi wrapper for Sciter at GitHub.
Repeatable: simple jQuery plugin for rendering lists, tables, etc.
While ago I’ve published simple and compact (90 lines of code) plugin for rendering, well, repeatables. Here is its documentation and here is live demo. The Repeatable is a mechanism of DOM population from array of objects. Repeatable template is defined directly in markup: <ul id=”people”> <li><a href=”mailto:{{this.email}}”>{{this.name}}</a> <b if=”this.age > 18″>18+</b> </li> <li>No data…
Model-View-Whatever, the Plus engine for Sciter.
Preface I would say that human history is a history of reinventing "wheels" of various kinds. This time we see concept of data binding reincarnated with slightly pathetic name Model-View-Controller. Of course, as many people as many meaning they give to the MVC abbreviation but, nevertheless, it is all around basic idea of data binding…