我可以使用 PHP 中的瘦框架吗?

发布于 2024-10-25 06:18:15 字数 1536 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(9

遥远的她 2024-11-01 06:18:15

我想说 Codeigniter 与您所能得到的一样轻,它相当少约定,并且已被证明在开销方面是最轻的。

它很简单并且有据可查。

I would say Codeigniter is about as light as you are going to get, It's fairly convention-less and has proven to be the lightest in terms of overhead.

It is simple and well documented.

作业与我同在 2024-11-01 06:18:15

我选择投票给 CODEIGNITER ,因为易于使用和构建应用程序以及丰富的文档。

谢谢

My choice of vote is for CODEIGNITER , because easy to use and build applications and rich documentation.

Thanks

予囚 2024-11-01 06:18:15

MicroMVC 当然。

正如广告所言:

它提供模型、库、控制器、
功能和视图管理。加
其他功能,如 URI 路由、
挂钩/插件、文件上传、数据库
抽象、验证码创建以及
更多的!如果您是新来的
OOP 的模型/视图/控制器世界

全部低于 150kb!

MicroMVC for sure.

As advertised:

It offers Model, Library, Controller,
Function, and View management. Plus
other features like URI Routing,
hooks/plugins, file uploads, database
abstraction, captcha creation, and
more! If you are new the
Model/View/Controller world of OOP

All under 150kb!

|煩躁 2024-11-01 06:18:15

我也同意@jondavidjohn。我从 codeigniter 开始,对其简单且记录良好的语法印象深刻。如果你是第一次开始框架,对我来说CodeIgniter是最好的选择。尝试一下 http://codeigniter.com/user_guide/ ...

I too agree with @jondavidjohn. I started with codeigniter and really impressesed with its simple well documented syntax. If you are starting framework for the first time, As for me CodeIgniter is the best choice. Give it a try http://codeigniter.com/user_guide/ ...

╰ゝ天使的微笑 2024-11-01 06:18:15

我发现 Cakephp 框架对我来说非常上瘾......你可以看看

I find Cakephp Framework very addicted for me.................u could check it out

葬シ愛 2024-11-01 06:18:15

我认为您正在寻找 Kohana 3 - http://kohanaframework.org/

文档很糟糕,但它非常轻量级,有一个很好的社区(即使是在SO上),它比Symfony更简单,比CodeIgniter更强大(Kohana的第一个版本是基于CodeIgniter)

I think you're looking for Kohana 3 - http://kohanaframework.org/

The documentation sucks but it's very lightweight, there's a good community (even on SO), it's more simple than Symfony and more powerful than CodeIgniter (the first version of Kohana was based on CodeIgniter)

亢潮 2024-11-01 06:18:15

您可以查看PHP Frameworks网站,在这里您可以全面比较各种PHP框架,帮助您选择合适的php框架为您的项目。他们提供 PHP 框架比较十大框架, 论坛等。

You can check PHP Frameworks site, where you can fully compare all kinds of PHP frameworks and help you choose the right php framework for your project. They offer PHP Frameworks comparison, top 10 frameworks, reviews, forum, etc.

青萝楚歌 2024-11-01 06:18:15

谢谢你们的帮助。

我也喜欢CI。我还用谷歌搜索并找到了这个。它看起来很有希望,让我们看看它如何运作,如果它不起作用,将回到 CI。

Thanks for your help guys.

I love CI too. I also googled and found this one. It looks promising, let's see how it works out, will come back to CI if it doesn't work.

冷情 2024-11-01 06:18:15

就我个人而言,我发现 Kohana 2.3 很成功(恕我直言,后来的版本工作得不太好),因为它有一个非常简单的 MVC 结构,运行速度相当快,而且是 OO。它基于 CodeIgniter。

然而,我会选择一个框架并坚持使用它,更多地关注在充分理解 MVC 的情况下设计应用程序。 Head First Design Patterns (http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124) 帮助我理解了为什么 MVC 有用以及如何实现它。祝你好运!

Personally, I found success with Kohana 2.3 (the later versions don't work as well IMHO) as it has a very simple MVC structure, it runs fairly quickly, and it is OO. It was based off of CodeIgniter.

However, I would pick a framework and stick with it, paying more attention to designing your application with a good understanding of MVC. Head First Design Patterns (http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124) helped me understand why MVC was useful and how to implement it. Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文