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's your go-to back end for simple projects?

64 pointsby rwolover 8 years ago

35 comments

Brainixover 8 years ago
Flask! It&#x27;s Pythonic and good. Once you&#x27;ve done a couple of Flask projects, you can spin up a new microservice in a couple of hours. It&#x27;s much lighter weight than Django, so it forces you to keep fewer moving parts in your head while hacking.<p><a href="http:&#x2F;&#x2F;flask.pocoo.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;flask.pocoo.org&#x2F;</a><p>Lately, I&#x27;ve been using Flask on the back-end, and React on the front-end.
评论 #12987508 未加载
评论 #12984089 未加载
评论 #12990342 未加载
评论 #12983730 未加载
评论 #12984623 未加载
评论 #12983763 未加载
评论 #12984133 未加载
patrickgordonover 8 years ago
Rails.<p>You get lots of great stuff out of the box. Perfect for me to get up and running quickly for simple&#x2F;side projects.<p>Writing Ruby feels nice and is always a welcome change of pace from a lot of the heavy JS stuff I am doing on frontend atm.
评论 #12986619 未加载
评论 #12986382 未加载
techdragonover 8 years ago
Django<p>Good solid base for quickly developing something quickly.<p>Iterating on a database schema has never been easier since 1.7 the migration tools are built in and the ecosystem of plugins has lots of tools that make development of a prototype extremely easy. It just keeps on getting better, just the other day I found an plugin to automatically generate knockout.js powered AJAX forms without me having to write any of the JavaScript.
评论 #12983361 未加载
oblibover 8 years ago
I guess I&#x27;m old school. For simple projects I still use Perl with CGI.pm and a flat file database that stores data in CGI.pm&#x27;s &quot;name=value&quot; format in a text file.<p>If I need templates I&#x27;ll add &quot;HTML:Template&quot;, for email I&#x27;ll add &quot;Mail::Sendmail&quot;, et cetera, to my perl cgi script.
评论 #12992354 未加载
评论 #12986010 未加载
DigitalSeaover 8 years ago
Google Firebase.<p>As a front-end developer I just can&#x27;t warrant the time setting up a backend, setting up a database, defining routes, handling authentication and the other nonsense that seemingly takes a solid day to get working.<p>Firebase to me is the best choice for simple projects, I don&#x27;t use anything else anymore.
评论 #12983213 未加载
评论 #12984566 未加载
ianamartinover 8 years ago
Pyramid and Postgres on the backend, Mako templates w&#x2F;bootstrap on the front.<p>When I&#x27;m prototyping, my data model is stored procs that return json structures to the templates. I use SQLAlchemy core to connect to the db and execute the procs.<p>A prototype like this is super fast to get running, it gives you a really clean app structure that you can hand off to pretty much anyone and have them work on features, if you&#x27;re lucky enough to have a team. If not, it&#x27;s pretty easy to keep it all in your head at once.<p>As things grow, you can replace components as you need to.<p>You start off rendering JSON anyway, so if you need a more advanced interface up front, you can use React or Angular or Ember to hook into the data model. Whatever you want, really.<p>If things get more complex on the backend first and you need more structure there, you can refactor the SQL (because it was probably really gross the first time you wrote those &quot;dump everything&quot; procs). If you end up with a really complicated data model, you may have to eat the performance hit and switch to Alchemy proper for maintainability. Either way, the choice is yours.<p>Sometimes the simple app is the one you need, and the biggest challenge is scaling quickly. That&#x27;s easy too because the database handles transactions inside the procs. Run one instance of the app per core on your server and put them all behind nginx and repeat on as many machines as you need to cover your traffic needs behind HAProxy. Now you&#x27;re maximizing multi-core performance per machine without having to write async&#x2F;await code.<p>It&#x27;s probably not for everyone, but I find it gives me an enormous amount of flexibility, scales well in every sense of the word, allows the app to develop organically, and has very few drawbacks.
yegortimoshenkoover 8 years ago
Clojure and Elastic Beanstalk.<p>You take an arbitrary Ring-compatbile HTTP server, write a handler, and glue together whatever you need to. And you most likely don&#x27;t need a routing library, you can just use an array-map for that. When it is time to deploy, you create a jar that contains your whole project and upload it to AWS.<p>Rollback is easy, too, as you don&#x27;t overwrite your previous version. Funny enough, it means you can treat versions as immutable values of your application over time. I use yyyymmdd for versioning in most projects, that works great with this approach.<p>There are many discussions on virtues of Clojure&#x27;s dynamic development environment, so I&#x27;ll skip that.
tedmistonover 8 years ago
Django.<p>The ORM is really usable and simple CRUD apps are pretty easy after you&#x27;ve used it a few times. Django Admin for free is nice too.
评论 #12983398 未加载
kornakiewiczover 8 years ago
The language you know the most would be best fit. Maybe Python&#x2F;Rails&#x2F;Go could be most optimal fit, if you know very good Java or PHP and don&#x27;t want to waste time on learning something new - stay with that.
评论 #12983209 未加载
aMaynover 8 years ago
Mojolicious. ( <a href="http:&#x2F;&#x2F;mojolicious.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mojolicious.org&#x2F;</a> )<p>I am a sysadmin. I like Perl and its plethora of modules. With Mojolicious, I can write a simple web app&#x2F;prototype within the hour.
taurathover 8 years ago
Node&#x2F;Express for web projects. Simple plugins for everything I&#x27;d ever want.
eb0laover 8 years ago
Just PHP and MySQL. I coded a simple back end for a web app 10 years ago with very simple templates. Runs fast as hell and I don&#x27;t need any API documentation or dependencencies or whatever.
rbalsdonover 8 years ago
C. Why the hell does everything have to be a web app?
评论 #12983410 未加载
评论 #12983709 未加载
评论 #12986630 未加载
skybrianover 8 years ago
Go with App Engine. There is a free tier and I&#x27;ve had projects running there for years.
评论 #12984531 未加载
GFischerover 8 years ago
ASP.NET deploying to Azure, if you&#x27;re into the ecosystem it can&#x27;t get much simpler than that (a web page up an running in minutes).<p>It&#x27;s now cross-platform and there&#x27;s an Azure free tier.<p>Of course, other people can get similar productivity within their own most familiar stacks :) (someone mentioned an hour for a similar setup with Rails)
skrowlover 8 years ago
ASP.NET web API. It&#x27;s amazingly simple and fast. With .NET Core it even runs on Mac &amp; Linux now.
alexgaribayover 8 years ago
Elixir with Phoenix. I can spin something up very quickly and have it deployed on Heroku.
doktorjeepover 8 years ago
AWS Lambda functions and some kind of database. Lately that has been graphene. AWS SWF, SQS, SNS added in the mix allow me to POC distributed apps quickly. Finally, I&#x27;ve worked with API Gateway recently when needing to support mobile devices.
flukusover 8 years ago
Dotnetcore, mainly because I&#x27;m a .net developer by day.<p>Going to give crystal a go for my next project though.
nicomfeover 8 years ago
Im using firebase as well, it is pretty easy and good enough for a small project
beemboyover 8 years ago
Java frameworks are conspicuous by their absence. Are there any lightweight Java frameworks for the java&#x2F;android folks out there?
antoaravinthover 8 years ago
Grails! If your like me (into Java world), then Grails is the right choice.
wallaweover 8 years ago
Stamplay has been awesome for me as a front-end dev to get things up and running quickly. Rails is great as well, esp if SEO is a consideration.
ajeet_dhaliwalover 8 years ago
Node&#x2F;Express, I love me some JavaScript.
schmidtyover 8 years ago
Nancyfx
评论 #12984230 未加载
milankragujevicover 8 years ago
apache2, php7.0, mysql-server, libapache2-mod-php7.0 and php7.0-mysql.<p>Yes I&#x27;m not cool :P but when did I care about being cool...
评论 #12984065 未加载
himanshuyover 8 years ago
Spring-Boot.
leemalmacover 8 years ago
Node(Express) or Python(Flask) backed by PostgreSQL&#x2F;MongoDB. Love both.
cliffcroslandover 8 years ago
Luminus - compilation of Clojure libraries for web dev. Postgres.
ravenstineover 8 years ago
A Node.js skeleton, Express and&#x2F;or AWS SDK, and PouchDB.
ojiikunover 8 years ago
a few lines of self-serving perl with SQLite for really simple stuff. ninjaframework with MariaDB for everything bigger.
navyadover 8 years ago
Django, really easy get started with.
ruairidhwmover 8 years ago
Laravel :)
wprapidoover 8 years ago
PHP + mySQL &#x2F; mongoDB
pizzaover 8 years ago
bottlepy