4 ms·
From 2 days to a year. Depends on the person. I can knock it out in about 10 days if using a good framework like Django or Rails. But I'm no rockstar. I would
by orangethirty 13y ago
From 2 days to a year. Depends on the person. I can knock it out in about 10 days if using a good framework like Django or Rails. But I'm no rockstar.
I would approach this by explaining the system on paper. Then break out the functionality into paragraphs. Each paragraph is its own library. Do those functions first, then move on to the actual program itself (what implements the libraries). Then its just a matter of making sure everything leads to the right place.
Say:
Puppybook is a facebook for puppies.
paragraph #1
Each user logs in. Using two factor authentication.
#2
the user arrives to his profile,
where he can see the latest puppy posts
..and so on.
For paragraph #1 I need to write the authentication code.
For #2 I need to write the code to pull the latest puppy posts from the database into the system.
Then you would import those libraries and do a regular MVC type app. I suggest your read up on one of those. If you are lost, then check out protocademy.com. You can learn to do just that there.
- contemplating1 13y agoThat sounds like it would be pretty useful. What would you suggest as far as the database? I plan on using Postgres on Heroku and will be either be using SQLAlchemy or Django's ORM. What would be a good way to approach this problem? I was planning on doing something similar, making a diagram of all of the models/tables I will need, and additionally writing out all of the details of each relationship and possible entities I will need to add in the future.
- orangethirty 13y agoThat sounds like a good setup. Just dont waste time thinking and get to coding.
- contemplating1 13y agoRight, what about my level of knowledge of Javascript? Should I spend a few days hitting it really hard just to learn it or is it something I can pick up on the go if I have a background with Python/C++/Java?
- orangethirty 13y agoJust learn as you build. Its the best way.
- dahotre 13y agoFor the initial stage, your schema will probably be in a flux and ONLY for that reason, I would suggest using MongoHQ or MongoLab on Heroku. After a while, if you decide otherwise, you can always go back to Postgresql.