nWidart/laravel-modules作者对多模块开发的官方解读

About the Author

My name is Nicolas Widart, and I'm a flexible enthusiastic software engineer and consultant. I'm a Laravel framework specialist; an open-source contributor and always on the lookout for new technologies and paradigm changes.

关于作者

我的名字是Nicolas Widart,我是一个灵活热情的软件工程师和顾问。我是一个Laravel框架专家;一个开源的贡献者,并且总是在寻找新的技术和范式的变化。

Plugin Interpretation

Let me start by saying Laravel is an amazing framework. However when it comes to writing more complex and bigger applications, I find the default structure laravel comes with cumbersome and not ideal.

插件解读

让我先说说Laravel是一个了不起的框架。然而,当它涉及到编写更复杂和更大的应用程序时,我发现Laravel的默认结构是很麻烦的,并不理想。

The way the default laravel installation comes with is basically all the application logic inside an app/ folder. This works, but I would not suggest going this route.

默认的laravel安装方式基本上是将所有的应用逻辑放在一个app/文件夹里。这样做可以, 但我不建议走这条路。

Just imagine having a medium sized applicated where everything is in the app/ folder, worse, every model is in the root of the app folder! At some point you will spend a lot of time looking for things because everything is bunched together.

试想一下,如果有一个中等规模的应用程序,所有的东西都在app/文件夹里,更糟糕的是,每个模型都在app文件夹的根部!你会花很多时间寻找东西,因为所有的东西都在一起。在某些时候,你会花很多时间来寻找东西,因为所有东西都在一起。

Enter the modular world
This is what being modular is trying to resolve. You split of the business logic into different parts, which belongs together. If you're into Domain Driven Des

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
11:10:22.921 WARNING: Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-cell-item/u-cell-item.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\examine' 11:10:22.922 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-cell-item/u-cell-item.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\pensionResources' 11:10:22.931 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-mask/u-mask.vue' in 'D:\ideaWorkSpace\ehl-wx\pages\service' 11:10:22.936 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-section/u-section.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\examine' 11:10:22.942 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-section/u-section.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\knowledgeBase' 11:10:22.946 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-section/u-section.vue' in 'D:\ideaWorkSpace\ehl-wx\pages\notice' 11:10:22.950 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-select/u-select.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\examine' 11:10:22.957 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-select/u-select.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\knowledgeBase' 11:10:22.962 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-select/u-select.vue' in 'D:\ideaWorkSpace\ehl-wx\pages\service' 11:10:22.968 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-select/u-select.vue' in 'D:\ideaWorkSpace\ehl-wx\subpages\assessment-admission' 11:10:22.975 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-select/u-select.vue' in 'D:\ideaWorkSpace\ehl-wx\subpages\assessment-orgHomeBed' 11:10:22.975 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-select/u-select.vue' in 'D:\ideaWorkSpace\ehl-wx\subpages\assessment-respiteCare' 11:10:22.983 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-th/u-th.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\fms' 11:10:22.989 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-upload-enclosure/u-upload-enclosure.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\examine' 11:10:22.999 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-waterfall/u-waterfall.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\examine' 11:10:23.006 Module not found: Error: Can't resolve '@/uni_modules/uview-ui/components/u-waterfall/u-waterfall.vue' in 'D:\ideaWorkSpace\ehl-wx\applicationCenter\knowledgeBase'解决
07-14

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值