|
Articles tagged coding
Someone asked: "how do you design your RoR web application?"
To be honest, there's no right or wrong way to create a new app. Some people starts from DB tables, some starts with html, and others starts with user cases. Whatever works for you is the best way. Here are some pointers. Coding
If you just keep in mind of 2 principles above, you'll be doing very ok. Development lifecycle - IterativeBreak big apps into iterations, each iteration with requirements from most critical down to nice to have. People call this agile development. In my example, my final goal for groups.wuyaSea.com is to create a full featured social network site. First release only have most essential features, user can discuss in forum, and write articles, and make friends. that's it. No search (outsourced to google search), no photo sharing, no private messaging, not even tagging (now does). With capistrano, it's easy to keeps on pushing out releases, I often push out new builds like 5 times a day.Major reasons for doing iteration is to minimize risk, cuz bean counters like that.
Maximize your effort. User requirement changes, site traffic changes, life sucks, blah blah. there's no one design that satisfy all the requirements. Changes are unavoidable, eventually rewrite may be the best solution. The best design is one that satisfy the most requirements with least cost, don't over engineer something. Failing is learningI can tell you what i've done. When I was creating groups.wuyaSea.com, i went through 2 prototypes, after a few months, each one becomes too rigid and unmaintainable, then throw it away, and start over. Current site is my 3rd implementation. Making webapp is like doing everything else in life, you learn by just doing it. keep cranking, if it fails, keep trying again.hope that helps. Dorren
Views: 970
Replies: 0
Tags:
coding
|
login or sign up
to participate.
Tags
moneywill |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||