![]() Rails has a nice semantic way to declare model associations (you should pause for a moment and read about them here). Here is a question we can ask ourselves: Will our product still be viable without an attachments feature? In other words, will we still be able to test our core value and growth hypotheses without it? Remember, our value hypothesis is that users want a simple app that organizes our 4 main resources, and the growth hypothesis is that users will directly invite other users in to use it.īased on this analysis, then, the answer is no: we can build out an attachment feature later if users want it. In our example app, for example, do we need attachments to our Action Items and/or Agenda Items? This is where the rubber meets the road for your MVP and where Lean philosophies turn into practice. Here is the list of models we'll be using (to start) in our example app (you should be working on your own app idea in parallel with this tutorial series to get the most out of it):Īt this point you should have questions whether or not to add more. Many devs like to use Unified Modeling Language (UML) modeling tools to build out their models (attributes and relationships), but I prefer to make a simple list - get it in the code ASAP - and iterate from there. You should be in Minimum Viable Product (MVP) mode here, so don't add more models than you absolutely need to as you start. attributes you'll be storing in a database) very often.Īt this stage in the game I'd recommend quickly list out the model names. Through the processes of developing your app you will add/remove models and add/remove/modify columns (i.e. ![]() ![]() The cool thing about writing code in general, and Rails in particular, is that you don't need to get this nailed from the start. ![]() First things first: list out your models the “cutups”) from your designer to merge in to your app. Moving along in our web and mobile development series, here we'll discuss the process of prepping Ruby on Rails models before receiving HTML views, CSS, and initial JavaScript files (i.e. ![]()
0 Comments
Leave a Reply. |