面向初学者的Slim Framework [英] Slim Framework for beginners

查看:79
本文介绍了面向初学者的Slim Framework的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人如何学习如何使用此系统?

How does anybody learn how to use this system?

我似乎找不到任何教程或书籍或有关如何使用此程序的任何内容.是的,他们的网站简要解释了几件事,但没有任何澄清. Google让我失败了.

I can't seem to find any tutorials or books or anything on how to use this program. Yes their website briefly explains a few things but there is no clarification or anything. Google has failed me.

有人可以帮我吗?我需要使用它,但对我来说似乎完全陌生.

Can anyone help me with this? I need to use this but it looks completely foreign to me.

推荐答案

更新: 3年后,是时候对该答案添加一些更新了.在这段时间里,苗条的框架(甚至PHP)发生了很多变化.

UPDATE: After 3 years, It is time to add some updates to this answer. A lot has changed in slim framework (and even PHP) during this time.

Slim版本3已发布,并对其进行了一些重大更改.在我的测试中,它比苗条2稍慢一些,但有点复杂,但是从体系结构角度来看,它更好,更安全,适用于大型项目和小型网站.
另外,PHP以 PSR 的形式采用了非常好的标准化,我认为每个人都应该开始采用.面向对象的实现在3年中得到了很大的改进,并且随着PHP 7的发布,我不再错过Java的日子了.

Slim version 3 has been released and brought some major changes to it. In my tests, It is slightly slower and tad more complicated than slim 2, But architecture wise, it is much better, secure, suited for both large projects and small website alike.
Also, PHP has adopted really good standardization in form of PSR which I think everyone should start to adopt. Object-oriented implementation is improved a lot in 3 years and with the release of PHP 7, I don't miss my Java days anymore.

一些入门指南.

  • Slim framework now has excellent docs, If someone is still using Slim2 it also has a decent docs.
  • A must watch Slim 3 Primer to get started. http://phpsw.uk/talks/a-slim-3-primer
  • Slim Blog is really good thing to read.
  • https://github.com/xssc/awesome-slim is a good place to bookmark.

Treehouse和其他一些人已经在评论中提到了有关Slim 2的一些教程,值得一看. Slim 3还没有初学者的教程视频,但是框架本身很容易理解.对于简单的网站,我仍然会向那些不是真正的程序员的人推荐Slim 2.但是,如果有人尝试构建大型专业应用程序/产品,请使用Slim3.

Treehouse and few others have made some tutorials on Slim 2 as mentioned in comments, they are worth looking. Slim 3 is yet to have a beginner's tutorial videos but framework in itself is simple to understand. For simple websites, I would still recommend Slim 2 for those not really an experienced programmer. But if someone is trying to build a big professional application/product, Use Slim 3.

旧答案

我同意苗条在文档和指南方面缺乏某些关注.仍然没有很好的教程,但是,如果您有很好的接机技巧,请让我指出我在网上发现的唯一有价值的东西.

I will agree that slim lacks certain attentions in terms of documentation and guides. There is still no great tutorial for it, but if you have good pickup skills, Let me point you to the only worthwhile thing I found on net.

这是关于苗条框架的演示.不是完整的教程,但确实说明了使用框架的某些基础知识.初次使用该框架时,它对我有所帮助.

This is Presentation on the slim framework. Not a complete tutorials but it does explain certain basics to use the framework. It has helped me when I first picked up the framework. It is a Presentation By Jeremy Kendall.

可以在幻灯片共享中找到幻灯片.

视频长43分钟,但值得.

The video is 43 min long but it is worth.

这篇关于面向初学者的Slim Framework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆