您的位置 首页 php

Laravel工程化一、令人眼花缭乱的框架

Laravel工程化一、令人眼花缭乱的框架

框架层出不穷

PHP的框架令人眼花缭乱,从远古时代的ZendFramework、CodeIgniter到Laravel、Yii,从ThinkPHP到Symfony,从鸟哥Yaf到以swoole为基础组件的Hyperf、Easyswoole,更有go、php相结合的Spiral。

随着PHP版本的不断升级,PHP自身的语法带来的变化引导着框架也在不断的更新, 在我司目前运行的项目中,仍使用超过四种以上框架及其不同的版本,ZendFramework1 到Laravel8 ,PHP的版本也是覆盖了多个, 而这种情况由于古老项目的存在一时间无法改善,这给开发及运维同学都带来了不同程度的麻烦。

倾心于Laravel

言归正传,Laravel被称为优雅、快捷的框架。从项目体验来说,个人感觉Laravle非常适用于5个以上项目或服务的团队,如果是单个项目那就取决于个人喜好与项目的实现要求。

当然当决定了使用某个框架之后,整个团队都会逐渐趋向于接受它,不管是什么框架。 而我们决定在新项目中使用Laravel的重要原因有:

  1. 团队成员都比较熟悉,而且厌恶了多个框架同时开发带来的不统一。
  2. 有助于制定开发规范,提升团队的整体开发效率
  3. 方便内部项目的划分与抽离

从自身的情况总结以下几个优点:

  • 框架结构、分层明确,容易入手
  • 组件丰富,开箱即用,如queue、event、artisan、console、cache等等
  • 社区活跃,有问题可以快速解决
  • 框架更新积极,有助于我们及时跟紧PHP新的使用方式及开发理念

准备工作

接下来我将使用PHP8+Laravel8来分享后面的文章

首先需要环境准备:

  • 安装Docker
  • 下载代码:
  • 使用项目中的 Dockerfile 构建本地开发环境

框架列表

框架

学习文档

Laravel

Spiral

ZendFramework(不维护)

Yii

ThinkPHP

CodeIgniter

Hyperf

#/

Easyswoole

Yaf

文末福利推荐

  • 本文代码:
  • 参考文档:
  • 外卖领券,感谢关注[谢谢]
Laravel工程化一、令人眼花缭乱的框架

文章来源:智云一二三科技

文章标题:Laravel工程化一、令人眼花缭乱的框架

文章地址:https://www.zhihuclub.com/79135.shtml

关于作者: 智云科技

热门文章

评论已关闭

37条评论

  1. Magnificent beat ! I would like to apprentice whilst you amend your web site, how
    can i subscribe for a blog site? The account helped me a appropriate deal.

    I had been a little bit acquainted of this your broadcast
    provided shiny clear concept

  2. Place your order online now, and we will obtain the prescription before dispensing your medication or a history of heart attacks or strokes should get medical advice from their healthcare provider before starting Viagra or Cialis DailyMed-a, 2022; DailyMed-b, 2022

  3. All the results were within the acceptance criteria as stated in the recommended guidelines Guang Cheng Shie – Experimental

  4. If you notice that your child s skin tags have become irritated itchy or bleeding or sore then it is advisable to speak to your physician right away

  5. Vardenafil is used to treat male sexual function problems impotence or erectile dysfunction-ED

  6. I think a strength of theirs is that they are a smaller clinic that is invested in their patients.

  7. Thrombin activated platelets activation dependent on PARs are a source of 12 and 15 HETE, as well as TxA2 2, 74, 75

  8. Because CBD oil doesn t have the same caveats, doctors are feeling more and more comfortable recommending it to patients with chronic pain I spent far too much money on a variety of wigs

  9. The primary outcome involved changes in decisional conflict scores between the intervention and control groups at 12 months postrandomization Most contemporary BC regimens Table 1, however, do not exceed low cumulative anthracycline doses eg, doxorubicin 240 mg m 2

  10. Dionne Odom JN, Demark Wahnefried W, Taylor RA et al 2017 The self care practices of family caregivers of persons with poor prognosis cancer differences by varying levels of caregiver well being and preparedness 27, but a trend test across categories 1 4 showed evidence for lower risk p 0

  11. Unlike AIs, such as aromasin, letrozole, or arimidex, which actually reduces the flow of estrogen in the body, nolvadex simply blocks estrogen from the receptor Ahmed S, Rahman A, Hasnain A, et al

  12. The authors also performed RNA immunoprecipitation using TAC treated murine adult ventricles from wild type or Tg779 mice or neonatal ventricles expressing Brg1 to show that Mhrt779 coimmunoprecipitated with Brg1, providing further evidence that Mhrt779 and Brg1 can physically interact with each other

  13. com 20 E2 AD 90 20Viagra 20Femenino 20En 20Colombia 20Nombre 20 20Viagra 20Online 20Bestellen 20Rezeptfrei 20Per 20Nachnahme viagra online bestellen rezeptfrei per nachnahme An industry group on Monday reported a fall in contracts topurchase previously owned U

  14. In a recent large population based study on the outcomes of progeny born after ART in the general population, there was no increase in the overall risk of cancer among British children born after assisted conception during the 17 year study period 61 Help Liver Detoxification Along

  15. Wnts were upregulated and ОІ catenin became transcriptionally active after DT induced damage, but not after neomycin treatment

  16. PLoS ONE 10 3 e0116373 She was soooo sure of the date she ovulated, due to the dates of her period, but she was wrong

  17. Today 4 72, the EBV hybridoma technique see Cole et al To determine the effects of endogenous estrogen as a result of aromatase expression on malignant growth of cervical cancer cells, we did anchorage independent growth assay as described previously 28

  18. com 20 E2 AD 90 20Cuanto 20Tarda 20En 20Hacer 20Efecto 20El 20Viagra 20Femenino 20 20Pastilla 20Viagra 20Para 20Mujeres cuanto tarda en hacer efecto el viagra femenino Girardi has already made one adjustment, announcing late Tuesday night that David Huff would start on Saturday afternoon against the Red Sox in place of Phil Hughes

  19. SEM assays of biofilm formation on c, d polyurethane and e, f silicone catheters surfaces

  20. DESeq dataset was then created with DESeqDataSetFromTximport and lowly expressed genes were filtered based on having at least 10 counts in more than 3 samples

  21. Once it was confirmed that the baseline endometrial thickness was less than 4 mm, there was no cyst in the ovaries and serum estradiol levels were less than 50 pg ml, the patients were then allocated into group A n 54 and group B n 50 Figure 1 by a nurse on the basis of a computer generated randomization table

网站地图