Live data from Hacker News

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

news.ycombinator.com

431–440 of 569 posts

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

#431
post #58

Google app engine is my go to for web apps that need to be used in production at a small scale while I'm still evolving the functionality. What you prototype transfers into prod surprisingly well. The best part is I don't really have to worry about security - I just setup one of the default available authentication types and define access control in the routes in app.yaml. You don't have to be worried a hacking group…

What do you find problematic about Cloud Datastore for small-scale projects?

I work on an open source implementation of it, so I'm always curious to hear about use cases and opinions.

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

#432
post #310
post #233

Earlier quoted context omitted.

This is just bs. PHP is thriving everywhere expect Silicon Valley.

Even there, aren’t Facebook and Etsy using it, at least?

And WordPress, Yahoo, Salesforce, Adobe, eBay and on and on. You'll have a hard time finding any tech company that doesn't use it to some extent.

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

#433
post #270

Earlier quoted context omitted.

Your start is good but you add complexity on top of it. Install Golang on your VPS, clone the source code on it and compile it there instead of messing with cross compilation. Also use sqlite to avoid the pain of setting up a SQL server, there is no need for it. You can then easily get systemd to supervise your binary. This is how I host all my web apps, the main difference is that I don't use Go but Nim. If you want…

And what about zero downtime deploy (upgrading the app binary and updating the database schema)? It's difficult to do without some kind of reverse proxy and without a database server.

How often is that really required? OP asked for a quick deploy, for most apps it's enough to put the db into read-only mode and then update the schema. Upgrading the app binary is as simple as replacing it on the file system and then restarting the service.

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

#434
The “new” Microsoft stack is incredibly productive.

For $0 and less than 15 minutes I can spin up an ASP.NET Core app with Angular 6 with a free private git repo in VSTS. CI/CD fully setup to deploy to a free Azure App Service, for a few extra bucks per month I get deployment slots to separate out my dev/test/prod deployments. LetsEncrypt for SSL. Another $5 a month I get a fully managed SQL database that connects with my built in ASP.NET Core Identity to manage user logins, forgot passwords, etc. Auto-Healing, SSL, Backups, Geo-replication, AutoScale, DNS, CI/CD, cross platform IDEs, and feature/bug tracking are all included. So if my app gets hot I just pay more money to allow it to scale up and nothing else on my stack has to change.

All this in 15-30 minutes from my MacBook without fooling around with docker files, virtual machines, or Kubernetes.

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

#435
post #366
post #270

Earlier quoted context omitted.

Your start is good but you add complexity on top of it. Install Golang on your VPS, clone the source code on it and compile it there instead of messing with cross compilation. Also use sqlite to avoid the pain of setting up a SQL server, there is no need for it. You can then easily get systemd to supervise your binary. This is how I host all my web apps, the main difference is that I don't use Go but Nim. If you want…

Why put the source on the VPS? Go cross compilation is much easier then you make it sound. GOOS=linux GOARCH=amd64 go build Nim can't beat that.

That's awesome, I didn't realise it was that easy with Go.

Of course, I would say keeping the source on the VPS is just as easy.

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

#436

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…

This comment is highly presumptuous about the actual development experience of more modern languages and tools. > True speed comes when you don't have to deal with other people's bugs and poorly designed mistakes. PHP is often, in practice, a language where bugs are more likely compared to these "stylish" other languages you mention. [0] [0] http://delivery.acm.org/10.1145/3130000/3126905/p91-ray.pdf?... " For [langu…

It's too late for me to edit my comment, but here is the proper link:

http://dx.doi.org/10.1145/3126905

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

#437
post #432
post #310

Earlier quoted context omitted.

Even there, aren’t Facebook and Etsy using it, at least?

And WordPress, Yahoo, Salesforce, Adobe, eBay and on and on. You'll have a hard time finding any tech company that doesn't use it to some extent.

And slack

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

#438

Earlier quoted context omitted.

>>There are reasons people use frameworks. Security is one of them - I _love_ assessing apps which are written in plain PHP because they're almost always a trainwreck. It’s totally OK for a prototype to be a trainwreck because its purpose is to give you the ability to launch it in front of potential users, show them a few features and get their feedback.

If it is open to the public, your train wreck cannot be open to common vulnerabilities like sql injection. Full stop. You can avoid unit or integration tests, not complete features, or cut any corner you want aside from basic security.

Don't presume anyone writing PHP is a trainwreck. With PHP7+ you can write modern applications that are perfectly secure, as much as anything you'd write with any other scripting language.

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

#439

My answer is probably seen as unconventional on Hacker News, but keep an open mind and you'll be pleasantly surprised. I suggest you sign up for a free account at https://apex.oracle.com/ to try out Application Express (APEX). It's a free, web-based development tool for building modern, responsive and secure web applications. It's a mature product that has existed for around 18 years, and it has a long list of featur…

Oracle and free in same sentence is laughable to say the least, everything they touch turns into money grabing venture, and even if free now there is no guarantee it will be free tomorrow.

The fact remains that Oracle has not charged a dollar for APEX for the last 18 years and counting.

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

#440
post #70

For some reason people seem to constant doubt Ruby-ists and Rails Devs. I completely get that other languages have huge benefits over Ruby. Golang being compiled or Java running anywhere, etc... And ruby is slow, totally understood. But if youre talking about getting a functioning webapp up and running quickly ... no way anyone is beating a Rails dev in setting one up. The piping and scaffolding are all built in and…

The benefit of Golang isn't that it's compiled. It's that it has a good IO and concurrency model and the language is strict enough to force certain good practices on developers. IMO it would be almost as good even if the code execution were as slow as Python or Ruby.

I hear this a lot about Go, but doesn't the webserver handle concurrency for you in most cases? I don't do a whole lot of explicit threading work when I write webservers in Java for example. Or is there something I'm missing that you use the Go primitives for in these cases?
Post reply on HN