|
use go instead
|
# ? Dec 2, 2014 06:40 |
|
|
# ? May 10, 2024 17:03 |
|
nobody ever actually shares code between client and server because the things they do are way different, and if your client-side uses significant js i hate you anyway
|
# ? Dec 2, 2014 06:41 |
|
Series DD Funding posted:use go instead epic thissery
|
# ? Dec 2, 2014 06:41 |
|
should i use net/http, or should i write my web server code using a language designed for children adding popups to their geocities pages. tough choice
|
# ? Dec 2, 2014 06:43 |
|
PleasureKevin posted:for some reason i like the idea of node. it just exudes light-wieghtiness and single-language efficiency. then again, node is fine until: 1) it becomes an unmaintainable tangle of closures or 2) the whole server hangs because one job hangs and javascript a single threaded lmbo
|
# ? Dec 2, 2014 06:50 |
|
like if u just got a lil webservice and you wanna stand it up fast and not make a big deal about it node is great just don't do like a big thing out of it
|
# ? Dec 2, 2014 06:51 |
|
Series DD Funding posted:nobody ever actually shares code between client and server because the things they do are way different, and if your client-side uses significant js i hate you anyway I found trying to share code weird and awkward and more confusing than having a clean separation
|
# ? Dec 2, 2014 06:52 |
|
Great other than all the other superior options, most notably .net
|
# ? Dec 2, 2014 06:53 |
|
well those are my nodepinions I hope they helped
|
# ? Dec 2, 2014 06:53 |
|
rotor posted:like if u just got a lil webservice and you wanna stand it up fast and not make a big deal about it node is great same can be said for php
|
# ? Dec 2, 2014 06:56 |
|
or bash
|
# ? Dec 2, 2014 06:57 |
|
hey shaggar what's the closest thing in the java ecosystem to webapi? thx and have a blessed day
|
# ? Dec 2, 2014 07:22 |
|
Series DD Funding posted:go outside instead
|
# ? Dec 2, 2014 07:42 |
|
node is a joke and if you use it then so are you
|
# ? Dec 2, 2014 07:56 |
|
yeah node is a pos use go
|
# ? Dec 2, 2014 07:57 |
|
but node makes it easy for frontend devs to write servers. the only thing preventing them from writing good servers before was it's too hard to learn a non javascript language
|
# ? Dec 2, 2014 08:01 |
|
my bbs in 1995 used to have nodes. well, a node.
|
# ? Dec 2, 2014 08:34 |
|
hobbesmaster posted:same can be said for php seriously. combined with the lack of server janitoring involved with getting a php script up and running you should definitely favor php over node.
|
# ? Dec 2, 2014 08:55 |
|
php isn't really a programming language so much as a bunch of functions you can call, but probably should not
|
# ? Dec 2, 2014 09:00 |
|
node is fine lol load up 15 instances and do some routing also use harmony
|
# ? Dec 2, 2014 10:04 |
|
MeruFM posted:node is fine lol do you see any advantage in using node over php?
|
# ? Dec 2, 2014 10:16 |
|
Bloody posted:lol if you arent paid weekly we get paid monthly, but two weeks in advance and two weeks in arrears. seems odd but it's pretty standard for AU
|
# ? Dec 2, 2014 14:13 |
|
JewKiller 3000 posted:php isn't really a programming language so much as a bunch of functions you can call, but probably should not welcome to php circa some year before php maintainers thought oop is cool, lets do more of that + js has closures lets do that too what im trying to say is theres a push to make php an actualy useful language for a few years now and is definitely not as bad as it was and getting betterer karms fucked around with this message at 14:21 on Dec 2, 2014 |
# ? Dec 2, 2014 14:19 |
|
~Coxy posted:we get paid monthly, but two weeks in advance and two weeks in arrears. 2 weeks in her rears
|
# ? Dec 2, 2014 15:04 |
|
actually, Flask
|
# ? Dec 2, 2014 15:05 |
|
PleasureKevin posted:for some reason i like the idea of node. it just exudes light-wieghtiness and single-language efficiency. then again, don't use anything from google. use asp.net mvc + webapi.
|
# ? Dec 2, 2014 15:32 |
|
lol @ people suggesting node or go unironically
|
# ? Dec 2, 2014 15:33 |
|
flask has been super good for the little baby stuff i'm working on but it seems too easy to be useful at any kind of scale
|
# ? Dec 2, 2014 15:35 |
|
Dr Monkeysee posted:hey shaggar what's the closest thing in the java ecosystem to webapi? cxf e: http://cxf.apache.org/docs/jax-rs-basics.html also, use org.apache.cxf.archetype:cxf-jaxrs-service as the archetype for your project Shaggar fucked around with this message at 15:50 on Dec 2, 2014 |
# ? Dec 2, 2014 15:35 |
|
Dr Monkeysee posted:hey shaggar what's the closest thing in the java ecosystem to webapi? use jersey its way less work than cxf or axis I took another look at nhibernate and it looks like it can be strong armed into supporting mapping a and custom queries so I guess I'll give that a go I don't mean to be all "my hand crafted artisanal sql queries" but drat it I need full control over my schema and that's what all this orm bullshit takes away from you
|
# ? Dec 2, 2014 16:08 |
|
Corla Plankun posted:flask has been super good for the little baby stuff i'm working on but it seems too easy to be useful at any kind of scale "scale" mate it's a http routing shim wrapped around werkzeug
|
# ? Dec 2, 2014 16:09 |
|
HORATIO HORNBLOWER posted:use jersey its way less work than cxf or axis jersey and cxf are both jax-rs implementations so your service code would be identical, but I find cxfs use of spring makes it easier to deal w/ the server config.
|
# ? Dec 2, 2014 16:12 |
|
rotor posted:node is fine until: it only takes about a day for a project to hit one of these
|
# ? Dec 2, 2014 16:20 |
|
PleasureKevin posted:for some reason i like the idea of node. it just exudes light-wieghtiness and single-language efficiency. then again, don't forget ibm ported it to the mainframe https://www.ibm.com/developerworks/community/blogs/mobileblog/entry/ultimate-javascript-environment
|
# ? Dec 2, 2014 16:22 |
|
good news: terrible program did not crash in the night
|
# ? Dec 2, 2014 17:19 |
|
bad news: database browser for sqlite is a not very good program that just induced a failure
|
# ? Dec 2, 2014 17:21 |
|
pram posted:yeah node is a pos use go yeah but then I'd have to learn go. hobbesmaster posted:same can be said for php yeah but then i'd have to learn php. Notorious b.s.d. posted:it only takes about a day for a project to hit one of these no argument there. Series DD Funding posted:or bash eh, node is not as bad as bash. there, I said it. tef posted:"scale" mate it's a http routing shim wrapped around werkzeug I used werkzeug for some toy stuff and it seemed fine but ugh python
|
# ? Dec 2, 2014 17:25 |
|
rotor posted:yeah but then I'd have to learn go. beyond all the oh no it's javascript, it does at least have closures, lexical scoping, and named imports that don't pervert the global scope. bash is awful, php is not very good for things that involve websockets or http mangling, and go, eh, tbh for something that'll never hit massive load or performance it's probably not worth the upfront effort of writing unless the rest of your team already knows it. quote:I used werkzeug for some toy stuff and it seemed fine but ugh python what's your python hate? i have some python hating
|
# ? Dec 2, 2014 17:30 |
|
tef posted:beyond all the oh no it's javascript, it does at least have closures, lexical scoping, and named imports that don't pervert the global scope. bash is awful, php is not very good for things that involve websockets or http mangling, and go, eh, tbh for something that'll never hit massive load or performance it's probably not worth the upfront effort of writing unless the rest of your team already knows it. that's basically the deal. everyone knows javascript, so node makes sense for whatever lame little internal service you have. quote:what's your python hate? i have some python hating I haven't used it enough to actually care about anything important, i just cant abide non c-syntax languages.
|
# ? Dec 2, 2014 17:32 |
|
|
# ? May 10, 2024 17:03 |
|
Python is great, and should be taught at schools as babbys first plang, to replace our nations standard language: Visual Basic
|
# ? Dec 2, 2014 17:34 |