您的位置 首页 php

PHP框架开发网站或APP的优缺点

一、Laravel框架

0e7d37c23ce745d68b992709813ea306


Laravel是一套简洁、优雅的PHP WEB开发框架。集合了PHP较新的特性及各种设计模式,适合大中型项目开发。

优点:
1.Laravel社区比较强大,有丰富的扩展包及工具;
2.具备任务自动化、缓存、身份验证、hash加密、事务等功能;
3.框架结构清晰,注重代码模块化(抽象了任务,中间件,服务等)和可扩展性,路由更系统快速高效;
4.支持Composer;
5.支持处理跨站请求伪造,进行form表单post提交时,须传入{{ csrf_field() }};
6.独树一帜的.env环境文件,方便系统配置和不同平台的开发。

缺点:
是基于组件式的框架,相对臃肿。


二、ThinkPHP框架
TP框架是一套快速兼容简单的轻量级国产PHP开发框架,使用面向对象结构和MVC模式进行开发。支持MySql、Sqlite等多种数据库和PDO扩展。
TP框架包含了底层架构、模版引擎、缓存机制、插件机制、角色认证、表单处理、兼容处理、基类库、数据库访问层等常用组件,对跨版本、平台、数据库移植比较方便;适合中小型项目开发。

优点:
1.简单易用(View,Model,Controller负责各自工作);
2.有支持XML标签库技术编译型模版引擎;支持两种模版标签,动态编译、缓存技术;支持自定义标签库;
3.独特的数据验证及自动填充和MD5数据加密等功能;
4.部署简单,只需一个入口文件;
5.上手快。

缺点:
模版相对固定,导致思维容易固化。


三、Yii框架
Yii框架是一套基于组件,用于大规模web应用开发的高性能PHP开源框架,适合大重量型web应用开发。

优点:
1.开发速度快,性能好且功能丰富;
2.纯OOP开发,模型使用方便;
3.支持composer包管理工具;
4.支持命令行工具开发,可快速创建一个web应用程序代码;
5.重用性高、可扩展性强。

缺点:
中文文档较少,model层考虑较少;需精通php,熟练OOP编程。

来源:

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

文章标题:PHP框架开发网站或APP的优缺点

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

关于作者: 智云科技

热门文章

评论已关闭

26条评论

  1. amlodipine mayne pharma share price During the late 1980s and for much of the 1990s he worked in a number of management positions, including a stint at Guy s and St Thomas s Hospital Trust in London and for a mental health service in Northumberland

  2. The experimental procedures are shown in the Materials and Methods section You will be placed on the treatment table in the same position you were in for your simulation

  3. By the early 1940 s, the world s largest chemical manufacturers, including Imperial Chemical Industries ICI, got word of the triphenylethylene development, and seized the opportunity to expand this new class of compounds

  4. Soy is often used as a food additive soy lecithin, soy oil and can be found in processed food, such as salad dressing and baked goods

  5. It is a SERM, so it will reduce the estrogen levels within the body I don t see how it can effectively help burn fat We investigated the estrogenic capacity of 8 PN and genistein as representatives of phytoestrogens and tartrazine as a synthetic xenoestrogen in common use by a yeast bioluminescent assay and MCF 7 cell proliferation assay

  6. 6 G, Tsc2 mice at 5 6 months of age were randomly assigned to receive IgG, aIL 6 200 ug, 3 times a week, rapamycin 3mg kg 3 times a week or the combination aIL 6 and rapamycin for one month

  7. cialis finasteride 4 times a week We must continue with our plans to turn around the Crown network to ensure we keep these branches on high streets and in city centres across the UK Since a fine needle roller is used to create controlled skin injury and trigger skin cell proliferation, he emphasized the importance of considering the depth of the roller used in this procedure by referencing a study that reported increased hair growth with the use of a needle with a depth of 0

  8. Knudsen UB, Kronborg CS, von Dadelszen P, Kupfer K, Lee S W, Vittinghus E, Allen JG, Redman CW Due to his age, we were reluctant to do surgery because of thr chance for aspiration pneumonia

  9. Those patients in whom letrozole was stopped due to side effects were prescribed another AI n 3 or tamoxifen n 2 Relevant medical information, medical diagnosis, histological findings and ER and PR statuses were obtained from the hospital medical records

  10. Heart Failure In patients with decompensated congestive heart failure, hepatic and renal clearance are both reduced, probably because of hepatic congestion and decreased renal plasma flow, respectively

  11. Charlie smiled bitterly and said, This is the over the counter substitute for furosemide blood pressure lower during period news brought by a business traveler from the south Purification of Edited Cells

  12. That s because they have greater androgen levels as compared to slimmer women Breast tumour tissue microarrays were profiled to evaluate the frequency to which EGFR and YB 1 are expressed in triple negative breast cancers

  13. We next tested whether SWELL1 is also required for VRAC in human ОІ cells and applied a similar approach

  14. Dobruch Sobczak K, Piotrzkowska WrГіblewska H, Klimoda Z, Secomski W, Karwat P, Markiewicz Grodzicka E, KolasiЕ„ska Д†wikЕ‚a A, Roszkowska Purska K, Litniewski J

网站地图