Live data from Hacker News

Ask HN: What's your favorite way of getting a web app up quickly in 2018?

news.ycombinator.com

551–560 of 569 posts

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#551
post #536

Earlier quoted context omitted.

I don't run a MySQL server on my personal computer. I don't want to run one. If I want to start writing code right away to flesh out an idea, SQLite is the tool I can use, it enables me to develop locally with no SSH/FTP overhead or setting up a VM. It lets me start writing code instantly. And it's performant enough for most any MVP, and the SQL dialect is pretty standard so you can upgrade to Postgres or SQLAnywhere…

What I hear you saying is: 1. You don't necessarily want to develop in the same environment you deploy to. 2. You don't want to install some things on your development machine. Together, those are dictating some development directions for you. That's fine. Those are perfectly valid choices. But I think it's easily summed up in your case as "You use sqlite because it fits well with your current development pipeline."…

I think you should be able to understand that sqlite's "the database is a file, ONE file" is superior to getting a fully configured and setup mysql up and running in speed, ease, and simplicity. Of course, it presents limits in terms of scalability (however because it is linked into the application rather than using TCP, if you want to do 400 sql queries per page view sqlite will be MUCH faster than mysql or postgres is going to be)

And in fact Sqlite is linked with the application, so it presents a development environment much more consistent with production (if that's also using sqlite of course) than any mysql or postgres ever will.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#552
post #527
post #507

Earlier quoted context omitted.

Ok, so yesterday's shared hosting prices are today's VPS rates. The point is they've both become commoditised so the PHP/cheap hosting argument is no longer valid.

So instead of admitting mistake you insist that 10x higher prices are somehow invalid argument. You have convinced me!

Just wait until you see cloud pricing ! That is far "superior" (you know, bigger numbers) than either of the quoted prices.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#553
post #27

Quickly? Firebase + React. Seriously, don’t overlook this combo. Auth just works. Hosting built in, no backend or database server to maintain. No API, just subscribe to a collection right from the view. It just works (and is easily swapped for the real deal if you need it). I made a guide/boilerplate to show you how (includes auth, CRUD, full text search, stripe subscriptions): http://getfirefly.org/

Too expensive to be worth it. I'm totally fine with outsourcing stuff that is difficult and third parties can do better, but in this case the amount of stuff you're playing egregious "cloud" pricing for is too much. Just spend a handful of days learning one of the open source stacks and you'll be set for life. It's totally worth it assuming you'll be making more than 1 app ever.

While firebase has an expensive first tier, Firestore bills more for what you use, like AWS does.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#554

Earlier quoted context omitted.

How is it possible that you sftp the new binary while the sever is running? It won’t let you because the file is in use.

Unlike windows, Linux allows you to delete a binary while it's running (the binary file is not locked).

Windows allows you to rename it.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#556

Rails + heroku is pretty much instant. If you want to pay a little little less a single vps instance can run the web app and the postgres server at the same time.

With a single VPS, you're missing the DB backup that is probably the most important piece if the puzzle provided by heroku.

Yes, heroku's hosted postgres is fantastic. Once you have users you should use that, or aws rds, or learn how to do it properly yourself. Until then a cron job to backup your db every week, or day or every 12 hours or whatever is good enough.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#557
post #519

I'm surprised noone mentioned ASP.NET yet. With Visual Studio Code + .NET Core you have a completely free environment/framework that can run web applications on both Linux and Windows in minutes.

I'm a .NET fan but there's still some friction. There's Azure free tier to be sure, but I'm not sure about the backend - CosmosDB?.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#558
post #87

Earlier quoted context omitted.

It's best to pick a project and try to build it, rather than learn things from the outside. In isolation, Ruby can be annoying to learn because it's syntactic sugar seems unnecessary. In context of an app, though, it's great. The sugar makes sense. Rails has a bit of a learning curve, but that learning curve is well rationalized. To borrow a Steve Jobs-ism: you're starting on the 10th floor, when everyone else is sta…

What are the best resources to learn Ruby/Rails these days?

I, personally, just used the Rails docs, and watched DHH's introduction. The Rails guides are really good (the official guides, that is).

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#559

Earlier quoted context omitted.

> no way anyone is beating a Rails dev in setting one up I disagree. Elixir/Phoenix is as simple as Ruby/Rails and an order of magnitude more performant out of the box. Especially if you already know Ruby and the basics of functional programming. Plus, unlike Rails, you probably won't need separate servers for background jobs, websockets and caching.

And if the next order of magnitude of performance is needed, there's always Crystal

But since it is much newer, the docs and examples are much thinner than Phoenix.

Plus, except for unoptimized database actions (which would equally affect Crystal), Phoenix responses are usually sub 200ms. Some are sub 1ms. So it really isn't in need of performance increase.

Ecto, however, is really not pleasant imo.

Re: Ask HN: What's your favorite way of getting a web app up quickly in 2018?

#560

Vanilla php + html5up + sqlite3. Everyone else here is trying to be stylish and fancy. Your customers don't care what language it's in or whether the code is beautiful. No cutting edge incomplete frameworks, convoluted tooling, piles of inaccurate documentation to read, inexplicable cryptic error messages with a bunch of incorrect solutions on stack overflow, or other incompetently over engineered bullshit. Just go a…

s/php/python and flask or django, depending on the project/ and i agree with the whole comment!

And it makes more sense as OP mentioned Django, not PHP.
Post reply on HN