$ npm install total.js
or download empty-projectThis version brings great new features which makes Total.js framework one of the best and fastest Node.js frameworks in the world. I have performed many performance updates and improvements. Here are the best features in this version:
I have rewritten packages algorithm from scratch. New algorithm supports streaming data while reading/writing. In other words you can now store files larger than 10 MB
(I have tested 100 MB files). New algorithm reduces CPU and memory consuption during the packing/unpacking of packages.
I can say this database is the best and fastest Node.js embedded database written in pure JavaScript. I have improved a performance around 60% (and reduced CPU and memory consumption) while reading and updating/removing in most cases.
Test:
600 000
documentsIMPORTANT: database performs multiple reads/updates together when needed.
This is one of the coolest features. New NoSQL counter can count min
, max
and sum
values by days/months/years. You can read easily stats for some period or just read a minimal or maximal values by specific identificator. This version has improved performace a lot.
Big feature of this version is backing up of NoSQL embedded databases with all data. The database uses same packaged algorithm like Total.js package system for backing up/restoring. Now you can create a backup with all text and binary files.
Backup:
Restore:
As I said, one of the best NoSQL embedded databases written in pure JavaScript. New update brings a readonly mode for databases stored on another servers. NoSQL Counter works too.
Try:
Are you kidding me? Not really, it works like a charm.
This feature can write a log into the file. It's a great solution for logging when data are manipulated.
DatabaseBuilder.log(message, [username])
This feature can create a quick backup for documents which are updated, modified or removed.
DatabaseBuilder.backup([username])
update()
, modify()
and remove()
methodNice to know that this method can create directories according to the path:
mail-smtp
and mail-smtp-options
Mail.send(smtp, [options], messages, [callback]);
I have improved controller.view()
and F.view()
method by adding a support for views on another servers.
How it works:
Partial views in an action:
@{view('https://....'})
This new command can create a cleaner HTML code,
I have improved F.cache
by adding a new method F.cache.set2()
which creates a persistent cache. All persistent items are stored in a file and if the framework is restarted the items are loaded back to F.cache
.
This is very important part of the new version.
mailmessage.callback()
sometimes wasn't calledmail-smtp-options
user+password can be blank
now even if auth is enabledMy plan is to update all Total.js products by adding new features from the new Total.js version with new version of jComponent and its UI components.
Give Total.js platform a try, the invested time will be worth it. Start your business or technology stack with Total.js platform now! Get started.
Thank you all premium members and sponsors. Your money was used to make all these updates/improvements and much more possible. Thank you again for supporting me so I can do what I love the most. My idea for the near future is to improve documentation, make some more tutorials, courses and maybe a first book.