Laravel 5 中的脚手架是什么意思?
What does scaffolding mean in Laravel 5?
我将通过阅读官方网站上的文档回来使用 Laravel 进行编程。现在我意识到有一个 5.0 版本并且我正在尝试它,但是我注意到了一个叫做“用户注册和身份验证脚手架”的东西,我根本不明白它。
也许是因为我的主要语言是西班牙语,在这种情况下这个词对我来说没有意义,但我真的很困惑。
在网站中,段落是这样说的:
Laravel ships with scaffolding for user registration and authentication. If you would like to remove this scaffolding, use the fresh Artisan command:
php artisan fresh
所以我想知道它到底是什么意思,代表什么。
术语 Scaffolding
大致旨在为应用程序或项目快速设置骨架。
脚手架的主要目的是加快您的工作流程,而不是创建新的工作流程。
这里是JeffreyWay/Laravel-4-Generators供您参考。
如果你不想,你应该使用你在问题中所说的php artisan fresh
。
从作曲家取回生成器
composer require laracasts/generators --dev
参考我的 own answer in another question, I believe that Wikipedia 提供了一个狭隘和受限的观点。脚手架 而不是 仅用于数据库之上的 CRUD 操作。脚手架具有更广泛的objective,可为您提供适用于任何种类 技术的框架应用程序。
Yeoman 是 脚手架 的现代实用工具。用他们自己的话说:
The web's scaffolding tool for modern webapps
What's Yeoman?
Yeoman helps you to kickstart new projects, prescribing best practices
and tools to help you stay productive.
To do so, we provide a generator ecosystem. A generator is basically a
plugin that can be run with the yo
command to scaffold complete
projects or useful parts.
Through our official Generators, we promote the "Yeoman workflow".
This workflow is a robust and opinionated client-side stack,
comprising tools and frameworks that can help developers quickly build
beautiful web applications. We take care of providing everything
needed to get started without any of the normal headaches associated
with a manual setup.
With a modular architecture that can scale out of the box, we leverage
the success and lessons learned from several open-source communities
to ensure the stack developers use is as intelligent as possible.
As firm believers in good documentation and well thought out build
processes, Yeoman includes support for linting, testing, minification
and much more, so developers can focus on solutions rather than
worrying about the little things.
就是这样。使用脚手架创建快速启动应用程序作为示例或解决方案的基础。它使您从头开始构建东西的效率更高。
我将通过阅读官方网站上的文档回来使用 Laravel 进行编程。现在我意识到有一个 5.0 版本并且我正在尝试它,但是我注意到了一个叫做“用户注册和身份验证脚手架”的东西,我根本不明白它。
也许是因为我的主要语言是西班牙语,在这种情况下这个词对我来说没有意义,但我真的很困惑。
在网站中,段落是这样说的:
Laravel ships with scaffolding for user registration and authentication. If you would like to remove this scaffolding, use the fresh Artisan command:
php artisan fresh
所以我想知道它到底是什么意思,代表什么。
术语 Scaffolding
大致旨在为应用程序或项目快速设置骨架。
脚手架的主要目的是加快您的工作流程,而不是创建新的工作流程。
这里是JeffreyWay/Laravel-4-Generators供您参考。
如果你不想,你应该使用你在问题中所说的php artisan fresh
。
从作曲家取回生成器
composer require laracasts/generators --dev
参考我的 own answer in another question, I believe that Wikipedia 提供了一个狭隘和受限的观点。脚手架 而不是 仅用于数据库之上的 CRUD 操作。脚手架具有更广泛的objective,可为您提供适用于任何种类 技术的框架应用程序。
Yeoman 是 脚手架 的现代实用工具。用他们自己的话说:
The web's scaffolding tool for modern webapps
What's Yeoman?
Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive.
To do so, we provide a generator ecosystem. A generator is basically a plugin that can be run with the
yo
command to scaffold complete projects or useful parts.Through our official Generators, we promote the "Yeoman workflow". This workflow is a robust and opinionated client-side stack, comprising tools and frameworks that can help developers quickly build beautiful web applications. We take care of providing everything needed to get started without any of the normal headaches associated with a manual setup.
With a modular architecture that can scale out of the box, we leverage the success and lessons learned from several open-source communities to ensure the stack developers use is as intelligent as possible.
As firm believers in good documentation and well thought out build processes, Yeoman includes support for linting, testing, minification and much more, so developers can focus on solutions rather than worrying about the little things.
就是这样。使用脚手架创建快速启动应用程序作为示例或解决方案的基础。它使您从头开始构建东西的效率更高。