Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Server-side Web (everyone's favourite)

Name: Anonymous 2012-07-29 1:50

So, I've recently looked into JSP and Java servlets for server-side code, and while I'm not particularly thrilled at all to be working in Java again, I was wondering what /prague/ thinks of it (minus the usual PIG DISGUSTING stuff).

For delivering ``Web2.0'' shitpages, I have to say I'm actually liking this more than any other server-side crap I've used so far. This is probably because that was Python and PHP and thus slower and fucking ugly. (No way I'm gonna touch Ruby either, and node.js can fuck right off.)

Name: Anonymous 2012-07-29 2:15

and node.js can fuck right off
fuck you, fagstorm

Name: Anonymous 2012-07-29 2:28

>>2
It's a good language for server-side processing
Language designed to have no access to a filesystem.

Name: Anonymous 2012-07-29 3:46

If you need a good web backend programming language that isn't Python, try Go.

Name: Anonymous 2012-07-29 4:02

Is there any reason you're not using C++?

Name: Anonymous 2012-07-29 4:33

>>4
Go is shit.

>>5
Because it's a lovecraftian monster of a language.

Name: Anonymous 2012-07-29 5:38

I recommend ASP.NET if Windows servers are not a problem. It seems to be more actively developed and used than JSP. I'd say anything but PHP or FIOC is a good choice.

Name: Anonymous 2012-07-29 5:39

>>5
Because JSP and Java servlets are still more generally supported on rented hosts than them letting you run your own native binaries.

Name: Anonymous 2012-07-29 5:40

>>7
I'd rather not be stuck using only Windows servers though. At least you can run Tomcat on both Windows and Linux (and probably OSX but fuck that).

Name: Anonymous 2012-07-29 5:46

>>9
Sun has some ASP stuff, but I don't know about ASP.NET. I suspect Mono can run it. I suggest using Haskell for this sort of junk, unless it's performance sensitive, in which case I suggest using C.

Name: Anonymous 2012-07-29 6:10

http://www.cliki.net/teepeedee2

Yes. I'm a Lisp and I serve webpages.
Teepeedee~ don't hit on me silly eunicks~

Name: Anonymous 2012-07-29 6:16

>>11
Seriously thank you for this, I will need to look into it. If I'm writing server code that ISN'T for the regular web / will be hosted with a generic host then I will probably give this a shot. Have you used it yourself?

Name: >>12 2012-07-29 6:18

Sorry, the negation was also meant to apply to ``will be hosted with a generic host''.

I wish regular webhosts had some love for CL

Name: Anonymous 2012-07-29 10:27

perl for server side

_END_

Name: 14 2012-07-29 10:29

Really, Perl::Dancer is very cool.

Name: Anonymous 2012-07-29 10:30

Clojure

Name: 14 2012-07-29 10:35

Name: Anonymous 2012-07-29 10:37

Haskell

Name: Anonymous 2012-07-29 11:03

>>17
2012
not using mojolicious

Name: Anonymous 2012-07-29 12:31

>>19
Is it that hard to make a post without acting like a retard? Is prose that hard for you?

Please go back to ``le /g/".

Name: Anonymous 2012-07-29 12:36

Perl.

Name: Anonymous 2012-07-29 14:57

I'm a big fan of http://laravel.com/.

Anyone writing "vanilla PHP" scripts in 2012 is full retard.

Java is a cool language, they have a pretty neat implementation for simple API's called Jersey http://jersey.java.net/.

Name: Anonymous 2012-07-29 15:10

>>22
Web Artisans
But in all seriousness, I'll look into it if I'm forced to ever write more PHP tripe.

I love that its purpose was originally in outputting web pages but it's shit at even that unless you use massive frameworks.

Name: Anonymous 2012-07-29 15:22

>>22
What does RESTful even mean? Sorry, I never understood.

Name: Anonymous 2012-07-29 16:25

>>24
As far as I'm concerned it's a lot of buzzword crap for something that already exists, namely using various HTTP requests (GET, PUT, DELETE, etc.) to modify or retrieve data. It all lies in marketing...

Name: Anonymous 2012-07-29 16:55

>>10
ASP without .NET is Ruby slow.

Name: Anonymous 2012-07-29 16:57

>>25
I've always felt this. I think it's good to have an explicit term to refer to it, though, but it definitely gets tossed around an insane amount.

Name: Anonymous 2012-07-29 17:40

>>24
It has a formal definition you can look up, but in common use I typically hear it used to describe a web service that doesn't use SOAP data.  That's a natural result of the .NET framework's WCF making use of it in that way, however, and doesn't really have much relation to its real meaning.

Name: Anonymous 2012-07-29 21:31

>>23
The nice thing about Laravel is that it is a really small framework. Much nicer than working with something xbox huge like rails.

>>24
>>25
Actually, REST refers to this one dudes paper he wrote about how the internet should work. Now everyone just bickers over every little detail basically.

Name: Anonymous 2012-07-29 21:48

>>29
Laravel: 229 PHP files, 18368 lines of code. I won't call that "a really small framework" by any stretch.

Name: Anonymous 2012-07-29 22:13

>>30
The bizarre thing about it is it has more lines of comments than code.

Name: Anonymous 2012-07-29 22:16

>>24
>>25
>>27
>>28
>>29
It actually means ``open a socket and receive GET, DELETE, HEAD and POST even if your program is a fucking calculator"

Name: Anonymous 2012-07-29 22:18

My guess is that an HTTP API would be too ambiguous at a time when there was SOAP (``Simple''), WSDL and XML-RPC. HTTP also has excess notional baggage of (like being coupled to HTML... its the ``Hypertext transport protocol'') that a made up name didn't. Finally it perhaps helps to get through to the enterprise to formalize it with some comp sci worded acronym. So REST it was.

WebDAV is another one that is basically HTTP with extra verbs. UPnP reuses HTTP syntax in UDP packets. You could say that there is a HTTP family of protocols.

Name: Anonymous 2012-07-29 22:18

Anyone using anything but GET and POST is overdoing on their bloated service. All other requests (even HEAD, since you can just close a GET after the headers) are redundant and part of the reason why HTTP is so bloated nowadays.

Name: Anonymous 2012-07-29 22:21

>>32
Optimize your quotes.

Name: --funroll-quotes 2012-07-29 22:23

>>35
But they're already optimized, I unrolled them for you.

Name: Anonymous 2012-07-29 22:24

>>34
How am I supposed to close the GET? First newline after the Content-Header or what?

Name: Anonymous 2012-07-29 22:36

>>37
After two successive CRLFs, obviously. Where did you think headers end?

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2012-07-30 5:27

>>34,37,38
The reason for HEAD is to allow the server to stop after the headers. With a GET, by the time your application sees the end of the headers, the data after that has probably already arrived in your NIC's buffers, and the server sent a lot of body that's still travelling over the network. When the client closes the connection the server is still sending. Only until the FIN reaches it will it stop.

Also closing the connection doesn't work with Connection: keep-alive.

Don't change these.
Name: Email:
Entire Thread Thread List