LoginSignup
0
0

Getting started with a Framework:フレームワーク事始め

Last updated at Posted at 2023-12-17

Getting started with a Framework

フレームワーク事始め
框架入门

Entry-Point

This is the first file execute by the framework.
フレームワークが最初に実行するファイルです。
这是框架的第一个文件実行。

Generally, Apache is controlled using ".htaccess".
一般的には、Apacheだと.htaccessで制御しています。
通常,Apache 使用 .htaccess 进行控制。

Initializes the Framework and handles the Routing and the Layout.
フレームワークを初期化したり、ルーティングやレイアウトの処理を行います。
初始化框架并处理路由和布局。

End-Point

A file that is executed by the framework's routing.
フレームワークが行うルーティングによって、実行されるファイルのことです。
由框架的路由执行的文件。

In general MVC, it is a controller.
一般的なMVCではコントローラーの事です。
在一般的MVC中,它是一个控制器。

Routing

Calculate the End-Point from URL.
URLからEnd-Pointを計算します。
根据 URL 计算终点。

Layout

Refers to the layout of the entire site.
サイト全体のレイアウトを指します。
指整个网站的布局。

But, Some frameworks do not implement layout functionality.
ただし、レイアウト機能を実装していないフレームワークもあります。
但是,某些框架不实现布局功能。

View

Generally speaking, it refers to the ability to display individual pages rather than the entire site.
一般的には、サイト全体ではなく、個別のページを表示する機能のことです。
一般来说,它是指显示单个页面而不是整个网站的能力。

Model

"Model" is a word that has different meanings in various contexts.
「モデル」は、文脈で異なる意味を持ちます。
“模型”这个词在不同的上下文中有不同的含义。

The original meaning of 'Model' is 'exemplar' or 'paragon.' It is used to denote something that represents, imitates, or serves as a standard for others.
「Model」の本来の字義は「手本」や「模範」です。これは他のものを示す、模倣する、または基準となるものとして使用されます。
“Model”的原义是“典范”。它用来表示代表、模仿或作为他人标准的事物。

"Model" originally means a template or prototype for a creating object.
ある作成物の雛形として使うものを「モデル」と呼びます。
“模型”最初是指创建对象的模板或原型。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0