Ask HN: How do you design/refactor your web app code (not frontend/UI design)
When I took CS software eng. class back in the day, we used to get assignments where the first part would be to just submit a design. In other words, just a skeleton of the classes, methods etc (primarily did Java/C++ back then).
We were taught that anything that is a "noun" would usually be a class and anything that is a verb would be its methods. More or less. Of course, it is just a guideline and not carved in stone.
When creating web apps, do you use this methodology at all ? I like to do a skeleton design first and then put the actual code later. For example, the easiest one would be the "User" object. User is a noun, a user has username,password etc. What else ?
2 comments
[ 2.4 ms ] story [ 11.0 ms ] threadSee ASP.NET, GWT, RoR, etc.