[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I need a web framework. Any language. It should be fast and easy
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 63
Thread images: 5
File: 1447730971701.jpg (556 KB, 700x800) Image search: [Google]
1447730971701.jpg
556 KB, 700x800
I need a web framework. Any language. It should be fast and easy to code.
>>
Laravel
>>
>>51700765
Why?
>>
>>51700774
Because every single amateur tries laravel.
>>
Luminous
>>
>>51700813
Not a good reason.
>>
File: flask.png (208 KB, 3000x1174) Image search: [Google]
flask.png
208 KB, 3000x1174
>>51700741
F L A S K
L
A
S
K
fun and simple, very pythonic. Also straight forward as fuck.
>>
>>51700765
>Laravel
kek

If you're gonna use PHP (which you shouldn't) go with Symfony.
>>
>>51700822
Eh?

>>51700868
Will give it a try.
>>
>>51700901
>Symfony
>Not Phalcon
>>
>>51700901
Why would you go with a framework that is way more verbose and has much less features, despite being bloated anyway?

If you want to use PHP like a shitty Java, at least use the actual Java.
>>
>>51700925
>Hey, is it okay if I install PHP extensions on this server?
>NO!
>FUGG

And so ended my interest in Phalcon.
>>
>>51700958
How is this even an issue any more with ridiculous cheap dedicated hosting and containerization?
>>
>>51700979
You mean the only reason that PHP is even used?
>>
>>51700868
This
>>
>>51700741
Yesod is the way forward my friend
>>
>>51700994
The ridiculously massive community and surrounding commercial support?
>>
>>51700741
Squarespace
>>
>>51701009
I never used Haskell and I want to start fast.
>>
Lol funny
>>
>>51700774
If you're really looking for fast development, it can get you up on the road pretty quickly. Keep in mind that the performance is pretty slow compared to many other frameworks.
>>
>>51701011
> ridiculously massive community
Useless. There aren't very many good contributions. Only some framework developers who collaborate and copy st- I mean, create new standards like the PSRs and copy t- I mean, create tools like Composer. You have those in all better languages as well.

>surrounding commercial support
Hardly better than for other languages.

Its only advantages is that it's offered by everyone. It runs everywhere
>>
>>51701018
Go fuck yourself.
>>
Catalyst.
>>
I am using PHP at my job and its awful.
Don't use lavarel.
If you don't want to learn haskell to use yesod or snap,
maybe a lua framework(have not used any myself).
whatever you do don't use node.js.
If you know ocaml maybe this: http://ocsigen.org/ (again I have not tried this)
>>
>>51700741
Serious answer: Bottle. It's like Flask, but even faster to get started with. It's literally contained in one file, so you don't even need to be familiar with Python package management to use it.

The code below is all that's necessary for a test app that responds to requests to "/hello/John" with "Hello John, how are you?"

from bottle import route, run, template

@route('/hello/<name>')
def greet(name='Stranger'):
return template('Hello {{name}}, how are you?', name=name)

run(host='localhost', port=8080, debug=True)


I used this when I needed to get a really simple API-based webapp up and running quickly. It went well.
>>
Wordpress
>>
Dancer.

#!/usr/bin/perl
use Dancer;

get '/hello/:name' => sub {
return "Why, hello there " . params->{name};
};

get '/redirectMeTo/:trgval' => sub {
redirect request->path_info('/' . params->{trgval});
};

dance;


Or just plain CGIs or mod_perl.
>>
>>51700741
wordpress
>>
.Net
>>
>>51701097
I can recommend ASP.net. C#, especially thanks to LINQ, is a really good language for web development.
>>
>>51701547
Kek.
>>
File: 1437390518560.jpg (464 KB, 600x600) Image search: [Google]
1437390518560.jpg
464 KB, 600x600
>>51701247
>>
>>51701565
It really is, though.
>>
Flask my friend
>>
>>51700741
Django (python)
- easy to learn
- fast to code
- you forget about doing stuff on the database
- you have the python libraries (from image processing to advanced mathematics)
- lots of documentation
- it's easier to find python/ruby developers rather than. Net or good php coders
- it's not fucking php (read about vulnerabilities)
>>
>>51701619
But don't forget, its primary and secondary. Not master and slave.
>>
I'm thinking about Flask.

>>51701619
Why not Flask? I guess Flask does not handle databases, but that's not so big problem.
>>
>>51701619
NOT PYTHONIC
LITERALLY HARMFUL
SJW RIDDEN
YOU WILL HAVE TO RELEARN PYTHON
JUST USE FLASK
>>51701659
Flask has no problems with DBs, and works as normal thing, you get tired by anything in django if you ever used python.
>>
>>51701638
it's fine to object on some level to that push, but at this point if you're going to insist on being obstinate about it over "principle", then you're no better than SJWs, except that SJWs at least claim to be trying to make things more inclusive and better for marginalized groups.

Bitching about the change with the same amount of zeal as SJWs just makes you stubborn, and for no other reason than to rock the boat because you feel entitled to rock it as much as SJWs were allowed to.

Unless you have a stake in using "Master/Slave" or in NOT using "Primary/Follower", just let the wave pass underneath your boat.
>>
>>51701659
Flask is good. Good for small to mid size applications.

I use Django over projects which need a good admin interface with lots of baked in features.

UNless you want to rewrite certain things like logins, user db; Django can get you running faster and has nice documentation.

In short, Flask for any project you have full control over, though Flask excels are microservices imo. Django for any production ready application that interacts with a DB, where you need an admin interface as soon as possible.
>>
>>51701713
I don't bitch about it buddy, I couldn't care less.
I don't even use django.
I just find it hillarious.
It's also a good reminder to never use languages that are easy so you don't have to deal with incompetent people.
>>
Bootstrap
>>
>>51700741
Wt (pronounced Witty)
I love it, I'm sure you will too. If not, maybe C++ isn't right for you,
>>
>>51700741
GNU Artanis
>>
honestly, rails....
now that the hype and hipsters are gone its a solid and quick to get into web framework.
>>
>>51702356
Well, the problem about C++ is that you can't simply serialize stuff, especially JSON.
>>
>>51700868
This.
Don't complicate things.
>>
>>51701659
>I guess Flask does not handle databases, but that's not so big problem.
import psycopg2

If you're not using postgres you're doing it wrong
>>
>>51700741
Apache/Perl cgi
>>
File: vomit-chan.jpg (199 KB, 600x600) Image search: [Google]
vomit-chan.jpg
199 KB, 600x600
>>51703415
>Apache
>>
>>51700868
>Flask

isn't it like abandoned?
>>
>>51703407
>If you're not using postgres you're doing it wrong
>not using MongoDB for your gay homo apps.

why complicate things?
>>
>>51703449
No. Pretty sure patreon, twillio and loads of other services runs flask
>>
>>51703471
non-relational databases are only really useful in certain extremely high-load applications
besides, setting up something basic in a good relational database environment is as painless as doing the same with a non-relational database and has the advantage of giving you all the useful stuff that you get with relational databases
>>
>>51703442
what do you suggest senpai?
>>
>>51703610
nginx; it's superior to apache in pretty much every way imaginable
>>
>>51700741
is that okuu or reimu
>>
my vote is clojure + whatever
consistently one of the fastest languages on http://www.techempower.com/benchmarks/, is a lisp, looks like
(defn subdomains [{full-domain :server-name}]
(try (->> full-domain
(re-find #"^(.*)\.isnot\.moe.*$")
(drop 1)
(first)
(re-seq #"[^.]+"))
(catch Exception e "Your Waifu")))

(defn notmoe-message [req]
(->> (subdomains req)
(map #(or (wordfilter %) (s/capitalize %)))
(s/join " ")
(h/escape-html)
(format "%s is not moe ;_;")))

(defn app [req]
(let [notmoe (notmoe-message req)]
{:status 200
:headers {"Content-type" "text/html"}
:body (str "<head><title>" notmoe "</title></head>"
"<body><h1>" notmoe "</h1></body>")}))
>>
>>51700741
freewebs its drag and drop, easy to use senpai :^)
>>
>>51704525
>iqdb

probably okuu though
>>
>>51702356
Not OP but this is interesting as I hate the performance of most frameworks for scripting languages.
>>
>>51700741
Framework, Fast

Pick one
Thread replies: 63
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.