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
0
votes
1 answer

load node.js nosql database, display sample data from it on total.js site

I am not very clear on how to use node.js nosql with total.js (both are node.js modules). How do I set up the backend database? How do I programmatically create data from a custom/unessential js script, like a table that would serve for user…
roberto tomás
  • 4,435
  • 5
  • 42
  • 71
0
votes
1 answer

POST request in Angularjs

I'm new to Totaljs. I wrote a code which try to create user with PUT request with angular factory: app.factory('User', function($resource) { return $resource('/register', null, { register: { method: 'post' } }); }); In my angular…
Aryan
  • 2,675
  • 5
  • 24
  • 33
0
votes
1 answer

How to pass data to Mongodb using Node.js, websocket and total.js

I am trying to pass data to Mongodb using Websocket and total.js. In my homepage.html I can get the user input and connect to the server via websocket after clicking the save button. In default.js is my server side code. At this point the app hat…
hash
  • 5,336
  • 7
  • 36
  • 59
0
votes
2 answers

Get Json into a web angular page

I'm using Total.js framework for my project. I'm following this example https://github.com/totaljs/examples/tree/master/angularjs-mongodb-rest-resources What I'd like to do is to take a json list and print out in angularjs web page. I get correctly…
Mazzy
  • 13,354
  • 43
  • 126
  • 207
0
votes
2 answers

D3.js with Total.js/node.js

I have been trying to use total.js with D3 to create a tree visualization. I am unable to download D3. I do : npm install D3 I get: npm ERR! contextify@0.1.8 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the…
0
votes
1 answer

Passing global Javascript variables through callback functions to other JS files

So I have an interesting problem. I declare a global variable before referencing other Javascript files, but the variable does not seem to carry through. Maybe I am missing a step somewhere? The variable is a string that is the contents of an…
user2465164
  • 917
  • 4
  • 15
  • 29
-1
votes
1 answer

Total.js Messenger, HTML Variables "@{...}"

When I was looking the Total.js messenger sourcecode, I noticed the "@{...}" placeholder in the HTML markup. https://github.com/totaljs/messenger/blob/master/views/index.html What kind of placeholders are those? I would be thankfoul for some hints.
l.aas
  • 1
  • 6
-1
votes
1 answer

In total.js what is the best way to define global constants that i can use in scripts and templates?

For example if i would like to define text messages in multiple languages: const AVAILABLE_LANGUAGES = ["en", "fr"]; const CONFIRM_BUTTON_TEXT = { "en": "Confirm", "fr": "Confirm in french"}; Then somewhere in a component template be able to use…
Garen
  • 30
  • 3
-1
votes
1 answer

Is there any way to host total-flow application in Internet Information Services in windows?

Is there any way to host total-flow application in Internet Information Services in windows?
innstyle
  • 1
  • 1
-1
votes
1 answer

Why my node returns me a websocket error?

I'm putting my application on an IIS HTTP server, but I get an error: WebSocket connection to 'wss://xxxx.xxxx.xx:xxxxx/?designer=1&token=&baa=' failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET. What could cause it?
-1
votes
1 answer

Show error and success messages in views total.js?

I want to send flash messages to views in total.js and i see an alternative approach with use of query string and check that flag for know what to show in view: in controller: this.redirect('/?success=1'); and in related view: @{if query.success} …
Pourya8366
  • 3,424
  • 4
  • 21
  • 28
-3
votes
1 answer

can't open src file in html because path doesn't exist

I have a html file in a folder called views, and i run my project using node. node index.js which makes a server using total.js. The server starts running on http://127.0.0.1:8000/ . This all works fine, except when I try to include a script in the…
user2321611
  • 1,049
  • 1
  • 7
  • 17
-4
votes
1 answer

Noflo vs node-red vs totaljs

What's the major difference between all three and what makes noflo stand out over the rest? I couldn't find anyone who made a comparison between them
Hien Quoc
  • 21
  • 1
  • 1
1 2 3 4
5