Skip to content

เขียน url mapping parser #11

@chanwit

Description

@chanwit

ตัวทำ routing จะสามารถทำการ map ด้วยข้อความประมาณนี้ได้ (ตาม Grails)

"/", controller:"hello"

"/$controller/$action/$id?"

"/blog/$year/$month/$day"

แล้ว controller กับ action จะ map หา Controller struct และ Action method
ส่วนค่าอื่นจะเป็น Params

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions