在 PHP/MySQL 中开发多用户游戏引擎的最快/最简单的方法?

发布于 2024-08-15 08:46:32 字数 544 浏览 1 评论 0原文

我是一名高级设计师,但也开始了开发职业生涯:我是一名 PHP 中级用户。我(不幸的是)学习了程序开发,而不是 OOP。

我当前的项目是一个多用户游戏网络应用程序,我正在程序上开发只是为了我的老板坚持它必须是OOP,所以我需要开始学习OOP(我相信我是一个相对较快的学习者)。一位朋友建议我学习一个轻量级的 PHP 框架,然后继续前进,因为该项目必须在三周内启动(我现在大约还剩下两周)!

在查看了很多比较它们的文章后,基于效率和轻量级,我最终选择了 CodeIgniter、Kohana 和 Yii。我不太习惯像 Yii 那样的命令行指令,所以我不得不放弃它以节省时间:(。Kohana 看起来很有趣,但我对它使用的 PHP5 和 OOP 很陌生,而且它的功能非常少关于 Kohana 的帮助,我什至尝试购买书籍,但没有很多有用的材料,但它没有带有访问控制的官方身份验证模块,而且我测试过的三个开源模块与其他模块集成得不好。我正在使用的模块。

请任何人推荐另一个具有快速学习曲线的 OOP PHP 框架,或者提供一些指导来解决我在测试的这 3 个框架中遇到的问题,或者我应该在学习 OOP 后开发整个应用程序感谢您的宝贵时间。

I'm an advanced designer, but also starting out a career in development: I'm a PHP intermediate user. I (unfortunately) learnt procedural development, and not OOP.

My current project is a multi-user game web-app and I was developing procedurally only for my Boss to insist that it has to be OOP, so I needed to start learning OOP (I believe I am a relatively fast learner). A friend advised me to just learn a lightweight PHP framework and move on from there, since the project must be launched in less than three weeks (I have roughly 2 weeks left now)!

After viewing a lot of articles comparing them, I ended up with CodeIgniter, Kohana, and Yii based on the efficiency and the lightweight-edness. I am not quite used to command-line instructions like it's done in Yii, so I had to drop it off to save my time :(. Kohana looks very interesting, but I am new to the PHP5 and OOP it uses and there's VERY LITTLE help on Kohana, I even tried to buy books but there are none. CodeIgniter has a lot of helpful material, but it has no official Authentication module with Access Control, and the three open-source modules I have tested did not integrate well with other modules I am using.

Please can anyone recommend another OOP PHP framework with a quick learning curve, or provide some pointers to resolve the problems I had with those 3 frameworks tested, or should I just develop the entire application out of the box after studying OOP extensively? Thanks for your time.

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

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

发布评论

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

评论(1

煮茶煮酒煮时光 2024-08-22 08:46:32

有一些框架可以原生提供身份验证,但您无法在两周内学习这些框架并完成您的项目。

CodeIgniter 是我学习的第一个框架,它对我来说是完美的选择: 文档非常好:阅读文档使我能够完全理解 MVC 模式。如果我处于您的位置,我肯定会使用 codeigniter 并集成讨论的许多免费身份验证插件之一

完成项目后,您可以根据您的喜好继续开始学习 symfony 和 Zend Framework。

There are frameworks, that provide an authentication natively but there is no way, that you can learn those in two weeks AND finish your project.

CodeIgniter was the first framework I learned and it was the perfect choice for me: The documentation is really good: reading the documentation enabled me to fully understand the MVC pattern. If I was in your position I would definitely use codeigniter and integrate one of the many free authentication plugins discussed here.

After you finished your project, you can go on and start learning symfony and Zend Framework, depending on your preferences.

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