TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What web framework do you use? Why did you choose it?

71 pointsby moraya-reover 8 years ago
Merry Christmas!

64 comments

spapas82over 8 years ago
Merry christmas! For me it&#x27;s Django for around 5 years. I use it for both personal and work projects for all the following reasons (they are well known but repetition is never bad):<p>* A great (really great) orm<p>* Best documentation I&#x27;ve ever seen in a project<p>* Predictable, no magic<p>* Easy to start but very powerful forms<p>* Great community, positive attitude, always willing to help<p>* Batteries included and, for anything missing, lots of add-ons (in the form of apps) for all your needs<p>* It&#x27;s in python and supports both 2 and 3<p>* Good i18n support (english is not my primary language)<p>* Good templating<p>* MVT (model view template) architecture works great, especually after you switch to CBVs<p>* Great support for REST (through django-rest-framework)<p>* Easy and to-the-point project configuration supporting multiple deploys (development, production etc) and non-commited to vcs settings<p>I&#x27;ve tried other frameworks in the past but I&#x27;ve always stuck in a missing feature or just wanted to do things in the django way.
评论 #13257220 未加载
评论 #13254472 未加载
finchiskoover 8 years ago
I&#x27;m pretty sure I&#x27;ll be minority here, but I don&#x27;t use any backend framework for page rendering. All my apps are pure SPAs. They render all the screen content themselves on the client and only query servers for data. I prefer this, because I can simply take any app and deploy it to server just by copying its files. I only need to scale API servers and I don&#x27;t have think about app scaling, because just single instance of nginx with proper caching setup can handle hundred thousands of clients (serving static resources is cheap and fast). Also you can take same app, package it as cordova and deploy to app&#x2F;play store (although this can be probably achieved with any other frameworks as well). On the frontend I use combo of react, redux, redux-saga ...<p>Before I&#x27;ve used backbone, but react with redux is night and day difference. Even you&#x27;re just starting with js, your apps will be less error prone, because of concept unidirectional flow.<p>Maybe this is no longer special to react&#x2F;redux, but I&#x27;m really not in the age I can switch frameworks everytime some new stack arrive. React serves me well. And then, there is also react-native, which is 90% same as react so you can reuse what you have learned. Other frameworks don&#x27;t have this close to native counterpart. (not counting cordova, which allows to use any fw, but performance will never be same as react-native).
评论 #13262407 未加载
评论 #13270678 未加载
评论 #13266641 未加载
评论 #13260821 未加载
coreyover 8 years ago
ASP.NET MVC, because:<p>- ASP.NET MVC makes it much easier to keep your domain logic decoupled from the framework. This is in contrast to frameworks like Django who expect you to use their ORM, and to derive your model classes from a framework provided base class.<p>- It&#x27;s C#. I know it well, it is common in industry, and it is statically typed. For programs of any real complexity, I find statically typed languages to be much more efficient and pleasant to work with.<p>Eventually I want to move more in the direction of stronger type systems, but it doesn&#x27;t seem like there are many jobs out there for Haskell programmers who aren&#x27;t programming demi-gods.
armsover 8 years ago
Django, mostly. I like its batteries included approach and its maturity. I&#x27;ve found it&#x27;s a great tool for many jobs. Every now and then I&#x27;ll use something smaller, like Flask or Falcon, but as soon as I need an ORM, or auth, I use Django.<p>I&#x27;ve also used Phoenix a few times now and have been enjoying it. But I know Python much better than I do Elixir, so I skew towards that.
crdoconnorover 8 years ago
Django, because:<p>* Very little magic in the core.<p>* Well architected and loosely coupled (in spite of its sometimes-rep it&#x27;s not actually monolithic: <a href="http:&#x2F;&#x2F;olifante.blogs.com&#x2F;covil&#x2F;2010&#x2F;04&#x2F;minimal-django.html" rel="nofollow">http:&#x2F;&#x2F;olifante.blogs.com&#x2F;covil&#x2F;2010&#x2F;04&#x2F;minimal-django.html</a>)<p>* Largest&#x2F;most solid ecosystem of 3rd party packages (except possibly rails) that does everything from authentication, CMS, CRM, ecommerce, comments, anti-spam, caching, REST APIs, file uploads, admin, emails, authorization, regular authentication, social media authentication, admin plugins, data import&#x2F;export plugins, etc. etc. etc. meaning that there&#x27;s an awful lot of code that you <i>don&#x27;t</i> have to write.<p>* An <i>opinionated</i> core which means consistency which means that those 3rd party packages that all use caching, ORM, admin forms, etc. fit together and you don&#x27;t have stuff like CMS plugins that just decided to use mongo for the hell of it (<a href="http:&#x2F;&#x2F;quokkaproject.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;quokkaproject.org&#x2F;</a>) or 3rd party plugins forced to support 3 or more different storage backends (<a href="https:&#x2F;&#x2F;pythonhosted.org&#x2F;Flask-Security&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pythonhosted.org&#x2F;Flask-Security&#x2F;</a>).<p>* Python is a terse and readable language with (relatively) strict runtime type checking and a huge ecosystem outside of just web stuff.
spionover 8 years ago
On the frontend: React, MobX, TypeScript<p>TypeScript, because its a fast compiler and has the best typechecker support and typings collection for existing front-end libraries, so there is almost no need to wrap anything.<p>React, because its conceptually simple, has wide community support and I get TypeScript&#x27;s type checking inside the TSX templates too, unlike in Vue and most other frameworks.<p>MobX, because it needs less boilerplate than Redux, plays better with TypeScript than immutable.js, is really easy to make performant (lots of observer components + computed properties) and its intuitive to developers coming from Angular, knockout or Vue.<p>On the backend: TypeScript, Node, bluebird, node-sql and PostgreSQL<p>TypeScript, because it makes it easy to write end-to-end-typechecked programs if the backend language is the same as the frontend. The client and server can both claim to implement the same interface, and then its easy to see if any changes violate that contract. Additionally, server-side rendering with React is simpler.<p>Node, because its reasonably fast without thinking too much about it. The only pitfall are accidentally cpu-bound tasks, but in practice those are a problem rarely and I&#x27;m working on a tool to detect and report them: <a href="https:&#x2F;&#x2F;github.com&#x2F;spion&#x2F;long-task-detector" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;spion&#x2F;long-task-detector</a><p>Another thing missing in node are better streams. A promise-friendly version of pull-stream would fix that.<p>Bluebird, because its fast and provides a great debugging experience with long stack traces<p>PostgreSQL, because it can go very far for many things before you need something else.<p>node-sql, because its an SQL query builder for node which can be made typesafe with TypeScript, and because query builders often beat ORM spaghetti in performance and maintainability in the long run.
iLemmingover 8 years ago
I&#x27;ve tried different JavaScript frameworks. I&#x27;ve seen Backbone, Angular, Knockout, Rx.js, React, Redux, MobX, Rails, Asp.net, Meteor and Django, I&#x27;ve tried almost every popular option to compile&#x2F;transpile into JS - Coffeescript, Typescript, Livescript, Gorillascript, Fay, Haste, Elm, GHCJS and Babel. I&#x27;ve used Grunt, Gulp, Browserify and Webpack. Nothing ever made me so happy and so excited as Clojurescript. Things are so simple, so elegant. Code has never been ever before so easy to reason about. Sharing code between backend and frontend became reality. FFI to existing JavaScript code is so natural. Ring, Compojure and Om.Next, Clojure.spec and generative testing, Figwheel, Devcards, Boot-clj. core.async and pattern matching. My goodness. I just don&#x27;t understand anymore devs, choosing to struggle with other stacks. Everytime when I try to compare - CLJS feels just a few steps ahead.
评论 #13255198 未加载
ceyhunkazelover 8 years ago
I use Django for my projects and I prefer it over Java Frameworks although I am an ex-Java developer. Python&#x2F;Django feels quicker and lighter than Java&#x2F;Spring stack which result in productivity boost. I explained in detail why I use Django on my story <a href="https:&#x2F;&#x2F;hackernoon.com&#x2F;why-i-chose-django-over-java-frameworks-for-my-recent-project-7ec85cb35756#.yxoaq8phe" rel="nofollow">https:&#x2F;&#x2F;hackernoon.com&#x2F;why-i-chose-django-over-java-framewor...</a>
jasonthevillainover 8 years ago
Django. I like the &quot;batteries included&quot; aspect. Flask and Sinatra are fun, but I wind up spending more time than I&#x27;d like stitching authentication etc together instead of building the project.
评论 #13259772 未加载
pmontraover 8 years ago
If it&#x27;s my call, Rails since 2005 because it was easier than Java and much quicker to deliver. It still is.<p>If it&#x27;s customers call, I used Node (as sw architect), Django, Flask, Web2py. All of them are less opinionated than Rails, which IMHO is bad because any project can be different and it costs time to get on board.
bwilliamsover 8 years ago
Phoenix, for a lot of the same reasons I used to have for Rails including:<p>* Fast development cycle<p>* Conventional<p>* Great community<p>* Good ecosystem of libs to take advantage of<p>* &quot;Magic&quot; (although Phoenix&#x27;s magic is much different)<p>And some of it&#x27;s own like<p>* Great concurrency (which feels like a free win over Rails)<p>* Functional programming<p>* How Ecto, the ORM works<p>* How simple it is, even with the &quot;magic&quot; included.<p>* How assets are handled, via a thin layer to Brunch, Webpack, or other JavaScript asset bundler<p>There&#x27;s a few more, but I think those are a lot of the major talking points.
评论 #13264071 未加载
donmbover 8 years ago
Rails - because Ruby is easy to learn, especially for beginners and you get great, custom things done in no time. Also Rails forces you in some patterns that make sense in my opinion. Testing is also fun.
评论 #13254677 未加载
评论 #13254678 未加载
rawrmaanover 8 years ago
I used Node and Loopback.js for my last project (massive project). It was great in the sense that it helped us avoid writing lots of boilerplate, but the ORM and the &quot;current context&quot; module were a constant source of frustration.<p>Now I&#x27;m working on a project with a smaller scope and I&#x27;m simply using express.js and knex.js, no ORM. I love the simplicity and level of control I have. It&#x27;s liberating not to have to guess what the ORM is doing to my data between my code and the DB layer.
jonas123over 8 years ago
Meteor - It&#x27;s a fullstack framework that let&#x27;s you write JavaScript both on the front- and backend. It let&#x27;s you choose what you want to use for your frontend (e. g. React, Vue, Blaze, Angular...). Best feature: It&#x27;s realtimeness.<p>And right now I&#x27;m trying Laravel (PHP). It has a great documentation. I like the ORM and that it&#x27;s easy to use. I want to build an API with it and consume it with a SPA and react.
评论 #13255171 未加载
评论 #13255224 未加载
ufmaceover 8 years ago
I don&#x27;t know how some of you guys have the time to get real experience with dozens of frameworks. I&#x27;ve only really used a few. Out of what I&#x27;ve used, Ruby is my favorite language, and I use Rails for anything with a database, and Sinatra for anything without. Thoughts:<p>ActiveRecord is the best ORM I&#x27;ve used so far. You don&#x27;t need a ton of boilerplate or config to get up and running with it. It supports all of the basic stuff, and seems to do it well, and for more complex stuff, it makes it easy to drop down to SQL instead of trying to put a ton of ugly glue on top of doing complex stuff in SQL.<p>I like the way Rails has commands to output the whole route table, and the whole middleware stack it&#x27;s using. Along those lines, I like the way the router works, and the way that most of the advanced functionality is neatly tucked into middleware that you can add or remove.<p>I like the flexibility of being able to plug in a bunch of JS processors, template languages, CSS processors, etc.<p>I like how much functionality you can add by just throwing a gem in the Gemfile, and the Bundler system does a good job of tracking gem versions to keep all environments consistent.<p>Competitors I&#x27;ve used:<p>ASP.NET MVC: Too much functionality is buried in either the IIS server or other libs that you can&#x27;t debug into easily. I don&#x27;t like the routing much - there&#x27;s too many ways to specify routes, all of which seem unclear, and there&#x27;s no single place to see all of your routes as the framework sees them and where they all route to. Plus the often-incomprehensible method argument matching. MVC tries to be all clever in deserializing arbitrary JSON and XML into .NET objects, which is handy when it works, but good luck debugging what happened when it doesn&#x27;t work, and good luck if you just want it give you the freakin&#x27; request data as a plain old string. I&#x27;ve spent hours smashing my head against trying to get MVC to actually route my requests to the intended controller methods and do something reasonable with the request data. And I still haven&#x27;t made sense of Entity Framework.<p>I&#x27;ve also toyed with things in Java, NodeJS&#x2F;Express, and a few other things, but I don&#x27;t feel like I&#x27;ve really used them enough to offer an opinion, besides noting that the &quot;common knowledge&quot; of Java being verbose and over-complex, and NodeJS&#x2F;Express being too bare bones seem accurate.
评论 #13269305 未加载
vbstevenover 8 years ago
Spring with Spring Boot in Java. Batteries included and easy to setup and get going. A statically typed language to catch errors at compile time. Easy to deploy by building an uberjar. Great dependency management and builds with Gradle&#x2F;Maven and built-in support for pretty much any common database and message queue.
评论 #13254562 未加载
benjohnsonover 8 years ago
For us not-so-smart-people who liked MS Access: PHPRunner.<p>From a programming standpoint, it&#x27;s the worst thing in the world: A Windows GUI thing that builds PHP apps and it&#x27;s closed source.<p>From a get-stuff-done standpoint: I made a tracking web-app for large expensive tools that knows about Customers, Project Locations, Scheduling, Work Orders and Invoicing - it will grab a customer signature and email them the receipt. I did it in about four hours.<p>It has hooks in the system for those that actually know what they&#x27;re doing (not me) to embed PHP code at important points.
评论 #13259900 未加载
alexandersonover 8 years ago
I&#x27;m operating with Express on one end with React on the other. The big difference with this setup is GraphQL in the middle. It is a huge help to making sense of data flow, what with the strictly typed schema and the built in subscription model. I&#x27;ve also engineered my own event sourcing&#x2F;CQRS framework with the intention of expanding the app with micro services eventually, but it&#x27;s just one server node for now.
friedman23over 8 years ago
I recently switched to nodejs from flask and I like it but there are some issues<p>The pros:<p>- programming the same language in the frontend and the backend (which becomes a big deal when you do serverside rendering of react components)<p>- for some reason AWS and Google App Engine have very good nodejs support<p>- very fast io<p>- very fast iteration time, faster than python<p>The cons:<p>- the lack of quality libraries and standards. With flask there are well known, well tested libraries for every use case. Not so with nodejs.<p>- javascript, which isn&#x27;t really a big deal
评论 #13254444 未加载
pazaover 8 years ago
Django - I am learning and I think it is easier to learn. It is much easier than php.
Orasover 8 years ago
PHP Symfony for large backend application. I rarely use front-end Pros: - Well structured - Lots of bundles - Large community - Doctrine and Monolog support out of the box Cons: - Steep learning curve in the beginning
pkruminsover 8 years ago
None: <a href="http:&#x2F;&#x2F;www.catonmat.net&#x2F;blog&#x2F;frameworks-dont-make-sense&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.catonmat.net&#x2F;blog&#x2F;frameworks-dont-make-sense&#x2F;</a>
apeacoxover 8 years ago
I&#x27;ve mainly used Ruby&#x2F;Rails from ~2008 to ~2015 both for work and side projects&#x2F;prototypes, then I totally switched to Elixir&#x2F;Phoenix for almost all my stuff. I still use Ruby&#x2F;Rails for some works (where&#x2F;when I can&#x27;t use Elixir due to some constraint).<p>I&#x27;ve found that Elixir and Phoenix have an awesome community and a fast-growing ecosystem. The language is very clean and I can solve problems in a cleaner and faster way. It has all the tools I need and runs on a simple but powerful virtual machine with stunning performance and easy deployement. I can use websockets and async jobs without running external processes&#x2F;daemons and thanks to brunch (or webpack, it depends) I have a powerful toolchain for frontend. Speaking about frontend, I&#x27;ve recently moved from React to VueJS, it&#x27;s a very decent compromise between React and Angular: simple like React, with features and concepts similar to Angular.
BerislavLopacover 8 years ago
I&#x27;ve been using Tornado for about a year now, and I&#x27;m incredibly happy with it. Here is some of the background and reasons for that:<p>* I had been using Django for some 5-6 years, until I finally realised that I&#x27;m not happy with many of its architectural decisions -- global singleton settings, the way views are organized, the way it&#x27;s organised around the ORM and everything. It provides a lot of tools, but if you don&#x27;t need some of them them tough luck, you still get to lug them around and it&#x27;s not helping you find any workarounds.<p>* I&#x27;ve learned to prefer frameworks that don&#x27;t get in your way and allow you to choose any individual components for individual needs. I&#x27;ve worked with Flask and Bottle, which are great but sometimes go too far in the opposite direction, focusing so much on simplicity that more complex tasks require jumping through a different set of loops (I&#x27;m looking at you, Blueprints).<p>* Tornado&#x27;s Web framework is successfully avoiding both types of traps, and it gives you the ability to develop simple apps -- say, a REST API -- quite easily and naturally, at the same time giving you the room to grow your creation naturally as needed. I&#x27;ve briefly tried Falcon, which follows a similar philosophy, and is IMO a great alternative.<p>* Tornado, however, is not just a Web framework -- it actually provides an amazing set of tools which can be easily in your app or even without any relation to a Web app. And the best part of the toolset is its asynchronous networking capabilities, which provided things like coroutines long before they existed in Python -- and now you can combine the two in a same app.<p>* Last but not least, Tornado provides an amazing, production-ready, non-blocking HTTP server. Most of the other frameworks make a point of not using their built-in servers in production, instead advising you to plug your app into a WSGI server like uWSGI or gunicorn; you can do that with Tornado too, but if you don&#x27;t your app can process requests asynchronously, preventing slower requests from blocking faster ones.
hugsover 8 years ago
Back-end: Node.js + Express + ws + Johnny-Five<p>Front-end: Bootstrap + (Three.js or Snap.svg) + ws<p>I create browser-based interactive UIs for controlling Arduino robots. I like to keep the web stack as simple as possible because the tricky&#x2F;hard parts are in the robotics layer.
smnplkover 8 years ago
For hobby stuff I use Ring with Compojure (or bidi) on the server side and re-frame on the client, so Clojure(script) all the way. Still learning web dev in clojure, came from years of rails and some JEE before that. Hope to start using it professionally in 2017.
zohararadover 8 years ago
For non-bleeding-edge projects, I use Rails, because I&#x27;m comfortable with it, and love the echo-system. I find I&#x27;m most productive in it when I need to deliver fast.<p>For newer&#x2F;bleeding-edge I use Go with Vue.js on the frontend. I like Vue&#x27;s simplicity and community - It&#x27;s the only frontend framework that made sense to me and I was able to be productive in in a relatively short time. Go on the backend because it&#x27;s clean, fast and stable.<p>At the risk of self-promotion, check out my weekend project - <a href="https:&#x2F;&#x2F;github.com&#x2F;zohararad&#x2F;bee-gorm-graphql" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;zohararad&#x2F;bee-gorm-graphql</a> (Golang on the backend, Vue on the frontend)
atbentleyover 8 years ago
I have recently switched from flask + psycopg to sanic + asyncpg for my http APIs. I&#x27;m pretty happy with the results and the transition was pretty smooth, it only took a day each to switch out each and go from fully synchronis to fully asynchronous.
评论 #13262505 未加载
评论 #13262506 未加载
gbuk2013over 8 years ago
Node.js + Express+ SocketIO on the server side with Angular on the front end.<p>For my apps I have a loose framework that I built over the years with pub-sub model between client and server and similar within the server side code itself.<p>Node was an easy choice since I love JS and having only one language reduces cognitive load a lot.<p>Express is a well known mature framework, similar with SocketIO even though it has some warts.<p>Angular is similarly a mature framework which I use in s quite simple manner to tie pieces of code together so i haven&#x27;t had any performance problems. And since I work in enterprise it is still very a very popular choice and none of the issues with strange licensing or complicated transpiling build systems.
zachsnowover 8 years ago
Django for work, a variety of (popular) tools for random projects.
zalmoxesover 8 years ago
I write in Go, and use the following libs:<p>net&#x2F;http: The stdlib package is robust and I find myself productive working with the provided APIs. gorilla&#x2F;mux router instead of the default servemux.<p>I use go-kit <a href="https:&#x2F;&#x2F;gokit.io&#x2F;examples&#x2F;stringsvc.html" rel="nofollow">https:&#x2F;&#x2F;gokit.io&#x2F;examples&#x2F;stringsvc.html</a> for most production apps I write. I use go-kit because it provides a clean separation of decode&#x2F;encode logic from the actual business logic of my application and includes some great packages for instrumentation, logging rate-limiting and bunch of other concerns.<p>On the frontend side, I prefer to write clients in Elm.
tylerpachalover 8 years ago
Play Framework[1] (in Scala, its also available in Java): * I like programming in Scala * Play is built on Akka[2] (a lot of people use Akka instead of using a full-on framework) * Great testing suite * The documentation is very good * Most components of the framework can be used separately, for example Play has a good asynchronous http client that I use in other projects<p>[1]: <a href="https:&#x2F;&#x2F;www.playframework.com" rel="nofollow">https:&#x2F;&#x2F;www.playframework.com</a> [2]: <a href="http:&#x2F;&#x2F;akka.io" rel="nofollow">http:&#x2F;&#x2F;akka.io</a>
equalarrowover 8 years ago
Rails because I&#x27;ve been using it for a lonnnng time. Last month I got a subscription to stationcode.net and it&#x27;s been handy for code gen. Talked to the owner and he said more is on the way.
manishsharanover 8 years ago
I used to be J2EE guy and I have gone through nearly all J2EE Frameworks namely struts, tapestry, wicket and JSF ( all flavours) -- and I hated all of them. The problem with these frameworks is that you had to learn so many useless details of the framework , such as ui component lifcycle and events, that were of no use should you choose to go on to another project which used a different framework.<p>I have settled on ReactJS with Clojure REST or Spring REST. React knowledge and REST knowledge is portable across projects and jobs.
评论 #13255047 未加载
hadriendavidover 8 years ago
I&#x27;ve used Pyramid for the last 5 years to deploy highly available http api (&gt;500K unique users daily).<p>- Super Modular, easy to achieve separation of concern;<p>- Powerful routing system;<p>- Consistent API;<p>- Elegant;<p>- Performant;<p>- Pyramid folks are super nice and super helpful on irc
ksubediover 8 years ago
asp.net core, I have tried a lot of frameworks and stacks from Laravel to Go and I have never been this productive on anything else.
评论 #13254491 未加载
kennuover 8 years ago
I use Phenomic to generate static React websites. Served from Amazon S3&#x2F;CloudFront, with Serverless (Lambda&#x2F;API Gateway) for REST APIs as needed.<p>This appears to be the cheapest and most reliable and autoscalable way to build web apps, even though the tooling could still be streamlined. I also believe that React and JavaScript in general currently have the best ecosystem, so it&#x27;s easy to find anything you need (tools, libraries, components, problem solutions).
orbzover 8 years ago
Have been newly playing around with this: Modular SPA in either Angular 2 or Webpack with a separate API backend in Go. Easy to test either in isolation or integrated.
Frondoover 8 years ago
ASP.NET MVC, on .NET Core.<p>It&#x27;s super fast, C# is mad fun to develop in, and now it runs on Linux. We&#x27;ve even started deploying production sites to CentOS-based VPSes.
评论 #13254945 未加载
mchillover 8 years ago
All in with Angular 2 using the angular-cli. TypeScript, everything is a component, good fit for enterprise projects, quickly on-board new developers.
评论 #13254656 未加载
joeclark77over 8 years ago
Flask. Mainly because I do a lot of different things with web frameworks. Sometimes I&#x27;m serving a straightforward web page, sometimes I&#x27;m querying a database and rendering a template, other times I&#x27;m wiring up a json API, and other times I might be doing some weird data analysis before sending results to a dashboard template. Some of my URLs require three lines of code, some require three hundred.<p>In Flask, an endpoint is just a Python function, and most importantly, the URL endpoint is right next to the function declaration, so you don&#x27;t have to keep track of two or three things in two or three different files. (Though the template is a separate file, of course.) To do something new just add an endpoint and a function; and most IDEs let you collapse&#x2F;hide the function&#x27;s code when you don&#x27;t want to look at it, so it&#x27;s as &quot;clean&quot; as it is flexible, if not elegant.
patrickgordonover 8 years ago
Rails for my backend and react&#x2F;redux SPA for my frontend.<p>I was using Rails for both but I love the freedom, ease, and capability that comes with React.<p>I could move to using something &quot;lighter&quot; than Rails on the backend but I really do like the &#x27;batteries included&#x27; stuff that means I don&#x27;t have to think about much to get up and running.
ssijakover 8 years ago
Spring Framework on backend -&gt; ultra power and speed, especially if you go cloud and microservices route<p>Angular 1 on fronted -&gt; easy enough to learn quickly, feels good to use and is powerful with great support and add-ons. Looking to start learning angular2<p>Will learn elixir and phoenix for some realtime and websocket stuff.
评论 #13254564 未加载
andrei_says_over 8 years ago
Rails, because I love ruby and hate sweating the small stuff.<p>Slim because I love simplicity and am a slow reader.<p>Susy grids because it fits my thinking and is very adaptable.<p>Vue.js because it lets me write HTML as HTML and JavaScript as JavaScript. And because it makes sense to me. Vuex because it follows the same principles used by Vue.
ctlaltdefeatover 8 years ago
Anyone using an asynchronous python library? Interested in how that&#x27;s shaping up.
codegeekover 8 years ago
It depends on the use case:<p>- For API based work, I love Flask (Python).<p>- For full fledged application, I am loving Laravel (PHP). With PHP7 and package managers such as composer and the awesome laracasts tutorials, it is just a breeze.
评论 #13259180 未加载
jballancover 8 years ago
Instead of piling on with all the usual frameworks (which I do actually use to get work done), let me add one that I&#x27;ve been playing with purely for side-projects&#x2F;fun:<p>Escher.jl - <a href="http:&#x2F;&#x2F;escher-jl.org" rel="nofollow">http:&#x2F;&#x2F;escher-jl.org</a><p>Yes, I primarily use it because it&#x27;s Julia and I am really enjoying Julia, but it&#x27;s also a very interesting take on a modern web framework for a modern language (even if it is a bit rough around the edges).
kevivover 8 years ago
- I&#x27;ve been working on Laravel for 3 years now. Liked the speed with which new features are introduced.<p>- Currently freelancing for a client and using CakePHP. Didn&#x27;t choose it, the existing system was built on it.<p>- Worked on Codeigniter an Yii in the past. Chose them because they used to be the most popular frameworks back in the day.<p>- Used Slim and Lumen PHP microframeworks whenever I was working on a tiny project.<p>- When I&#x27;m not freelancing, I&#x27;m learning Elixir and Phoenix.
out_of_protocolover 8 years ago
Backend: Rails (older projects) and Phoenix (Elixir) for newer ones<p>Frontend: None&#x2F;jQuery for simple sites, Angular 1 (older projects) and Vue 2 (newer) for apps
sergiotapiaover 8 years ago
Rails because it&#x27;s familiar, fast enough and it&#x27;s a joy to work with.<p>I&#x27;m also using Phoenix for pet projects because Elixir is Ruby 2.0 for me.
vinceguidryover 8 years ago
If I&#x27;m making a website, I&#x27;m using Rails. I&#x27;ve been using Rails for years, and I know it and Ruby really well.
Benfromparisover 8 years ago
I&#x27;m surprised nobody mentioned Laravel. It seems to be one of the most, if not the most, used PHP Framework nowadays?
评论 #13255468 未加载
ttiuraniover 8 years ago
Koa 2 with Nunjucks, Sequelize and Typescript. Koa 2 with async&#x2F;await is a real pleasure to work with and Nunjucks is powerful enough for pretty much every templating need. Sequelize has been a pretty good ORM. Typescript brings the right amount of type safety to catch easy mistakes while typing. Angular 2 for SPA:s.
epynonymousover 8 years ago
currently, i roll my own: golang net&#x2F;http, gorilla&#x2F;mux, eknkc&#x2F;amber, and database&#x2F;sql. i&#x27;m not entirely happy with amber as an html template language, prefer jade or haml, but it seems to work so far, i&#x27;ve had a few problems with it and the author fixed one of them in terms of nested data structures, but there&#x27;s another issue pending for a long time so i don&#x27;t think he has the interest to maintain this.<p>got into expressjs&#x2F;jade, but didn&#x27;t like the nested async callbacks, really annoying to read the code, but the tooling side was cool with npm, gulp, etc.<p>i used to use sinatra&#x2F;haml&#x2F;activerecord for a long time, really liked the simplicity of it, but ruby in general was just too slow in terms of performance, had to use a lot of physical resources to supplement for its slowness.<p>before sinatra i used ror, this was before i decided that rolling my own was more streamlined and efficient.<p>before ror i used python, tornado, and sqlalchemy. god, sqlalchemy was so clumsy back then, i even bought their ebook for my kindle, what a waste of money. ran ok, really liked the decorators used by tornado, but then fb went and bought friendfeed which doomed tornado to the depths of &#x2F;dev&#x2F;null.<p>before python, i used java servlets (as part of the j2ee standard) and java server pages. it was sort of nice to use html files and embed these java snippets, but still pretty primitive.<p>before j2ee, i used php, pear, god save me from those days. my personal blog was built on this, i saved all entries into xml documents and stored them in directories based on the date. that site was hacked and pwned so badly, thanks php security holes! this was a time before templates and orms.<p>and from the very beginning, there was pure html, wow, we have evolved so much since then.<p>golang is perfect for me, but i use it for a lot more than just a dynamic web server, it&#x27;s also an api server and websocket service. i really like the ease of deployments with golang i.e. just copy a binary to my production servers. and the code is fast and scales. coming from sqlalchemy, activerecord, and sequel, i was a bit underwhelmed by gorp, but soon found out that going with sql was good enough.
greenspotover 8 years ago
Express with Node.<p>Love the simplicity, speed and power. Huge ecosystem and fast rampup.
eastindexover 8 years ago
Used almost all of the PHP MVC frameworks across multiple projects:<p>Laravel (2015&#x2F;16), Yii1&#x2F;2 (2015-now), CakePHP (2015), Zend (2009), CodeIgniter (2009-Now), Symfony 1 (2008&#x2F;9)
评论 #13269971 未加载
wzyover 8 years ago
Rails: Because it works!
评论 #13304477 未加载
ojiikunover 8 years ago
backend: Ninja framework behind nginx, because I can write Java in my sleep and it makes testing not-awful. prototyping is speedy and easy.<p>DB: Maria. again, familiarity is key. been using MySQL for almost 20 years and it does what I expect.<p>UI: nothing fancy. bootstrap and, if the use case absolutely requires it, jquery. have been going back to fairly js-light designs lately and clients seem happy for it.
niftylettuceover 8 years ago
I&#x27;m almost done with CrocodileJS... <a href="https:&#x2F;&#x2F;CrocodileJS.com" rel="nofollow">https:&#x2F;&#x2F;CrocodileJS.com</a>
chefandyover 8 years ago
I&#x27;m switching to Phoenix because all of the points listed above, plus Elixir is just fun to program in!
tancevover 8 years ago
ASP.MVC Core (with ASP.Identity, EF ...) Web API + IdentityServer4 AngularJS 2 (starting april v4)
rrhyneover 8 years ago
yii2 php framework plus vue.js where inneed SPA like functionality.<p>Yii is the 3rd framework from the same devs, so it&#x27;s modern and unincumbered by cruft. Scaffolding is fast, API gen is automatic and extension ecosystem is strong.
crispytxover 8 years ago
I don&#x27;t use a framework, because with PHP you don&#x27;t need one.
boraturanover 8 years ago
Asp.net core