Live data from Hacker News

Ask HN: I want to write a simple webapp, how should I start?

news.ycombinator.com

51–60 of 60 posts

Re: Ask HN: I want to write a simple webapp, how should I start?

#52
It all depends on how much time you have and what your end goal is. Do you want to be a web developer for your career or just a hobby? How much time do you want to put into this web app? Python/Django/Flask or Ruby on Rails are both great choices but I would go pick up the book or search on the internet for a book called PHP Apache and MySqL web development by Wrox. They walk you through building a web app for a music collection which is just what you want anyway.

Re: Ask HN: I want to write a simple webapp, how should I start?

#53
when I read this question, I thought - let's see how long it takes for me to do this from scratch. so I got conscript, downloaded scalatra, started coding , and about 26 minutes later, I have created this webapp exactly as you specified.

just another data point.

Re: Ask HN: I want to write a simple webapp, how should I start?

#54
post #53

when I read this question, I thought - let's see how long it takes for me to do this from scratch. so I got conscript, downloaded scalatra, started coding , and about 26 minutes later, I have created this webapp exactly as you specified. just another data point.

That is exactly the reason why I want to do it:

The task is not very complex, as some mentioned I could to it in Excel. So I'm confident that I won't run into any big problems (aka stuff I can solve with a little Google-Fu).

It's not a useless app, I can see myself using it. Maybe for the magazines, maybe for wine/booze-collection

It should cover a lot of basic operations like talk to a backend, add/delete/update a databasae, handle (at leaset one) user and so on.

Re: Ask HN: I want to write a simple webapp, how should I start?

#55
post #22
post #19

Earlier quoted context omitted.

Yeah, data entry will be a whole lot of work. But since it is just for me, I can take my time :)

It's not just data entry. The actual search aspect is gonna be challenging (it's not harder than the web itself, but you need to know where to look, the keyword would be either "Lucence, "Solr" or "Elastic Search", for the record). One thing I want to note is that you didn't mention which "kind" of webapp development you care about (ie frontend, backend or both). Roughly, the distinction is whether you care about mak…

Hm, interesting point. Although I don't think it will be a lot of data, but I'll look into it when I have it up and running.

Re: Ask HN: I want to write a simple webapp, how should I start?

#56

It all depends on how much time you have and what your end goal is. Do you want to be a web developer for your career or just a hobby? How much time do you want to put into this web app? Python/Django/Flask or Ruby on Rails are both great choices but I would go pick up the book or search on the internet for a book called PHP Apache and MySqL web development by Wrox. They walk you through building a web app for a musi…

This one: http://it-ebooks.info/book/1060/ ?

It'll be just a hobby, so I have the luxury of taking it slowly :)

Re: Ask HN: I want to write a simple webapp, how should I start?

#57
I think you should learn the fundamentals of programming first. Choose a language, probably one commonly used in web development (JS, Ruby, Python, Java, etc), and go through tutorials on basic programming. After you master that (maybe 1+ years) then start learning web development.

Most people here seemed eager to point you to various tech stacks and toolkits. But if you go down that road you'll be in over your head without understanding the most important thing, which is how software works. And you might also take time to understand how computers, electronics, networks, and compilers work before getting into web development too (i.e., a computer science approach).

Your first development projects should be along the lines of number sorting, playing tic-tac-toe, or http://projecteuler.net/ , not a search engine.

Re: Ask HN: I want to write a simple webapp, how should I start?

#58

I'd highly recommend http://meteor.com for building you app. It's new and shiny and very easy to learn. Here are some reasons to develop your app with Meteor http://www.sitepoint.com/7-reasons-develop-next-web-app-mete...

I would not recommend this for beginners at all. Not going down on Meteor but a traditional MVC framework gives beginners a much more broad understanding of web technologies that they can use with any language and most frameworks.

Re: Ask HN: I want to write a simple webapp, how should I start?

#59
post #8

It depends on your motivation. Do you want the tool? Or do you want the experience of building it? Is it just for you, or do you want/hope/expect other people to use it? If it's just for you, and you just want the tool, use a google spreadsheet. If it's just for you, and you want the experience of building it, then create a simple PHP script, and use a flat file to store your magazines. If your hope is to build a "re…

Thanks. It's just for me, I was hoping to use it as a kind of springboard to get into coding. I used a few of the ressources (including Learn XX in XX days), but I think I'll learn best, if I have something to work on. So I'll probably go for the real web app part, just to learn. It'll be ugly, probably, but hey :)

That's a great answer. It's a great example app for learning on. How it looks isn't important. There are plenty of tutorials out there for building a simple CRUD app. I think those would be a good place to start.

Re: Ask HN: I want to write a simple webapp, how should I start?

#60
post #15

Try Base Rails: https://www.baserails.com It's not free, but you can run through at least one of their full blown web app tutorials in less than a month so you'll only pay $25. I've been helping a friend who is trying to learn to build webapps and this has been his favorite resource so far.

Thanks, I'll have a look at that. The courses look really interesting. Hmm.

Hey I'm Alex, one of the cofounders of BaseRails. There's a lot of great advice in this thread already, but here are my two cents. Learning the fundamentals of coding is somewhat different from learning to code to build X. If you're focused on the latter, find a good tutorial on how to build something similar to X (or a simplified version of X). You'll pick up the basics of the language/framework along the way, and when you've finished the tutorial, you can then customize what you've built to match the app you were envisioning all along.

If you have any specific questions about BaseRails or Rails/coding in general, I'm happy to help. Feel free to reply back here or shoot me an email at alex@baserails.com.

Post reply on HN