Spends ages using sails.js to learn more about JS and scale-able web...

StonedTime
StonedTime

Spends ages using sails.js to learn more about JS and scale-able web applications
finds out Sails-Permissions is borked after using it for a few weeks
switches to custom policies
Tests the requests per second
Results show it's worse the 8ch
Results also show memory leak
I am done with sails, I have been frustrated by it too much.
Anyone suggest a language and perhaps framework for developing web applications?

All urls found in this thread:
https://djangoproject.com
http://sparkjava.com/.
http://seaside.st/
https://sugar-framework.github.io/
http://www.phoenixframework.org/
eGremlin
eGremlin

That depends entirely on quite a number of requirments, what libraries you need, whether there's a legacy codebase, lead time, and experience with other programming languages for starters..

BinaryMan
BinaryMan

@eGremlin
No libraries except access to a database
No legacy codebase
Needs low latency
I know a lot of Java, PHP, JS
A little bit of python, c#, C++

JunkTop
JunkTop

@BinaryMan
Spark (lightweight) or Spring for Java and Express (lightweight) or Sails for Node.
PHP is trickier, in that for low latency you'd want a document cache off the bat, but plenty maintainable if you do it right.

StrangeWizard
StrangeWizard

@JunkTop
I just gave up using sails it's really bad
I might head to PHP or maybe another node.js MVC framework.
Idk java for me feels weird for web

Fuzzy_Logic
Fuzzy_Logic

@JunkTop
I just gave up on sails cause it's shit
I might try a PHP framework or another node MVC framework (I'll always be caching everything)
I don't think I wanna use java, it'll feel weird using it for web dev

whereismyname
whereismyname

@StrangeWizard
Java is fine after all it's what keeps those JVM performance engineers employed at places like Twitter :^)
Just go with Python, PHP, or learn Golang in depth, especially its type system.

Lord_Tryzalot
Lord_Tryzalot

@whereismyname
I think I'll try spark if trails (Sails 2.0 basically) fails

Spamalot
Spamalot

perl

girlDog
girlDog

he fell for the node.js meme

Emberburn
Emberburn

@girlDog
I fell for the "I guess I should make myself more employable"
I'll say one thing, you can make an api in like 5 minutes.

Garbage Can Lid
Garbage Can Lid

WEB SCALE

takes2long
takes2long

Use Haskell/yesod

@whereismyname
What is there to learn about Go's type system except that it exists and that it's shit?

askme
askme

@takes2long
Because it will help you to actually learn how to write idiomatic go.

hasklel
where your awful type system is the whole language
yesod
even php under fpm and flask under uwsgi can shit out json faster dynamically
lel

iluvmen
iluvmen

@StrangeWizard
Idk java for me feels weird for web
Fine dining feels weird after you've been eating out of garbage cans all your life, yes. Now do you want to be able to handle half a million requests per second or not?

Illusionz
Illusionz

Building on top of Sails means your app is written entirely in JavaScript, the language you and your team are already using in the browser.
This has to be code speak for "it's for retards who can barely manage to learn one language".

Supergrass
Supergrass

sails.js
javascript

The hell were you thinking with a language designed for cucks

idontknow
idontknow

@StonedTime
library ending in .js
Found your problem.

Learn a serverside language worth a shit, or PHP. CakePHP isn't bad if you need to have your hand held.

Lord_Tryzalot
Lord_Tryzalot

Try Django, it is a great web development framework in python.
In my experience this think can scale to beastly magnitudes without problems.

https://djangoproject.com

The D is silent.

lostmypassword
lostmypassword

@JunkTop
spring
SPRING
OH GOD WHYYYYYYYYYYYY

i will grant you this much: it's not struts

if you want to use java the lang, try something minimal like http://sparkjava.com/.

lostmypassword
lostmypassword

@lostmypassword
Spark was the first thing I mentioned.

Methnerd
Methnerd

not going full esoteric
http://seaside.st/
https://sugar-framework.github.io/
http://www.phoenixframework.org/

SniperGod
SniperGod

@iluvmen
I guess cause Java is my go to for everything else and PHP has always been my GOTO for web

BunnyJinx
BunnyJinx

@lostmypassword
looks at source code
IHaveSeenTheLight.jpg

Need_TLC
Need_TLC

Why use anything but Werc

Raving_Cute
Raving_Cute

Are you interested in SANICS?

This might be a bit controversial in here, but asp.net is pretty fucking fast. Linux version is not really usable yet though, so there's a very notable risk of bait and switch unless you want to go full retard and use windows servers.

I have personally not made any webshit in java, but that is probably similarly fast.

eGremlin
eGremlin

@StonedTime
Looks like a Leeky Forums project, nice logo.

@Lord_Tryzalot
dubs confirmed, Django is pretty good, and so is Python.

Disable your ad blocker to access the content

Disable your ad blocker to access the content