r/javascript • u/piyasde2014 • Feb 27 '14
total.js - a node.js web framework and its benefits...
http://www.totaljs.com/benefits/15
u/noiamstefan Feb 27 '14
no dependencies
Uhh
6
Feb 27 '14
This is probably the single-most claimed "benefit" of every JavaScript package I've seen. It's become my own personal in-joke.
1
2
Feb 27 '14
For it's compression it uses node-formidable (internal.js) https://github.com/felixge/node-formidable
6
7
u/Kerry350 Feb 27 '14
Wow, so much hostility in here.
The author's written something in their own time. Released it for free. If you don't like it, you could just give some constructive criticism rather than being jerks.
No wonder people think we developers are self-righteous arseholes.
1
Feb 27 '14
It's been 'released' on here multiple times and rebranded even more. The dev essentially cobbled together multiple libraries and removed the dependencies to make it 'dependency less'.
2
u/brtt3000 Feb 28 '14
merged the dependencies
Last time this thread came around it turned out author did just imported the dependencies in a few huge files.
0
u/Kerry350 Feb 28 '14
Regarding the two comments saying this is just a re-hash and a spam post and that the developer has cobbled together other libraries, well, why not say that?
Why not comment saying something productive, tell others that this is a bad framework in a constructive way - something that's actually in some way related to the codebase. Because people posting:
"lol @ multiple 9000 line files this is horseshit"
"But it's fresh, steaming horseshit! That means it must be good!"
"This guy who works on this a complete joke."
is entirely inappropriate for a subreddit that is supposed to be about JavaScript, and not promote a hostile environment.
I never said this framework was good (I've never used it - I have no opinion) but calling the guy a "complete joke" is just rude. Again I don't know the author, but what if this was the first thing they've released? Their first shot at an open-source project. Rather than someone explaining to them that "zero dependencies" doesn't work the way he thinks, instead he gets his code called horseshit.
3
u/ellisgl Feb 27 '14
Too much magic.
3
u/blazedd Feb 27 '14
I can't help but feel this way about a lot of the node web frameworks. I was searching for one to play with on my new personal project. I've made a few templates out of express myself but everything else has a lot of neat features and a ton of "you don't even have to touch code" magic.
If I'm a programmer I like to write code, not rely on magic. If I want magic I'll make my own magic that I can control. Almost every time I've ever relied on someone else's magic it usually means I have to do something weird to make what I wanted to happen actually happen.
3
Feb 27 '14
rails syndrome, trying to provide everything at once.
Its kinda weird though, developers using js on the backend seem to eschew the use of all in one packages, while the various front end js communities are frothing at the mouth for them.
4
u/reversememe Feb 27 '14
There are two kinds of programmers in the world.
Type 1 is the kind whom, when shown a new piece of kit, will go look at the source code. When they read docs, they want to see architecture, assumptions, structure, etc. These are the people who are most common in Node land, because Node is still in early adopter mode and every other package is at version 0.3 or something.
Type 2 is the kind whom, when shown a new piece of kit, will ask: "But how will this save me time?" They never look inside, and they'll complain documentation sucks unless it includes a step-by-step tutorial titled "How to solve <your specific problem> with <new thing>" These are the people who love all-in-one frameworks, because they don't care about the science of coding, they care about getting the end result as quickly and cheaply as possible.
2
u/ellisgl Feb 27 '14
There's one framework I like that's called Katana (https://github.com/Shogun147/Katana). Currently the docs are being re-written, so I've been dabbling with others the past 2 days, including Total.js and I'm currently playing with Express.
As for liking to code, I do too. I like to know how it's working and know it's not buried under a ton of abstractions which can cause problems later on down the road, hence why I don't like ORMs too.
3
2
-5
18
u/[deleted] Feb 27 '14 edited Feb 27 '14
Can we please just fucking stop. I'm going to make an omnipotent.js framework, where it chooses every framework in existence there by preventing you from ever having to worry about dependencies or not being trendy enough.