Easy to use/learn PHP framework?(易于使用/学习的 PHP 框架?)
问题描述
我需要构建一个 php 应用程序,我正在考虑使用一个框架(以前从未使用过).我一直在浏览一些,但其中大部分看起来有点复杂,我真的很喜欢我看到的关于 Symfony 的东西,但看起来我必须花一个月的时间才能真正了解如何使用它,一个月后我可以在没有框架的情况下编写我心目中的应用程序 5 次.但我想用一个来标准化"我的代码并防止错误.
I need to build a php app, and I was thinking about using a framework (never used one before). I've been browsing around some but most of them seems kinda complicated, I really liked what I saw about Symfony, but it looks like I will have to spend like a month until I really understand how to use it, and in one month I could code the app I have in mind 5 times without a framework. But I want to use one to "standardize" my code and prevent bugs.
所以我想知道是否有人可以与我分享您认为哪些 php 框架更容易学习使用.
So I was wondering if someone could share with me which php frameworks you think are easier to learn how to use.
我的应用程序将使用 mysql,它将有某种搜索引擎"来搜索将使用一些抓取脚本"填充到数据库中的数据(我也想使用框架进行编码).
My application will use mysql, and it will have some sort of "search engine" to search data that will be populated on the database using a few "scraper scripts" (that I also wants to code using the framework).
推荐答案
在 StackOverflow 上有很多回答这个问题的问题,我最近刚在你的位置上研究了许多不同的框架,因为我也想标准化我的代码.
There are many questions answering this question here on StackOverflow and I was recently just in your position researching many different frameworks as I want to standardize my code as well.
我最终选择了 Codeigniter,因为我想要一些具有良好文档的东西,而且它非常轻量级(更轻量 == 更容易理解 IMO),并且不太严格.在 Codeigniter 中,如果您真的愿意,您可以只编写常规的 PHP 代码,它可以让您做到这一点.我喜欢这个选项,因为如果我真的被什么东西卡住了,我只是用我知道的方式用原始 PHP 编码.我只使用了几周的 Codeigniter,但学习曲线并不难,这是我使用的第一个框架.
I ended up choosing Codeigniter because I wanted something with good documentation, and that was very light (lighter == easier to understand IMO), and something that was not too strict. In Codeigniter if you really want to you can just code regular PHP and it lets you do that. I like this option because if I really get stuck on something, I just code it in raw PHP the way I know I can. I've only been using Codeigniter for a few weeks but the learning curve isn't too difficult and this is my first framework I've used.
这篇关于易于使用/学习的 PHP 框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:易于使用/学习的 PHP 框架?
基础教程推荐
- Libpuzzle 索引数百万张图片? 2022-01-01
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 超薄框架REST服务两次获得输出 2022-01-01
- 如何在 PHP 中的请求之间持久化对象 2022-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01
- 在多维数组中查找最大值 2021-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01