Questions tagged [total.js]

total.js is a Web application framework for node.js

Total.js Platform


About

Total.js framework was written in 2013 from scratch. The main idea of the framework is to be complex, stable and without dependencies. Total.js Platform is a collection of libraries, packages and complete products in the most cases written in Total.js framework.


Links

The framework feature list

  • Amazing server-side and client-side solution with no dependencies
  • Low CPU and memory requirements, e.g. works on ARM architecture
  • Built-in small NoSQL embedded database with great analytics tools and incredible performance
  • Supports WebSocket and Server-Sent events
  • Supports auto-compression for all .js, .html and .css
  • CSS supports auto-vendor-prefixes, variables and nested selectors
  • Full web server with serving of static files and with GZIP compression
  • Supports SMTP mail sender
  • Supports great View Engine (conditions, loops, localization, etc.)
  • Supports localization
  • Supports media streaming
  • Supports workers for heavy CPU operations
  • Supports themes
  • Built-in a lot of helpers for String, Number, Array and Date types
73 questions
52
votes
7 answers

Sharing & modifying a variable between multiple files node.js

main.js var count = 1; // psuedocode // if (words typed begins with @add) require('./add.js'); // if (words typed begins with @remove) require('./remove.js'); // if (words typed begins with @total) require('./total.js'); module.exports.count =…
thtsigma
  • 4,878
  • 2
  • 28
  • 29
14
votes
5 answers

Node.js websocket error "Error: listen EADDRNOTAVAIL Error: listen EADDRNOTAVAIL"

Application work fine on localhost .but when its connect to server it getting error. I connect server through port 22 This is the error Error: listen EADDRNOTAVAIL Error: listen EADDRNOTAVAIL at errnoException (net.js:904:11) at Server._listen2…
hash
  • 5,336
  • 7
  • 36
  • 59
13
votes
3 answers

Integrating Angular.js with Node.js (Express+Tower.js)

I am new to node. I very much like approach of AngularJS. I like what I see in towerjs. Has Anyone wired the two together? I have in mind tower primarily for backend api/rest and angular for clientside.
Larry Eitel
  • 1,397
  • 5
  • 19
  • 37
5
votes
3 answers

Using AngularJS with innerHTML

I have some AngularJS stuff that holds a bunch of arrays and data. Once a user uploads a file, the file gets parsed up and saved into the scope with its different arrays. However, after all of this and the file is held in the scope, I try to update…
user2465164
  • 917
  • 4
  • 15
  • 29
4
votes
0 answers

JWT verification error: JsonWebTokenError: invalid algorithm

i am trying to implement a single sign on for my web application. I am using gravitee.io for the access managment and token generation. I followed the steps in gravitees quickstart tutorial and i am now at the point that i want to verify my…
JustAMicrobe
  • 427
  • 6
  • 15
4
votes
0 answers

leveldb open error: IO error lock ./db/LOCK: already held by process

I'm a beginner creating a leveldb and dont really know whats going on here. My db.js file has an initalizaing problem thats causing a lock error. I think I only have one process but its telling me i'm doing something multiprocess which i dont…
Noah Yona
  • 41
  • 2
3
votes
1 answer

Total.js save data to database

js framework. I'm trying to save data to DB from post request model(article.js): NEWSCHEMA('Article').make(function(schema) { schema.define('title', 'String', true); // title of article schema.define('about', 'String', true); //…
2
votes
1 answer

totaljs websocket module vs socket.io

I'm using total.js to create a website and I'm quiet a newbie using it, this might be a newbie question as well, does total.js wbesocket module works the same as socket.io? Does it have a fallback mechanism such as socket.io? if not is it possible…
arash moeen
  • 4,533
  • 9
  • 40
  • 85
1
vote
1 answer

JComponent global method GET doesn't work in Total.js Flow components

I have a problem in Total.js Flow using inside a component the client-side method GET to retrieve value of JComponent ( in my case textbox or input ). I have tried from Componentator and actually works, but inside my Total.js Flow ( version 6, but…
1
vote
1 answer

Refresh flow without rebooting node server

I'm working with Total.js Flow. I would like to know if is possible to refresh my flow if I edit designer.json without rebooting my node server.
1
vote
1 answer

total.js application scaling capabilities

From the high level standpoint In the case if I would like to optimize totaljs application. Is there a possibility I can use a proxy server to load balance requests across multiple instances of totaljs on different ports each on its own thread or…
Vasyl Nekohda
  • 171
  • 1
  • 1
  • 7
1
vote
1 answer

Change CSS and HTML in Total JS Flow

I'm working with Total js Flow. I can't in any way modify the CSS and the tags in HTML files as the library every time the app is runnning regenerates the folder 'tmp' that contains all the files served on browser, not allowing the change if not…
1
vote
0 answers

TypeError: a.DataTable is not a function; coming from angular-datatables.min.js

I am trying to add angular-datatables for tables in my website; The website is made with total.js Datatable is not working and this error is coming: angular.js:14642 TypeError: a.DataTable is not a function at Object.f [as renderDataTable]…
Rahul Saini
  • 216
  • 1
  • 16
1
vote
1 answer

Loosing data with nodejs + totaljs + heroku

I have a problem with a recent deployment as I am loosing data. I made demo users with login information and it worked for a few hours late in the night. When I woke up this morning, most of the users are missing and the posts I made as the admin…
VRninja
  • 43
  • 4
1
vote
2 answers

Total.js CMS export all complete pages to folder

I'm using Total.js CMS for my blog, but I want to export the complete HTML files from the database I tried this code to export it NOSQL('pages').find().callback(function(err, response) { response.forEach(function(page) { …
1
2 3 4 5