颤动中特征优先的驱动结构
我有一个关于特征优先结构的疑问。在此体系结构中,如果我们共享了Roseources-型号,存储库等,则可以在共享
,common
或其他类似的文件夹中定义它们。但是我从其他方面有疑问。
假设Instagram,我们具有 - 主页(同一页面)中其他人的故事和帖子之类的功能。我认为我们应该将其分为两个不同的功能,因为它们是独立的。但是我们应该如何加入他们以及哪个文件夹?如果我们创建了“家庭”之类的新功能,那是不行的,因为它不应取决于其他功能。因此,我认为我们应该创建共享/演示/页面/家庭喜欢的功能以加入它们吗?我对吗?
我认为我们没有其他方式。
我有两个功能 - 帖子和用户以及共享文件夹,共享包含此情况的共享模型和实体。但是我不知道如何在一个页面中连接两个功能 - 帖子
用户?
I have a question about feature-first structure. In this architecture, if we have shared roseources - models, repositories and etc, we can define them inside shared
, common
or other folders like these. But I have question from other aspect.
Assume instagram, we have features like - stories and posts from other people in the home page (same page). I think we should divide it to two different features because they are independent. But how we should join them and in which folder? If we create new feature like "home" it is not okay because it should not depend on other features. So I think that we should create shared/presentation/pages/home like feature to join them in one place? am I right?
I think we don't have other way.
I have two features - posts and users and shared folder, shared contains shared models and entities for this case. But I don't know that how can I connect two features - posts
and users
in one page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论